Datasheet

78K0/Ix2 CHAPTER 8 8-BIT TIMER/EVENT COUNTER 51
R01UH0010EJ0500 Rev.5.00 327
Feb 28, 2012
(2) 8-bit timer mode control register 51 (TMC51)
TMC51 is a register that controls the 8-bit timer counter 51 (TM51) count operation.
TMC51 can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 8-5. Format of 8-Bit Timer Mode Control Register 51 (TMC51)
Address: FF43H After reset: 00H R/W
Symbol <7> 6 5 4 3 2 1 0
TMC51 TCE51 0 0 0 0 0 0 0
TCE51 TM51 count operation control
0 After clearing to 0, count operation disabled (counter stopped)
1 Count operation start
(3) Port alternate switch control register (MUXSEL)
This register assigns the pin function.
The timer input (TI51) can be assigned to P34 of the 78K0/IY2 and P00 or P34 of the 78K0/IA2 and 78K0/IB2 (32
pins).
This register can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears MUXSEL to 00H.
Figure 8-6. Format of Port Alternate Switch Control Register (MUXSEL)
(1) 78K0/IY2
Address: FF39H After reset: 00H R/W
Symbol <7> <6> <5> <4> 3 <2> 1 <0>
MUXSEL INTP0SEL1 INTP0SEL0 TM00SEL1 TM00SEL0 0 TM5SEL0 0 TMHSEL0
TM5SEL0 8-bit timer/event counter 51 input (TI51) pin assignment
0 (default)
1 P34/TI51
(2) 78K0/IA2, 78K0/IB2 (32 pins)
Address: FF39H After reset: 00H R/W
Symbol 7 <6> 5 <4> <3> <2> <1> <0>
MUXSEL 0 INTP0SEL0 0 TM00SEL0 TM5SEL1 TM5SEL0 TMHSEL1 TMHSEL0
TM5SEL0 TM5SEL0 8-bit timer/event counter 51 input (TI51) pin assignment
0 0 (default)
0 1 P34/TI51
1 0 P00/TI51
1 1 Setting prohibited