Datasheet
78K0/Ix2 CHAPTER 8 8-BIT TIMER/EVENT COUNTER 51
R01UH0010EJ0500 Rev.5.00 325
Feb 28, 2012
(2) 8-bit timer compare register 51 (CR51)
CR51 can be read and written by an 8-bit memory manipulation instruction.
The value set in CR51 is constantly compared with the 8-bit timer counter 51 (TM51) count value, and an interrupt
request (INTTM51) is generated if they match.
The value of CR51 can be set within 00H to FFH.
Reset signal generation clears CR51 to 00H.
Figure 8-3. Format of 8-Bit Timer Compare Register 51 (CR51)
Symbol
CR51
Address: FF41H After reset: 00H R/W
Caution Do not write other values to CR51 during operation.
8.3 Registers Controlling 8-Bit Timer/Event Counter 51
The following four registers are used to control 8-bit timer/event counter 51.
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
Note 78K0/IY2, 78K0/IB2 (30 pins): PM3
78K0/IA2, 78K0/IB2 (32 pins): PM0 or PM3