Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3133 Datasheet(PDF) 26 Page - STMicroelectronics

Part # AN3133
Description  A real-time clock is a computer clock that keeps track of the current time
PDF  43 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3133 Datasheet(HTML) 26 Page - STMicroelectronics

Back Button AN3133 Datasheet HTML 22Page - STMicroelectronics AN3133 Datasheet HTML 23Page - STMicroelectronics AN3133 Datasheet HTML 24Page - STMicroelectronics AN3133 Datasheet HTML 25Page - STMicroelectronics AN3133 Datasheet HTML 26Page - STMicroelectronics AN3133 Datasheet HTML 27Page - STMicroelectronics AN3133 Datasheet HTML 28Page - STMicroelectronics AN3133 Datasheet HTML 29Page - STMicroelectronics AN3133 Datasheet HTML 30Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 26 / 43 page
background image
RTC firmware API
AN3133
26/43
Doc ID 16956 Rev 5
5
RTC firmware API
5.1
Function groups
The STM8L/STM8AL RTC driver can be divided into 11 function groups related to the
functions embedded in the RTC peripheral.
1.
RTC initialization and configuration
2.
RTC time and date
3.
RTC alarm
4.
RTC wakeup
5.
RTC daylight saving
6.
RTC output pin configuration
7.
RTC calibration output pin
8.
RTC flags and interrupts
9.
RTC tamper detection configuration
10. RTC synchronization shift control
11. RTC smooth calibration
Table 17.
RTC function groups
Group
ID
Function name
Description
High
density
Medium
density
1
RTC_DeInit
Deinitializes the RTC registers to their default reset
values.
Yes
Yes
RTC_Init
Initializes the RTC registers according to the specified
parameters in RTC_InitStruct <Hour format,
Asynchronous predivisor, Asynchronous predivisor>.
Yes
Yes
RTC_StructInit
Fills each RTC_InitStruct member with its default value.
Yes
Yes
RTC_EnterInitMode
Enters the RTC Initialization mode.
Yes
Yes
RTC_ExitInitMode
Exits the RTC Initialization mode.
Yes
Yes
RTC_WriteProtectionCmd
Enables or disables the RTC registers write protection.
Yes
Yes
RTC_WaitForSynchro
Waits until the RTC Time and Date registers (RTC_TRx
and RTC_DRx) are synchronized.
Yes
Yes
RTC_RatioCmd
Configures the RTC ratio.
Yes
Yes
RTC_TimeStructInit
Fills each RTC_TimeStruct member with its default
value (Time = 00h:00min:00sec).
Yes
Yes
RTC_DateStructInit
Fills each RTC_DateStruct member with its default value
(Monday 01 January xx00).
Yes
Yes
RTC_AlarmStructInit
Fills each RTC_AlarmStruct member with its default
value (Time = 00h:00mn:00sec / Date = 1st day of the
month/Mask = all fields are masked).
Yes
Yes
RTC_BypassShadowCmd
Enables or disables the Bypass Shadow feature.
Yes



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


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