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

X  

AN3371 Datasheet(PDF) 12 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) 12 Page - STMicroelectronics

Back Button AN3371 Datasheet HTML 8Page - STMicroelectronics AN3371 Datasheet HTML 9Page - STMicroelectronics AN3371 Datasheet HTML 10Page - STMicroelectronics AN3371 Datasheet HTML 11Page - STMicroelectronics AN3371 Datasheet HTML 12Page - STMicroelectronics AN3371 Datasheet HTML 13Page - STMicroelectronics AN3371 Datasheet HTML 14Page - STMicroelectronics AN3371 Datasheet HTML 15Page - STMicroelectronics AN3371 Datasheet HTML 16Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 45 page
background image
Overview of the STM32 advanced RTC
AN3371
12/45
Doc ID 018624 Rev 5
Caution:
If the seconds field is selected (MSK0 bit reset in RTC_ALRMAR or RTC_ALRMBR), the
synchronous prescaler division factor PREDIV_S set in the RTC_PRER register must be at
least 3 to ensure a correct behavior.
1.2.2
Alarm sub-second configuration
The STM32 RTC unit provides programmable alarms, sub-second A and B, which are
similar. They generate alarms with a high resolution (for the second division).
The value programmed in the Alarm sub-second register is compared to the content of the
sub-second field in the calendar unit.
The sub-second field counter counts down from the value configured in the synchronous
prescaler to zero, and then reloads a value in the RTC_SPRE register.
Figure 7.
Alarm sub-second field
Note:
Mask ss is the most significant bit in the sub-second alarm. These are compared to the
synchronous prescaler register.
01
10
Hours and minutes do not matter in alarm comparison
01
11
Hours, minutes and seconds do not matter in alarm comparison
The alarm is set every second, each Monday, during the whole day.
10
00
Week day (or date, if selected) do not matter in alarm comparison
Alarm occurs all days at
23:15:07.
10
01
Week day and seconds do not matter in alarm comparison
10
10
Week day and minutes do not matter in alarm comparison
10
11
Week day, minutes and seconds do not matter in alarm comparison
11
00
Week day and hours do not matter in alarm comparison
11
01
Week day, hours and seconds do not matter in alarm comparison
11
10
Week day, hours and minutes do not matter in alarm comparison
11
11
Alarm occurs every second
Table 5.
Alarm combinations (continued)
MSK3 MSK2 MSK1 MSK0
Alarm behavior
MS30110V1
Alarm sub-second
AM
PM
hh
mm
s
12h or 24h
format
Alarm flag
Time
ss
ss
Mask ss
=



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