Datasheet
Section 8 I/O Ports
Rev. 3.00 Mar 21, 2006 page 190 of 788
REJ09B0300-0300
8.7.3 Port 6 Pull-Up MOS Control Register (KMPCR)
KMPCR controls the port 6 on-chip input pull-up MOSs on a bit-by-bit basis.
Bit Bit Name Initial Value R/W Description
7KM7PCR0 R/W
6KM6PCR0 R/W
5KM5PCR0 R/W
4KM4PCR0 R/W
3KM3PCR0 R/W
2KM2PCR0 R/W
1KM1PCR0 R/W
0KM0PCR0 R/W
The input pull-up MOS is turned on when a
KMPCR bit is set to 1 while the corresponding
P6DDR bit is cleared to 0 (input port setting).
8.7.4 Pin Functions
• P67/TMOX/CIN7/KIN7/IRQ7
The pin function is switched as shown below according to the combination of the OS3 to OS0
bits in TCSR of TMR_X and the P67DDR bit.
OS3 to OS0 All 0 Not all 0
P67DDR 0 1 —
Pin Function P67 input pin P67 output pin TMOX output pin
IRQ7 input pin, KIN7 input pin, CIN7 input pin
*
Note: * This pin is used as the IRQ7 input pin when bit IRQ7E is set to 1 in IER. It can always
be used as the KIN7 or CIN7 input pin.