h8s-2628 Renesas Electronics Corporation., h8s-2628 Datasheet - Page 341

no-image

h8s-2628

Manufacturer Part Number
h8s-2628
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
When the TCNT overflows in interval timer mode, an interval timer interrupt (WOVI) is requested
at the time the OVF bit of the TCSR is set to 1.
13.4
During interval timer mode operation, an overflow generates an interval timer interrupt (WOVI).
The interval timer interrupt is requested whenever the OVF flag is set to 1 in TCSR. OVF must be
cleared to 0 in the interrupt handling routine.
Table 13.1 WDT Interrupt Source
13.5
13.5.1
The watchdog timer’s TCNT, TCSR, and RSTCSR registers differ from other registers in being
more difficult to write to. The procedures for writing to and reading these registers are given
below.
Writing to TCNT, TCSR, and RSTCSR: To write to TCNT and TCSR, execute a word transfer
instruction. They cannot be written to by a byte transfer instruction.
TCNT and TCSR both have the same write address. Therefore, the relative condition shown in
figure 13.3 needs to be satisfied in order 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'FF76. A byte transfer
instruction cannot write to RSTCSR.
The method of writing 0 to the WOVF bit differs from that of writing to the RSTE and RSTS bits.
To write 0 to the WOVF bit, satisfy the condition shown in figure 13.3. If satisfied, the transfer
instruction clears the WOVF bit to 0, but has no effect on the RSTE and RSTS bits. To write to
the RSTE and RSTS bits, satisfy the condition shown in figure 13.3. If satisfied, the transfer
instruction writes the values in bits 6 and 5 of the lower byte into the RSTE and RSTS bits,
respectively, but has no effect on the WOVF bit.
Name
WOVI
Interrupts
Usage Notes
Notes on Register Access
Interrupt Source
TCNT overflow
Interrupt Flag
WOVF
Rev. 3.00 Oct 04, 2005 page 301 of 598
Section 13 Watchdog Timer
DTC Activation
Impossible
REJ09B0155-0300

Related parts for h8s-2628