Datasheet
78K0/Kx2-L CHAPTER 13 OPERATIONAL AMPLIFIERS
R01UH0028EJ0400 Rev.4.00 437
Sep 27, 2010
Figure 13-3. Format of Operational Amplifier 1 Control Register (AMP1M)
(Products with Operational Amplifier of the 78K0/KB2-L and 78K0/KC2-L Only)
Address: FF61H After reset: 00H R/W
Symbol <7> 6 5 4 3 2 1 0
AMP1M OPAMP1E 0 0 0 0 0 0 0
OPAMP1E Operational amplifier 1 operation control
0 Stops operational amplifier 1 operation
1 Enables operational amplifier 1 (single AMP mode) operation
Cautions 1. When using the single AMP mode, use the ADPC1 register to select the AMP1OUT/ANI9/P11,
AMP1-/ANI8/P10, and AMP1+/ANI10/P12 pins as analog I/O.
2. When using as digital inputs the pins of port 1, which are not used with the operational amplifier
1, when the operational amplifier 1 is used, make sure that the input levels of digital input ports
are fixed to prevent degradation of the A/D conversion resolution.
(2) A/D port configuration registers 0 and 1 (ADPC0, ADPC1)
ADPC0 switches the P20/AMP0-/ANI0 to P27/ANI7 pins to digital I/O or analog I/O of port. Each bit of ADPC0
corresponds to a pin of port 2 and can be specified in 1-bit units.
ADPC1 switches the P10/AMP1-/ANI8 to P12/AMP1+/ANI10 pins to digital I/O or analog I/O of port. Each bit of
ADPC1 corresponds to a pin of P10 to P12 in port 1 and can be specified in 1-bit units.
Use the ADPC0 and ADPC1 registers to select a pin used in the PGA mode or single AMP mode as an analog I/O.
These registers can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears ADPC0 to 00H, and sets ADPC1 of 78K0/KB2-L and 78K0/KC2-L to 07H.