HD6412373R RENESAS [Renesas Technology Corp], HD6412373R Datasheet - Page 753

no-image

HD6412373R

Manufacturer Part Number
HD6412373R
Description
Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2300 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
TCNT and TCSR both have the same write address. Therefore, satisfy the relative condition
shown in figure 14.4 to write to TCNT or TCSR. The transfer instruction writes the lower byte
data to TCNT or TCSR according to the satisfied condition.
To write to RSTCSR, execute a word transfer instruction for address H'FFBE. A byte transfer
instruction cannot perform writing to RSTCSR.
The method of writing 0 to the WOVF bit differs from that of writing to the RSTE bit. To write 0
to the WOVF bit, satisfy the lower condition shown in figure 14.4.
If satisfied, the transfer instruction clears the WOVF bit to 0, but has no effect on the RSTE bit.
To write to the RSTE bit, satisfy the above condition shown in figure 14.4. If satisfied, the transfer
instruction writes the value in bit 6 of the lower byte into the RSTE bit, but has no effect on the
WOVF bit.
Reading TCNT, TCSR, and RSTCSR
These registers are read in the same way as other registers. The read addresses are H'FFBC for
TCSR, H'FFBD for TCNT, and H'FFBF for RSTCSR.
Address: H'FFBC (TCNT)
Address: H'FFBC (TCSR)
Address: H'FFBE (RSTCSR)
Address: H'FFBE (RSTCSR)
Figure 14.4 Writing to TCNT, TCSR, and RSTCSR
TCNT write or
Writing to RSTE bit in RSTCSR
H'FFBE (RSTCSR)
TCSR write
Writing 0 to WOVF bit in RSTCSR
Writing to RSTE bit in RSTCSR
15
15
15
15
H'5A
H'A5
H'A5
H'5A
Rev.7.00 Mar. 18, 2009 page 685 of 1136
8 7
8 7
8 7
8 7
Section 14 Watchdog Timer (WDT)
Write data
Write data
Write data
H'00
0
0
0
0
REJ09B0109-0700

Related parts for HD6412373R