Datasheet
78K0/Ix2 CHAPTER 8 8-BIT TIMER/EVENT COUNTER 51
R01UH0010EJ0500 Rev.5.00 323
Feb 28, 2012
CHAPTER 8 8-BIT TIMER/EVENT COUNTER 51
8.1 Functions of 8-Bit Timer/Event Counter 51
8-bit timer/event counter 51 is mounted onto all 78K0/Ix2 microcontroller products.
8-bit timer/event counter 51 has the following functions.
Interval timer
External event counter
8.2 Configuration of 8-Bit Timer/Event Counter 51
8-bit timer/event counter 51 includes the following hardware.
Table 8-1. Configuration of 8-Bit Timer/Event Counter 51
Item Configuration
Timer register 8-bit timer counter 51 (TM51)
Timer input TI51
Register 8-bit timer compare register 51 (CR51)
Control registers
Timer clock selection register 51 (TCL51)
8-bit timer mode control register 51 (TMC51)
Port alternate switch control register (MUXSEL)
Port mode register 0 (PM0) or port mode register 3 (PM3)
Note
Port register 0 (P0) or port register 3 (P3)
Note
Note 78K0/IY2, 78K0/IB2 (30 pins): PM3
78K0/IA2, 78K0/IB2 (32 pins): PM0 or PM3
Figure 8-1 shows the block diagram of 8-bit timer/event counter 51.