Os motores de busca de Datasheet de Componentes eletrônicos
  Portuguese  ▼
ALLDATASHEETPT.COM

X  

AN3371 Folha de dados(PDF) 10 Page - STMicroelectronics

Nome de Peças AN3371
Descrição Electrónicos  Using the hardware real-time clock
PDF  45 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrônico  STMICROELECTRONICS [STMicroelectronics]
Página de início  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3371 Folha de dados(HTML) 10 Page - STMicroelectronics

Back Button AN3371 Datasheet HTML 6Page - STMicroelectronics AN3371 Datasheet HTML 7Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 10 / 45 page
background image
Overview of the STM32 advanced RTC
AN3371
10/45
Doc ID 018624 Rev 5
1.2
RTC alarms
1.2.1
RTC alarm configuration
STM32 RTC embeds two alarms, alarm A and alarm B, which are similar. An alarm can be
generated at a given time or/and date programmed by the user.
The STM32 RTC provides a rich combination of alarms settings, and offers many features to
make it easy to configure and display these alarms settings.
Each alarm unit provides the following features:
●
Fully programmable alarm: sub-second (this is discussed later), seconds, minutes,
hours and date fields can be independently selected or masked to provide a rich
combination of alarms.
●
Ability to exit the device from low power modes when the alarm occurs.
●
The alarm event can be routed to a specific output pin with configurable polarity.
●
Dedicated alarm flags and interrupt.
Figure 6.
Alarm A fields
1.
RTC_ALRMAR is an RTC register. The same fields are also available for the RTC_ALRMBR register.
2.
RT_ARMASSR is an RTC register. The same field is also available for the RTC_ALRMBR register.
3.
Maskx are bits in the RTC_ALRMAR register that enable/disable the RTC_ALARM fields used for alarm A
and calendar comparison. For more details, refer to Table 5.
4.
Mask ss are bits in the RTC_ALRMASSR register.
An alarm consists of a register with the same length as the RTC time counter. When the
RTC time counter reaches the value programmed in the alarm register, a flag is set to
indicate that an alarm event occurred.
The STM32 RTC alarm can be configured by hardware to generate different types of
alarms. For more details, refer to Table 5.
Programming the alarm
Table 4 describes the steps required to configure alarm A.
MS19528V1
Day of week
Alarm date
AM
PM
hh
mm
s
12h or 24h
format
RTC_ALRMAR
Alarm time
Date
Mask2
Mask3
Mask1
ss
Mask0
Mask ss
RTC_ALRMASSR



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


Folha de dados Download

Go To PDF Page


Ligação URL



ALLDATASHEET é útil para você?  [ DONATE ] 

Sobre Alldatasheet   |   Publicidade   |   Contato conosco   |   Privacy Policy   |   Link para a ficha técnica    |   roca de Link   |   Lista de Fabricantes
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