atmega32c1 ATMEL Corporation, atmega32c1 Datasheet - Page 252

no-image

atmega32c1

Manufacturer Part Number
atmega32c1
Description
Atmega32m1 Automotive 8-bit Avr Microcontroller With 32k/64k Bytes In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
atmega32c1-15AZ
Manufacturer:
ATMEL
Quantity:
170
Part Number:
atmega32c1-15AZ
Manufacturer:
Atmel
Quantity:
10 000
18.11.2
252
ATmega32/64/M1/C1
Amplifier 1 Control and Status register – AMP1CSR
In accordance with the Table 18-9, these 3 bits select the event which will generate the clock for
the amplifier 0. This clock source is necessary to start the conversion on the amplified channel.
Table 18-9.
Bit
Read/Write
Initial Value
• Bit 7 – AMP1EN: Amplifier 1 Enable Bit
Set this bit to enable the Amplifier 1.
Clear this bit to disable the Amplifier 1.
Clearing this bit while a conversion is running will take effect at the end of the conversion.
Warning: Always clear AMP1TS0:1 when clearing AMP1EN.
• Bit 6 – AMP1IS: Amplifier 1 Input Shunt
Set this bit to short-circuit the Amplifier 1 input.
Clear this bit to normally use the Amplifier 1.
• Bit 5, 4 – AMP1G1, 0: Amplifier 1 Gain Selection Bits
These 2 bits determine the gain of the amplifier 1.
The different setting are shown in
Table 18-10. Amplifier 1 Gain Selection
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 4 Amplifier synchronization clock periods.
• Bit 3 – AMPCMP1: Amplifier 1 - Comparator 1 connection
AMP0TS2
0
0
0
0
1
1
1
1
AMP1G1
0
0
1
1
AMP0TS1
0
0
1
1
0
0
1
1
AMP0 Clock Source Selection
AMP1G0
0
1
0
1
AMP1EN
R/W
7
0
AMP1IS
R/W
AMP0TS0
0
1
0
1
0
1
0
1
6
0
Description
Gain 5
Gain 10
Gain 20
Gain 40
AMP1G1
Table
R/W
5
0
Clock Source
ADC Clock/8
Timer/Counter0 Compare Match
Timer/Counter0 Overflow
Timer/Counter1 Compare Match B
Timer/Counter1 Overflow
PSC Module 0 Synchronization Signal (PSS0)
PSC Module 1 Synchronization Signal (PSS1)
PSC Module 2 Synchronization Signal (PSS2)
18-10.
AMP1G0
R/W
4
0
AMPCMP1
R/W
3
0
AMP1TS2
R/W
2
0
AMP1TS1
R/W
1
0
AMP1TS0
R/W
0
0
7647A–AVR–02/08
AMP1CSR

Related parts for atmega32c1