Datasheet
78K0/Kx2-L CHAPTER 4 PORT FUNCTIONS
R01UH0028EJ0400 Rev.4.00 129
Sep 27, 2010
4.2.2 Port 1
78K0/KY2-L
(
μ
PD78F055x)
78K0/KA2-L
(
μ
PD78F056x)
78K0/KB2-L
(
μ
PD78F057x)
78K0/KC2-L
(
μ
PD78F058x)
16 Pins 20, 25, 32 Pins 30 Pins 40, 44, 48 Pins
− −
P10/ANI8/AMP1-
Note
/SCK10 P10/ANI8/AMP1-
Note
/SCK10
− −
P11/ANI9/AMP1OUT
Note
/SI10 P11/ANI9/AMP1OUT
Note
/SI10
− −
P12/ANI10/AMP1+
Note
/SO10 P12/ANI10/AMP1+
Note
/SO10
− −
P13/TxD6 P13/TxD6
− −
P14/RxD6 P14/RxD6
− −
P15/TOH0 P15/TOH0
− −
P16/TOH1/INTP5 P16/TOH1/INTP5
− −
P17/TI50/TO50 P17/TI50/TO50
Note Products with operational amplifier only
Port 1 is an I/O port with an output latch. Port 1 can be set to the input mode or output mode in 1-bit units using port
mode register 1 (PM1). When the P10 to P17 pins are used as an input port, use of an on-chip pull-up resistor can be
specified in 1-bit units by pull-up resistor option register 1 (PU1).
This port can also be used for A/D converter analog input, operational amplifier I/O, external interrupt request input,
serial interface data I/O, clock I/O, and timer I/O.
When using P10/ANI8/AMP1-, P11/ANI9/AMP1OUT, or P12/ANI10/AMP1+, set the registers according to the pin
function to be used (refer to Tables 4-8 and 4-9).
Table 4-8. Setting Functions of P10/ANI8/AMP1-, P12/ANI10/AMP1+ Pins
ADPC1 Register PM1 Register OPAMP1E bit
ADS Register
(n = 8, 10)
P10/ANI8/AMP1-,
P12/ANI10/AMP1+ Pins
Selects ANIn. Setting prohibited Input mode
−
Does not select ANIn. Digital input
Selects ANIn. Setting prohibited
Digital I/O
selection
Output mode
−
Does not select ANIn. Digital output
Selects ANIn.
Analog input (to be converted into
digital signals)
0
Does not select ANIn.
Analog input (not to be converted
into digital signals)
Selects ANIn. Setting prohibited
Input mode
1
Does not select ANIn. Operational amplifier 1 input
Analog input
selection
Output mode
− −
Setting prohibited
Remark ADPC1: A/D port configuration register 1
PM1: Port mode register 1
OPAMP1E: Bit 7 of operational amplifier 1 control register (AMP1M)
ADS: Analog input channel specification register
<R>