Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button AN3371 Datasheet HTML 24Page - STMicroelectronics AN3371 Datasheet HTML 25Page - STMicroelectronics AN3371 Datasheet HTML 26Page - STMicroelectronics AN3371 Datasheet HTML 27Page - STMicroelectronics AN3371 Datasheet HTML 28Page - STMicroelectronics AN3371 Datasheet HTML 29Page - STMicroelectronics AN3371 Datasheet HTML 30Page - STMicroelectronics AN3371 Datasheet HTML 31Page - STMicroelectronics AN3371 Datasheet HTML 32Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 45 page
background image
Overview of the STM32 advanced RTC
AN3371
28/45
Doc ID 018624 Rev 5
1.11.2
RTC_ALARM output
The RTC_ALARM output can be connected to the RTC alarm unit A or B to trigger an
external action, or routed to the RTC wakeup unit to wake up an external device.
RTC_ALARM output connected to an RTC alarm unit
When the calendar reaches the alarm A pre-programmed value in the RTC_ALRMAR
register (TC_ALRMBR register for alarm B), the alarm flag ALRAF bit (ALRBF bit), in
RTC_ISR register, is set to ‘1’. If the alarm A or alarm B flag is routed to the RTC_ALARM
output (RTC_CR_OSEL[1:0] =”01” for alarm A, and RTC_CR_OSEL[1:0] =”10” for alarm B),
this pin is set to VDD or to GND, depending on the polarity selected. The output toggles
when the selected alarm flag is cleared.
Figure 19. Alarm flag routed to RTC_ALARM output
RTC_ALARM output connected to the wakeup unit
When the wakeup downcounting timer reaches 0, the wakeup flag is set to ‘1’. If this flag is
selected as the source for the RTC_ALARM output (OSEL[1:0] bits set to ‘11’ in RTC_CR
register), the output will be set depending on the polarity selected and will remain set as
long as the flag is not cleared.
MS19535V1
Alarm B
ss, mm, HH/date
Alarm A
ss, mm, HH/date
hh:mm:ss
(12/24 format)
Day/date/
month/year
Calendar
=
=
Alarm A
flag
Alarm B
flag
RTC_ALARM
output
OSEL[1:0]



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