Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN3371 Datasheet(PDF) 33 Page - STMicroelectronics

Part # AN3371
Description  Using the hardware real-time clock
PDF  45 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3371 Datasheet(HTML) 33 Page - STMicroelectronics

Back Button AN3371 Datasheet HTML 29Page - STMicroelectronics AN3371 Datasheet HTML 30Page - STMicroelectronics AN3371 Datasheet HTML 31Page - STMicroelectronics AN3371 Datasheet HTML 32Page - STMicroelectronics AN3371 Datasheet HTML 33Page - STMicroelectronics AN3371 Datasheet HTML 34Page - STMicroelectronics AN3371 Datasheet HTML 35Page - STMicroelectronics AN3371 Datasheet HTML 36Page - STMicroelectronics AN3371 Datasheet HTML 37Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 33 / 45 page
background image
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.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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