Datasheet

78K0/Kx2-L CHAPTER 4 PORT FUNCTIONS
R01UH0028EJ0400 Rev.4.00 183
Sep 27, 2010
(8) Port alternate switch control register (MUXSEL)
Note
MUXSEL of 78K0/KA2-L (25-pin products) assigns TOH1, TI51, TI000, and INTP0 pins. By default, INTP0 and TI000
are assigned to P00, while TI51 and TOH1 have no assignment setting.
MUXSEL of 78K0/KA2-L (32-pin products) assigns TOH1, TI000, and INTP0 pins. By default, INTP0 and TI000 and
TOH1 have no assignment setting.
MUXSEL of 78K0/KC2-L (44-pin and 48-pin products) assigns the pin function to be used with serial interface CSI11.
SCK11 is assigned to P60, SI11 to P61, and SO11 to P62 by default.
This register can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears MUXSEL to 00H.
Figure 4-49. Format of Port Alternate Switch Control Register (MUXSEL) (1/2)
(1) 78K0/KA2-L (25-pin products)
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
INTP0SEL0 External interrupt request input (INTP0) pin function assignment
0 Assign INTP0 to the P00 pin as the alternate function.
1 Assign INTP0 to the P121 pin as the alternate function.
TM00SEL0 16-bit timer 00 input (TI000) pin function assignment
0 Assign TI000 to the P00 pin as the alternate function.
1 Assign TI000 to the P121 pin as the alternate function.
TM5SEL1 TM5SEL0 8-bit timer 51 input (TI51) pin function assignment
0 0 No TI51 function assignment.
0 1 Assign TI51 to the P34 pin as the alternate function.
1 0 Assign TI51 to the P00 pin as the alternate function.
1 1 Setting prohibited
TMHSEL1 TMHSEL0 8-bit timer H1 output (TOH1) pin function assignment
0 0 No TOH1 function assignment.
0 1 Assign TOH1 to the P34 pin as the alternate function.
1 0 Assign TOH1 to the P00 pin as the alternate function.
1 1 Setting prohibited