English
Language : 

HD64F38602R Datasheet, PDF (243/552 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer
Section 12 Watchdog Timer
Table 12.1 Assembly Program for Clearing WT/IT or IEOVF Bit to 0
Address1 Address2 Assembly Program
H'00A0 H'0232
MOV.B #H'xx,Rn
H'00A2 H'0234
MOV.B Rn,@TCSRWD2:8 ; Clear success in case of Address1
and failure in case of Address2
H'00A4 H'0236
MOV.B @TCSRWD2:8,Rm ; TCSRWD2 read
H'00A6 H'0238
AND.B #H'xx,Rm
; Judgment of clear
H'00A8 H'023A
BEQ LABEL:16
; Jumps to LABEL if it is a clear
success
H'00AC H'023E
MOV.B Rn,@TCSRWD2:8 ; Clear success in case of Address2
H'00AE H'0240 LABEL NOP
Table 12.2 The Value of "xx"
Bit(s) Cleared to 0
Both WT/IT and IEOVF
Only WT/IT
Only IEOVF
The Value of "xx" in Line 1
07
17
47
The Value of "xx" in Line 4
28
20
08
Rev. 3.00 May 15, 2007 Page 211 of 518
REJ09B0152-0300