Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button AN3371 Datasheet HTML 31Page - STMicroelectronics AN3371 Datasheet HTML 32Page - STMicroelectronics AN3371 Datasheet HTML 33Page - STMicroelectronics AN3371 Datasheet HTML 34Page - STMicroelectronics AN3371 Datasheet HTML 35Page - STMicroelectronics AN3371 Datasheet HTML 36Page - STMicroelectronics AN3371 Datasheet HTML 37Page - STMicroelectronics AN3371 Datasheet HTML 38Page - STMicroelectronics AN3371 Datasheet HTML 39Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 35 / 45 page
background image
AN3371
RTC firmware driver API
Doc ID 018624 Rev 5
35/45
3.1.4
Outputs configuration
The RTC has two different outputs:
AFO_ALARM, used to manage the RTC alarm A, alarm B and WaKeUp signals. To
output the selected RTC signal on RTC_AF1 pin, use the
RTC_OutputConfig()
function.
AFO_CALIB, used to manage the RTC Clock divided by a 64 (512 Hz) signal and the
calendar clock (1 Hz). To output the RTC Clock on the RTC_AF1 pin, use the
RTC_CalibOutputCmd() function.
3.1.5
Digital calibration configuration
To configure the RTC Coarse calibration value and the corresponding sign, use the
RTC_CoarseCalibConfig() function.
To enable the RTC Coarse calibration, use the
RTC_CoarseCalibCmd() function.
To configure the RTC smooth calibration value and the calibration period, use the
RTC_SmoothCalibConfig() function.
3.1.6
TimeStamp configuration
To configure the RTC_AF1 trigger and enable the RTC TimeStamp, use the
RTC_TimeStampCmd() function.
To read the RTC TimeStamp Time and Date register, use the
RTC_GetTimeStamp()
function.
To read the RTC TimeStamp sub-second register, use the
RTC_GetTimeStampSubSecond() function.
The TAMPER1 alternate function can be mapped either to RTC_AF1(PC13) or RTC_AF2
(PI8) depending on the value of TAMP1INSEL bit in RTC_TAFCR register. You can use the
RTC_TimeStampPinSelection() function to select the corresponding pin.
3.1.7
Tamper configuration
To configure the RTC Tamper trigger, use the
RTC_TamperConfig() function.
To configure the RTC Tamper filter, use the
RTC_TamperFilterConfig() function.
To configure the RTC Tamper sampling frequency, use the
RTC_TamperSamplingFreqConfig() function.
To configure the RTC Tamper pins input precharge duration, use the
RTC_TamperPinsPrechargeDuration() function.
To enable the precharge of the Tamper pin, use the
RTC_TamperPullUpCmd() function.
To enable the TimeStamp on Tamper detection event, use the
RTC_TimeStampOnTamperDetectionCmd() function.
To enable the RTC Tamper, use the
RTC_TamperCmd() function.
The TIMESTAMP alternate function can be mapped to either RTC_AF1 or RTC_AF2
depending on the value of the TSINSEL bit in the RTC_TAFCR register. You can use the
RTC_TamperPinSelection() function to select the corresponding pin.



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