Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

AN3371 Scheda tecnica(PDF) 21 Page - STMicroelectronics

Il numero della parte AN3371
Spiegazioni elettronici  Using the hardware real-time clock
PDF  45 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  STMICROELECTRONICS [STMicroelectronics]
Homepage  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3371 Scheda tecnica(HTML) 21 Page - STMicroelectronics

Back Button AN3371 Datasheet HTML 17Page - STMicroelectronics AN3371 Datasheet HTML 18Page - STMicroelectronics AN3371 Datasheet HTML 19Page - STMicroelectronics AN3371 Datasheet HTML 20Page - STMicroelectronics AN3371 Datasheet HTML 21Page - STMicroelectronics AN3371 Datasheet HTML 22Page - STMicroelectronics AN3371 Datasheet HTML 23Page - STMicroelectronics AN3371 Datasheet HTML 24Page - STMicroelectronics AN3371 Datasheet HTML 25Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 45 page
background image
AN3371
Overview of the STM32 advanced RTC
Doc ID 018624 Rev 5
21/45
1.7
Time-stamp function
The Time-stamp feature provides the means to automatically save the current calendar.
Figure 14. Time-stamp event procedure
Provided that the time-stamp function is enabled, the calendar is saved in the time-stamp
registers (RTC_TSTR, RTC_TSDR, RTC_TSSSR) when a time-stamp event is detected on
the pin that the TIMESTAMP alternate function is mapped to. When a time-stamp event
occurs, the time-stamp flag bit (TSF) in RTC_ISR register is set.
Note:
The time-stamp sub-second register is not available for all products. Please refer to
Table 15: Advanced RTC features.
AM
PM
hh
mm
s
TIME
(RTC_TR)
MS19532V1
Date
Week
date
Month
Year
DATE
(RTC_DR)
ss
Sub-second
(RTC_SSR)
12h or 24h
format
Calendar Unit
AM
PM
hh
mm
s
TIME
(RTC_TSTR)
Date
Week
date
Month
Year
DATE
(RTC_TSDR)
ss
Sub-second
(RTC_TSSSR)
Copy:
RTC_TSTR = RTC_TR
RTC_TSDR = RTC_DR
RTC_TSSSR = RTC_SSR
On Time- Stamp
event
Table 11.
Time-stamp features
What to do
How to do it
Comments
Enable Time-stamp
Setting the TSE bit of
RTC_CR register to 1
Map TIMESTAMP pin
alternate function
Selecting with TSINSEL bit
in RTC_TCR register
Only for F2 series devices.
The TIMESTAMP pin can be either PI8
or PC13.
Detect a time-stamp event by
interrupt
Setting the TSIE bit in the
RTC_CR register
An interrupt is generated when a time-
stamp event occurs.
Detect a time-stamp event by
polling
By polling on the time-
stamp flag (TSF(1)) in the
RTC_ISR register
To clear the flag, write zero on the TSF
bit.(2)



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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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