HD6417021 Hitachi Semiconductor, HD6417021 Datasheet - Page 347

no-image

HD6417021

Manufacturer Part Number
HD6417021
Description
SuperH RISC engine
Manufacturer
Hitachi Semiconductor
Datasheet
12.2.4
The watchdog timer’s TCNT, TCSR, and RSTCSR registers differ from other registers in that they
are more difficult to write. The procedures for writing and reading these registers are given below.
Writing to the TCNT and TCSR: These registers must be written by a word transfer instruction.
They cannot be written by byte transfer instructions. The TCNT and TCSR both have the same
write address. The write data must be contained in the lower byte of the written word. The upper
byte must be H'5A (for the TCNT) or H'A5 (for the TCSR) (figure 12.2). This transfers the write
data from the lower byte to the TCNT or TCSR.
Writing to the TCNT
Address:
Writing to the TCSR
Address:
Register Access
Figure 12.2 Writing to the TCNT and TCSR
H'5FFFFB8
H'5FFFFB8
15
H'5A
15
H'A5
8
8
7
Write data
7
Write data
0
0
HITACHI 333

Related parts for HD6417021