Electronic Components Datasheet Search
  English  ▼

X  

AN3133 Datasheet(PDF) 30 Page - STMicroelectronics

Part # AN3133
Description  A real-time clock is a computer clock that keeps track of the current time
PDF  43 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3133 Datasheet(HTML) 30 Page - STMicroelectronics

Back Button AN3133 Datasheet HTML 26Page - STMicroelectronics AN3133 Datasheet HTML 27Page - STMicroelectronics AN3133 Datasheet HTML 28Page - STMicroelectronics AN3133 Datasheet HTML 29Page - STMicroelectronics AN3133 Datasheet HTML 30Page - STMicroelectronics AN3133 Datasheet HTML 31Page - STMicroelectronics AN3133 Datasheet HTML 32Page - STMicroelectronics AN3133 Datasheet HTML 33Page - STMicroelectronics AN3133 Datasheet HTML 34Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 43 page
background image
Application examples
AN3133
30/43
Doc ID 16956 Rev 5
Figure 14.
Calendar example: main program flowchart
1.
These steps are added to have a secure display on the LCD (which uses SPI connections).
Figure 15.
Calendar example: RTC alarm ISR flowchart
Disable interrupts(1)
Enable Interrupts(1)
Enab le RTC clock ( = L SE)
Init the Calendar and the
alarm and enable the Alarm
interrupt
Display Time and Date on
the LCD
START Main Program
Init the LCD and clear it
Config IOs for Leds, Key and
Joystick Buttons and
Enable 3 EXTI Interrupts
(Key, Left_Joy, Right_Joy)
Alarm _Occurred
False
Display Time, Alarm message
on the LCD and Toggle Leds
True
Alarm Occu rr ed = F alse
ai17270
Clear Alarm interrupt pending bit
Return to the Main program
RTC Interrupt Routine
Alarm Occurred = True
ai17271



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


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