English
Language : 

HD64F3028F25 Datasheet, PDF (476/925 Pages) Renesas Technology Corp – Hardware Manual Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series
Writing to RSTCSR: RSTCSR must be written by a word transfer instruction. It cannot be
written by byte transfer instructions. Figure 12.3 shows the format of data written to RSTCSR. To
write 0 in the WRST bit, the write data must have H'A5 in the upper byte and H'00 in the lower
byte. The data (H'00) in the lower byte is written to RSTCSR, clearing the WRST bit to 0. To
write to the RSTOE bit, the upper byte must contain H'5A and the lower byte must contain the
write data. Writing this word transfers a write data value into the RSTOE bit.
Writing 0 in WRST bit
15
87
0
Address H'FFF8E*
H'A5
H'00
Writing to RSTOE bit
15
Address H'FFF8E*
H'5A
87
0
Write data
Note: * Lower 20 bits of the address in advanced mode.
Figure 12.3 Format of Data Written to RSTCSR
Reading TCNT, TCSR, and RSTCSR: These registers are read like other registers. Reading
TCNT, TCSR, and RSTCSR: These registers are read like other registers. Byte transfer
instructions can be used. The read addresses are H'FFF8C for TCSR, H'FFF8D for TCNT, and
H'FFF8F for RSTCSR, as listed in table 12.3.
Table 12.3 Read Addresses of TCNT, TCSR, and RSTCSR
Address*
Register
H'FFF8C
TCSR
H'FFF8D
TCNT
H'FFF8F
RSTCSR
Note: * Lower 20 bits of the address in advanced mode.
Rev. 2.00, 09/03, page 444 of 890