Electronic Components Datasheet Search
  English  ▼

X  

AN2629 Datasheet(PDF) 19 Page - STMicroelectronics

Part # AN2629
Description  low-power modes
PDF  43 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2629 Datasheet(HTML) 19 Page - STMicroelectronics

Back Button AN2629 Datasheet HTML 15Page - STMicroelectronics AN2629 Datasheet HTML 16Page - STMicroelectronics AN2629 Datasheet HTML 17Page - STMicroelectronics AN2629 Datasheet HTML 18Page - STMicroelectronics AN2629 Datasheet HTML 19Page - STMicroelectronics AN2629 Datasheet HTML 20Page - STMicroelectronics AN2629 Datasheet HTML 21Page - STMicroelectronics AN2629 Datasheet HTML 22Page - STMicroelectronics AN2629 Datasheet HTML 23Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 19 / 43 page
background image
AN2629
Real-time clock (RTC)
Doc ID 13922 Rev 2
19/43
3.3.5
RTC flag assertion
The RTC Second flag (SECF) is asserted on each RTC Core clock cycle before the update
of the RTC Counter.
The RTC Overflow flag (OWF) is asserted on the last RTC Core clock cycle before the
counter reaches 0x0000.
The RTC_Alarm and RTC Alarm flag (ALRF) (see Figure 4) are asserted on the last RTC
Core clock cycle before the counter reaches the RTC Alarm value stored in the Alarm
register increased by one (RTC_ALR + 1). The write operation in the RTC Alarm and RTC
Second flag must be synchronized by using one of the following sequences:
●
Use the RTC Alarm interrupt and inside the RTC interrupt routine, the RTC Alarm
and/or RTC Counter registers are updated.
●
Wait for SECF bit to be set in the RTC Control register. Update the RTC Alarm and/or
the RTC Counter register.
Figure 4.
RTC second and alarm waveform example with PR=0003, ALARM=00004
Figure 5.
RTC Overflow waveform example with PR=0003
RTC_CNT
0000
0001
RTC_PR
0002
0001
0000
0003
0002
0001
0000
0003
0002
RTC_ALARM
0002
0001
0000
0003
0003
0002
0001
0000
0003
0004
0002
0001
0000
0003
ALRF
can be cleared by software
RTC_Second
RTCCLK
0005
0002
0001
0000
0003
(not powered
in Standby)
1 RTCCLK
RTC_CNT
FFFFFFFB
FFFFFFFC
RTC_PR
0002
0001
0000
0003
0002
0001
0000
0003
FFFFFFFD
RTC_Overflow
0002
0001
0000
0003
FFFFFFFE
0002
0001
0000
0003
FFFFFFFF
0002
0001
0000
0003
OWF
can be cleared by software
RTC_Second
RTCCLK
0000
0002
0001
0000
0003
(not powered
in Standby)
1 RTCCLK



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