| Moteur de recherche de fiches techniques de composants électroniques |
|
AN3133 Fiches technique(PDF) 30 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3133 Fiches technique(HTML) 30 Page - STMicroelectronics |
|
30 / 43 page ![]() 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 |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants All Rights Reserved©Alldatasheet.com |
| 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 |