User’s Manual U11969EJ3V0UM00
173
CHAPTER 7 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
(8) Timer overflow status register (TOVS)
The overflow flags TM0 to TM3 are assigned.
This register can be read/written in 8- or 1-bit units.
By testing and resetting the TOVS register via software, occurrence of an overflow can be polled.
Bit Position
Bit Name
Function
7 to 0
OVFn
Overflow Flag
TMn overflow flag.
0: No overflow
1: Overflow
From TM0 and TM1, the interrupt requests (INTOV0 and INTOV1) are generated for the interrupt
controller in synchronization with the overflow
.
However, the interrupt operation and TOVS are
independent from each other, and the overflow flags (OVF0 and OVF1) from TM0 and TM1 can
be rewritten in the same manner as in other overflow flags.
At this time, the interrupt request flags (OVF0 and OVF1) corresponding to INTOV0 and INTOV1
are not affected.
No transmission is executed to the TOVS register during access from the CPU. Therefore, even
if an overflow occurs when the TOVS register is being read, the overflow flag value will not be
updated and this overflow condition will be reflected the next time the TOVS register is read.
Remark
n = 0, 1, 20 to 24, and 3
(9) External interrupt mode registers 1 to 4, 7 (INTM1 to INTM4, INTM7)
These registers set the following 3 types of valid edges:
• Sets valid edge of external interrupt request signal (INTP) when using CP10 to CP13 (timer 1), CC3,
CP3 (timer 3) as capture registers.
• Sets valid edges at external count clock input (TI) of timer 0, timer 1, and timer 2.
• Sets valid edges at timer clear (TCLR0) of timer 0.
For the details, refer to CHAPTER 5 INTERRUPT/EXCEPTION PROCESSING FUNCTION.
(10) Event divide counter 0 to 2 (EDV0 to EDV2)
Counts valid edges detected by the INTM1 to INTM3 registers. For the details, refer to 5.3 Maskable Interrupt.
(11) Event divide control register 0 to 2 (EDVC0 to EDVC2)
Sets the frequency division ratio of event divide counter (EDV0 to EDV2). For the details, refer to 5.3. Maskable
Interrupt.
(12) Event selection register (EVS)
Selects INTP signal to input to the EDV2 register. For the details, refer to 5.3 Maskable Interrupt.
Address
FFFFF230H
7
OVF3
TOVS
6
OVF24
5
OVF23
4
OVF22
3
OVF21
2
OVF20
1
OVF1
0
OVF0
After reset
00H
Содержание V854 UPD703006
Страница 2: ...2 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 22: ...22 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 80: ...80 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 134: ...134 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 156: ...156 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 294: ...294 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 320: ...320 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 324: ...324 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 336: ...336 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 376: ...376 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 382: ...382 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 394: ...394 User s Manual U11969EJ3V0UM00 MEMO ...
Страница 396: ...396 User s Manual U11969EJ3V0UM00 MEMO ...