
CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 50 AND 51
User’s Manual U19780EJ2V0UD
244
7.3 Registers Controlling 8-Bit Timer/Event Counters 50 and 51
The following four registers are used to control 8-bit timer/event counters 50 and 51.
•
Timer clock selection register 5n (TCL5n)
•
8-bit timer mode control register 5n (TMC5n)
•
Port mode register 1 (PM1) or port mode register 3 (PM3)
Note
•
Port register 1 (P1) or port register 3 (P3)
Note
Note
The port pins with which the I/O pins for 8-bit timer/event counters 50 and 51 are shared differ depending
on the product as follows:
•
78K0/KB2-A: Shared with the pins of port 1
•
78K0/KC2-A: Shared with the pins of port 3
(1) Timer clock selection register 5n (TCL5n)
This register sets the count clock of 8-bit timer/event counter 5n and the valid edge of the TI5n pin input.
TCL5n can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears TCL5n to 00H.
Remark
n = 0, 1