Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UPD17P136ACT Datasheet(PDF) 146 Page - NEC

Part # UPD17P136ACT
Description  4-BIT SINGLE-CHIP MICROCONTROLLER
PDF  292 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

UPD17P136ACT Datasheet(HTML) 146 Page - NEC

Back Button UPD17P136ACT Datasheet HTML 142Page - NEC UPD17P136ACT Datasheet HTML 143Page - NEC UPD17P136ACT Datasheet HTML 144Page - NEC UPD17P136ACT Datasheet HTML 145Page - NEC UPD17P136ACT Datasheet HTML 146Page - NEC UPD17P136ACT Datasheet HTML 147Page - NEC UPD17P136ACT Datasheet HTML 148Page - NEC UPD17P136ACT Datasheet HTML 149Page - NEC UPD17P136ACT Datasheet HTML 150Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 146 / 292 page
background image
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



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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