Datasheet

78K0/Ix2 CHAPTER 4 PORT FUNCTIONS
R01UH0010EJ0500 Rev.5.00 146
Feb 28, 2012
4.5 Settings of Port Mode Register and Output Latch When Using Alternate Function
To use the alternate function of a port pin, set the port mode register and output latch as shown in Tables 4-13 to 4-16.
Table 4-13. Settings of Port Mode Register and Output Latch When Using Alternate Function (78K0/IY2) (1/2)
Alternate Function Pin Name
Function Name I/O
PM P
P20 ANI0
Note 1
Input 1
ANI1
Note 2
Input 1
P21
PGAIN
Notes 2, 3
Input 1
ANI3
Note 4
Input 1
P23
CMP2+
Note 4
Input 1
ANI4
Note 4
Input 1
P24
CMP0+
Note 4
Input 1
ANI5
Note 4
Input 1
P25
CMP1+
Note 4
Input 1
TOX00 Output 0 0
INTP2 Input 1
P31
TOOLC1 Input
TOX01 Output 0 0
INTP3 Input 1
P32
TOOLD1 I/O
P33 TOX10 Output 0 0
TOX11 Output 0 0
INTP4 Input 1
<TOH1> Output 0 0
P34
<TI51> Input 1
Notes 1. The pin function can be selected by using ADPC0 register, PM2 register, and ADS register. Refer to Table
4-7 in 4.2.2 Port 2.
2. The pin function can be selected by using ADPC0 register, PM2 register, ADS register, and PGAEN bit.
Refer to Table 4-8 in 4.2.2 Port 2.
3.
PD78F0750, 78F0751, 78F0752 (products with operational amplifier) only
4. The pin function can be selected by using ADPC0 register, PM2 register, ADS register, and CMPmEN (m =
0-2) bit. Refer to Table 4-9 in 4.2.2 Port 2.
Remarks 1. : Don’t care
PM: Port mode register
P: Port output latch
2. Functions in angle brackets < > can be assigned by setting MUXSEL register.