NEC PD78058FY(A) User Manual

Page 231

Advertising
background image

231

CHAPTER 9 8-BIT TIMER/EVENT COUNTERS

Figure 9-11. Interval Timer Operation Timing

Remark

Interval time = (N + 1)

×

t : N = 0000H to FFFFH

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.

Count Clock

TMS (TM1, TM2) Count Value

CR10, CR20

INTTM2

TO2

Interval Time

Interval Time

Interval Time

Interrupt Request Acknowledge

Interrupt Request Acknowledge

N

N

N

N

Count Start

Clear

Clear

0000

0001

N

0000

0001

N

0000

0001

N

t

Advertising
This manual is related to the following products: