at90pwm81-16se ATMEL Corporation, at90pwm81-16se Datasheet - Page 224

no-image

at90pwm81-16se

Manufacturer Part Number
at90pwm81-16se
Description
8-bit Avr Microcontroller With 8k Bytes In- System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
18.10 Amplifier Control Registers
18.10.1
224
AT90PWM81
Amplifier 0 Control and Status register – AMP0CSR
Figure 18-17. Amplifiers block diagram
If APMP0GS bit is set, the AMP0- input is open and PD5/AMP0- pin is free for another use. At the same
time the negative input of the Amplifier is internally grounded.
The configuration of the amplifier is controlled via the register AMP0CSR. Then the start of conversion is
done via the ADC control and status registers.
The conversion result is stored on ADCH and ADCL register which contain respectively the most signifi-
cant bits and the least significant bits.
Bit
Read/Write
Initial Value
• Bit 7 – AMP0EN: Amplifier 0 Enable Bit
Set this bit to enable the Amplifier 0.
Clear this bit to disable the Amplifier 0.
Clearing this bit while a conversion is running will take effect at the end of the conversion.
• Bit 6– AMP0IS: Amplifier 0 Input Shunt
Set this bit to short-circuit the Amplifier 0 input. If AMP0GS is set, the ground switch is released during
shunt of inputs.
Clear this bit to normally use the Amplifier 0.
• Bit 5, 4– AMP0G1, 0: Amplifier 0 Gain Selection Bits
AMP0+
AMP0-
7
AMP0EN
R/W
0
AMP0EN AMP0IS AMP0G1 AMP0G0
6
AMP0IS
R/W
0
no short
AMP0+ GND
Sampling
5
AMP0G1
R/W
0
Clock
4
AMP0G0
R/W
0
+
-
AMP0CSR
3
AMP0GS
-
0
00
01
10
1 1
AMP0GS
2
-
-
0
ADCK/8
PSCRASY
PSC2ASY
1
AMP0TS1
R/W
0
-
AMP0TS1 AMP0TS0
T oward ADC MUX
0
AMP0TS0
R/W
0
(AMP0)
7734M–AVR–03/10
AMP0CSR

Related parts for at90pwm81-16se