| 数据搜索系统,热门电子元器件搜索 |
|
AN3133 数据表(PDF) 30 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3133 数据表(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 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |