| 数据搜索系统,热门电子元器件搜索 |
|
AN2288 数据表(PDF) 23 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2288 数据表(HTML) 23 Page - STMicroelectronics |
|
23 / 29 page ![]() AN2288 Software routines 23/29 5.5 AVD interrupt routine This routine is used to store accumulated kWh and tampering information to EEPROM during power down. Figure 20. AVD Interrupt power down routine 5.6 External interrupt routine If the user wants to enter PC calibration mode, he should press the switch within ~30Sec of start of the application. Application will enter into external interrupt routine by pressing the external switch. Now external interrupt routine will wait for interrupt coming from PC GUI. Figure 21. External interrupt routine 5.7 ART timer input capture interrupt routine In this application, SCI is simulated using the 12-bit ART TImer. Different commands are received by software SCI, and a response is sent back to the PC GUI using the ART timer overflow interrupt. end AVD_Interrupt_Power_Down Disable AVD interrupt Write 4-bytes of kWh and one byte of tampering infor- mation to EEPROM end External Interrupt Disable AVD interrupt Wait for input capture inter- rupt which is coming from PC GUI |
|
|
链接网址 |
| 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 |