| 전자부품 데이터시트 검색엔진 |
|
UPD17P136ACT 데이터시트(PDF) 146 Page - NEC |
|
|
|||||||||||||||||||||||||||||
UPD17P136ACT 데이터시트(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 |
|
링크 URL |
| 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 |