Interval Timer Operation Timing - NEC PD78056F User Manual

Pd78058f series; pd78058fy series 8-bit single-chip microcontrollers
Table of Contents

Advertisement

Count Clock
TMS (TM1, TM2) Count Value
CR10, CR20
INTTM2
TO2
Remark Interval time = (N + 1)
Caution Even if the 16-bit timer/event counter mode is used, when the TM1 count value matches the
CR10 value, interrupt request (INTTM1) is generated and the F/F of 8-bit timer/event counter
output control circuit 1 is inverted. Thus, when using 8-bit timer/event counter as 16-bit
interval timer, set the INTTM1 mask flag TMMK1 to 1 to disable INTTM1 acknowledgment.
When reading the 16-bit timer register (TMS) count value, use the 16-bit memory manipu-
lation instruction.
CHAPTER 9 8-BIT TIMER/EVENT COUNTERS
Figure 9-11. Interval Timer Operation Timing
t
0000
0001
N
Count Start
Clear
N
Interval Time
t : N = 0000H to FFFFH
0000 0001
N
Clear
N
Interrupt Request Acknowledge
Interval Time
0000 0001
N
N
N
Interrupt Request Acknowledge
Interval Time
231

Advertisement

Table of Contents
loading

Table of Contents