HD6413003RVF RENESAS [Renesas Technology Corp], HD6413003RVF Datasheet - Page 433

no-image

HD6413003RVF

Manufacturer Part Number
HD6413003RVF
Description
microcontroller (MCU)
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
12.2.4 Notes on Register Access
The watchdog timer’s TCNT, TCSR, and RSTCSR registers differ from other registers in being
more difficult to write. The procedures for writing and reading these registers are given below.
Writing to TCNT and TCSR: These registers must be written by a word transfer instruction.
They cannot be written by byte instructions. Figure 12-2 shows the format of data written to
TCNT and TCSR. 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 contain H'5A (password for
TCNT) or H'A5 (password for TCSR). This transfers the write data from the lower byte to TCNT
or TCSR.
TCNT write
TCSR write
Note:
Address
Address
*
Lower 16 bits of the address.
Figure 12-2 Format of Data Written to TCNT and TCSR
H'FFA8*
H'FFA8*
15
15
H'5A
H'A5
415
8 7
8 7
Write data
Write data
0
0

Related parts for HD6413003RVF