Datasheet

78K0/Ix2 CHAPTER 12 OPERATIONAL AMPLIFIER
R01UH0010EJ0500 Rev.5.00 402
Feb 28, 2012
12.3 Registers Used in Operational Amplifier
The operational amplifier uses the following four registers.
Operational amplifier 0 control register (AMP0M)
A/D port configuration registers 0 (ADPC0)
Analog input channel specification register (ADS)
Port mode register 2 (PM2)
(1) Operational amplifier 0 control register (AMP0M)
AMP0M controls the operations of operational amplifier.
AMP0M can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears AMP0M to 00H.
Figure 12-2. Format of Operational Amplifier 0 Control Register (AMP0M)
(Products with Operational Amplifier Only)
(1) 78K0/IY2
Address: FF60H After reset: 00H R/W
Symbol 7 <6> 5 4 3 2 <1> <0>
AMP0M 0 PGAEN 0 0 0 0 AMP0VG1 AMP0VG0
(2) 78K0/IA2, 78K0/IB2
Address: FF60H After reset: 00H R/W
Symbol <7> <6> 5 4 3 2 <1> <0>
AMP0M OPAMP0E PGAEN 0 0 0 0 AMP0VG1 AMP0VG0
OPAMP0E PGAEN Operational amplifier operation control
0 0 Stops operational amplifier operation
0 1 Enables operational amplifier (PGA mode only) operation
1 0 Enables operational amplifier (single AMP mode only) operation
Note
1 1
Enables operational amplifier (simultaneous operation in the PGA and single AMP
modes) operation
Note
AMP0VG1 AMP0VG0 PGA mode of operational amplifier gain selection
0 0 4
0 1 8
1 0 16
1 1 32
Note 78K0/IA2, 78K0/IB2 only
Cautions 1. When using the PGA mode, use the ADPC0 register to select the PGAIN/AMPOUT/ANI1/P21 pin
as an analog input.