Datasheet

22.11.8. Amplifier m Control and Status Register
Name:  AMP0CSR, AMP1CSR, AMP2CSR
Offset:  0x75 + n*0x01 [n=0..2]
Reset:  0x00
Property:
 
-
Bit 7 6 5 4 3 2 1 0
AMPmEN AMPmIS AMP0G[1:0] AMPCMPm AMPmTS[2:0]
Access
R/W R/W R/W R/W R/W R/W R/W R/W
Reset 0 0 0 0 0 0 0 0
Bit 7 – AMPmEN: Amplifier n Enable
Set this bit to enable the Amplifier m. Clear this bit to disable the Amplifier m. Clearing this bit while a
conversion is running will take effect at the end of the conversion.
Warning:  Always clear AMPmTS0:1 when clearing AMPmEN.
Bit 6 – AMPmIS: Amplifier m Input Shunt
Set this bit to short-circuit the Amplifier m input. Clear this bit to normally use the Amplifier m.
Bits 5:4 – AMPnG[1:0]: Amplifier m Gain Selection
These bits determine the gain of the amplifier m. To ensure an accurate result, after the gain value has
been changed, the amplifier input needs to have a quite stable input value during at least four Amplifier
synchronization clock periods.
Value Description
00 Gain 5
01 Gain 10
10 Gain 20
11 Gain 40
Bit 3 – AMPCMPm: Amplifier m - Comparator m connection
Set this bit to connect the amplifier m to the comparator m positive input. In this configuration the
comparator clock is adapted to the amplifier clock and AMPmTS[2:0] bits have no effect. Clear this bit to
normally use the Amplifier m.
Bits 2:0 – AMPmTS[2:0]: Amplifier m Clock Source Selection
These bits select the event which will generate the clock for the amplifier m. This clock source is
necessary to start the conversion on the amplified channel.
Value Description
000 ADC Clock/8
001 Timer/Counter0 compare match
010 Timer/Counter0 overflow
011 Timer/Counter1 compare Match B
100 Timer/Counter1 overflow
Atmel ATmega16M1/32M1/64M1 [DATASHEET]
Atmel-8209F-ATmega16M1/32M1/64M1_Datasheet_Complete-10/2016
330