Datasheet

78K0/Ix2 CHAPTER 2 PIN FUNCTIONS
R01UH0010EJ0500 Rev.5.00 29
Feb 28, 2012
(g) SSI11
This is a chip select input pin of serial interface CSI11.
2.2.2 P20 to P27 (port 2)
P20 to P27 function as an I/O port. These pins also function as pins for A/D converter analog input, operational
amplifier I/O, and PGA input.
78K0/IY2 78K0/IA2 78K0/IB2
16 Pins 20 Pins 30 Pins/32 Pins
P20/ANI0
P20/ANI0/AMP-
Note
P20/ANI0/AMP-
Note
P21/ANI1/PGAIN
Note
P21/ANI1/AMPOUT
Note
/PGAIN
Note
P21/ANI1/AMPOUT
Note
/PGAIN
Note
P22/ANI2/AMP+
Note
P22/ANI2/AMP+
Note
P23/ANI3/CMP2+ P23/ANI3/CMP2+ P23/ANI3/CMP2+
P24/ANI4/CMP0+ P24/ANI4/CMP0+ P24/ANI4/CMP0+
P25/ANI5/CMP1+ P25/ANI5/CMP1+ P25/ANI5/CMP1+
P26/ANI6/CMPCOM
P27/ANI7
Note Products with operational amplifier only
The following operation modes can be specified in 1-bit units.
(1) Port mode
P20 to P27 function as an I/O port. P20 to P27 can be set to input or output port in 1-bit units using port mode
register 2 (PM2).
(2) Control mode
P20 to P27 function as A/D converter analog input, operational amplifier I/O, and PGA input.
(a) ANI0 to ANI7
These are A/D converter analog input pins. When using these pins as analog input pins, refer to (5) ANI0/P20
to ANI7/P27 and ANI8/P70 in 11.6 Cautions for A/D Converter.
(b) AMP+, AMP-
These are operational amplifier input pins.
(c) AMPOUT
This is an operational amplifier output pin.
(d) PGAIN
This is a PGA (Programmable gain amplifier) input pin.
(e) CMP0+ to CMP2+
These are comparator input pins.