| Electronic Components Datasheet Search |
|
UPD17P136ACT Datasheet(PDF) 146 Page - NEC |
|
|
|||||||||||||||||||||||||||||
UPD17P136ACT Datasheet(HTML) 146 Page - NEC |
|
146 / 292 page ![]() CHAPTER 13 PERIPHERAL HARDWARE 127 (3) Program example of watchdog timer Program Example Notes 1. Interrupt processing by BTM cannot be performed in the method to reset counter before BTM overflows. 2. Although the method of resetting the watchdog timer by using the BTM interrupt processing is easier to program than the other two methods, its program hang-up detection rate is lower than that of the other two. Start Initialize Main Processing ORG BR ORG BR INITJOB: INITFLG SET1 SET2 SET1 CLR1 EI MAIN: CALL CALL END JOB1: CLR1 IPBTM SET1 BTMRES SET1 BTMRES SET1 BTMRES SET IPBTM RET JOB2: CLR2 IPBTM SET1 WDTRES SET IPBTM RET SET1 WDTRES INTBTMJOB: SET1 WDTRES EI RETI Reset BTM before its count value reaches to 128Note 1. Reset watchdog timer before its count value reaches to 184. Reset watchdog timer by using interrupt processing of BTMNote 2. ; BTM interrupt enable 0H INITJOB 2H INTBTMJOB NOT BTMISEL, BTMRES, NOT BTMCK1, BTMCK0 BTMRES WDTRES, WDTEN; Watchdog timer start IPBTM IRQBTM JOB1 JOB2 |
|
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 |
| 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 |