atmega32c1 ATMEL Corporation, atmega32c1 Datasheet - Page 262

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
20.4.3
262
ATmega32/64/M1/C1
Analog Comparator 2 Control Register – AC2CON
These 3 bits determine the input of the negative input of the analog comparator.
The different setting are shown in
Table 20-4.
Bit
Read/Write
Initial Value
• Bit 7– AC2EN: Analog Comparator 2 Enable Bit
Set this bit to enable the analog comparator 2.
Clear this bit to disable the analog comparator 2.
• Bit 6– AC2IE: Analog Comparator 2 Interrupt Enable bit
Set this bit to enable the analog comparator 2 interrupt.
Clear this bit to disable the analog comparator 2 interrupt.
• Bit 5, 4– AC2IS1, AC2IS0: Analog Comparator 2 Interrupt Select bit
These 2 bits determine the sensitivity of the interrupt trigger.
The different setting are shown in
Table 20-5.
• Bit 3 – Res: Reserved Bit
This bit is an unused bit in the ATmega32/64/M1/C1, and will always read as zero.
• Bit 2, 1, 0– AC2M2, AC2M1, AC2M0: Analog Comparator 2 Multiplexer register
AC1M2
0
0
0
0
1
1
1
1
AC2IS1
0
0
1
1
Analog Comparator 1 negative input selection
Interrupt sensitivity selection
AC2IS0
0
1
0
1
AC1M1
0
0
1
1
0
0
1
1
AC2EN
R/W
7
0
AC2IE
R/W
6
0
Description
Comparator Interrupt on output toggle
Reserved
Comparator interrupt on output falling edge
Comparator interrupt on output rising edge
AC1M0
0
1
0
1
0
1
0
1
AC2IS1
Table
Table
R/W
5
0
20-4.
20-1.
AC2IS0
Description
“Vref”/6.40
“Vref”/3.20
“Vref”/2.13
“Vref”/1.60
Bandgap (1.1V)
DAC result
Analog Comparator Negative Input (ACMPM pin)
Reserved
R/W
4
0
3
0
-
-
AC2M2
R/W
2
0
AC2M1
R/W
1
0
AC2M0
R/W
0
0
7647A–AVR–02/08
AC2CON

Related parts for atmega32c1