Block Diagram Of 8-Bit Timer/Event Counter 01 - NEC switch User Manual

Nec user's manua switch
Table of Contents

Advertisement

Figure 6-2. Block Diagram of 8-Bit Timer/Event Counter 01
4
f
/2
X
8
f
/2
X
TI01/P26
/INTP0/TO01
2
(1) 8-bit compare register 0n (CR0n)
This is an 8-bit register used to compare the value set to CR0n with the 8-bit timer counter 0n (TM0n) count
value, and if they match, generate used an interrupt request (INTTM0n).
CR0n is set with an 8-bit memory manipulation instruction. Values from 00H to FFH can be set.
RESET input sets CR0n undefined.
Caution
Be sure to set CR0n after the timer operation is stopped.
Remark
n = 0 or 1
(2) 8-bit timer counter 0n (TM0n)
This is an 8-bit register used to count pulses.
TM0n is read with an 8-bit memory manipulation instruction.
RESET input sets TMn to 00H.
Remark
n = 0 or 1
CHAPTER 6
8-BIT TIMER/EVENT COUNTERS 00 AND 01
8-bit compare register 01
(CR01)
Match
8-bit timer counter 01
(TM01)
Clear
Selector
TCE01 TCL011 TCL010 TOE01
Internal bus
User's Manual U12978EJ3V0UD
Internal bus
P26
Output latch
F/F
8-bit timer mode control register 01 (TMC01)
PM26
INTTM01
TO01/P26/
INTP0/TI01
81

Advertisement

Table of Contents
loading

Table of Contents