| 전자부품 데이터시트 검색엔진 |
|
AN3371 데이터시트(PDF) 33 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3371 데이터시트(HTML) 33 Page - STMicroelectronics |
|
33 / 45 page ![]() AN3371 RTC firmware driver API Doc ID 018624 Rev 5 33/45 3 RTC firmware driver API This driver provides a set of firmware functions to manage the following functionalities of the RTC peripheral: ● Initialization ● Calendar (Time and Date) configuration ● Alarm (alarm A and alarm B) configuration ● Wakeup timer configuration ● Daylight saving configuration ● Output pin configuration ● Digital calibration configuration ● Synchronization configuration ● Time-stamp configuration ● Tamper configuration ● Backup data register configuration ● RTC Tamper and Time-stamp pin selection and Output type configuration ● Interrupts and flag management For the STM32F2xx family, the RTC driver stm32f2xx_rtc.c/.h can be found in the directory: STM32F2xx_StdPeriph_Lib_vX.Y.Z\Libraries\STM32F2xx_StdPeriph_Driver. For the STM32L1xx family, the RTC driver stm32l1xx_rtc.c/.h can be found in the directory: STM32L1xx_StdPeriph_Lib_vX.Y.Z\Libraries\STM32L1xx_StdPeriph_Driver. For the STM32F4xx family, the RTC driver stm32f4xx_rtc.c/.h can be found in the directory: STM32F4xx_StdPeriph_Lib_vX.Y.Z\Libraries\STM32F4xx_StdPeriph_Driver. For the STM32F0xx family, the RTC driver stm32f0xx_rtc.c/.h can be found in the directory: STM32F0xx_StdPeriph_Lib_vX.Y.Z\Libraries\STM32F0xx_StdPeriph_Driver. For the STM32F3xx family, the RTC driver stm32f3xx_rtc.c/.h can be found in the directory: STM32F3xx_StdPeriph_Lib_vX.Y.Z\Libraries\STM32F3xx_StdPeriph_Driver. These five drivers provide a fully compatible API making it easy to move from one product to another. 3.1 Start with the RTC driver Before using the RTC features: ● Enable the RTC domain access (see following note) ● Configure the RTC prescaler (Asynchronous and Synchronous) and RTC hour format using the RTC_Init() function. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |