Datasheet

78K0/Kx2-L CHAPTER 4 PORT FUNCTIONS
R01UH0028EJ0400 Rev.4.00 130
Sep 27, 2010
Table 4-9. Setting Functions of P11/ANI9/AMP1OUT Pin
ADPC1 Register PM1 Register OPAMP1E bit ADS Register P11/ANI9/AMP1OUT Pin
Selects ANI9. Setting prohibited 0
Does not select ANI9. Digital input
Input mode
1
Setting prohibited
Selects ANI9. Setting prohibited 0
Does not select ANI9. Digital output
Digital I/O
selection
Output mode
1
Setting prohibited
Selects ANI9.
Analog input (to be converted into
digital signals)
0
Does not select ANI9.
Analog input (not to be converted
into digital signals)
Selects ANI9.
Operational amplifier 1 output (to
be converted into digital signals)
Input mode
1
Does not select ANI9.
Operational amplifier 1 output (not
to be converted into digital signals)
Analog I/O
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
Reset signal generation sets port 1 to digital input.
Figures 4-4 to 4-10 show block diagrams of port 1.
Cautions 1. To use P10/SCK10 and P12/SO10 of 78K0/KB2-L and 78K0/KC2-L as general-purpose ports, set
serial operation mode register 10 (CSIM10) and serial clock selection register 10 (CSIC10) to the
default status (00H).
2. To use P13/TxD6 of 78K0/KB2-L and 78K0/KC2-L as general-purpose port, clear bit 0 (TXDLV6) of
asynchronous serial interface control register 6 (ASICL6) to 0 (normal output of TxD6).