AT90PWM216-16SE ATMEL [ATMEL Corporation], AT90PWM216-16SE Datasheet - Page 230

no-image

AT90PWM216-16SE

Manufacturer Part Number
AT90PWM216-16SE
Description
8-bit Microcontroller with 16K Bytes In-System Programmable flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
20.2
20.2.1
230
Analog Comparator Register Description
AT90PWM216/316
Analog Comparator 0 Control Register – AC0CON
Figure 20-1. Analog Comparator Block Diagram
Notes:
Each analog comparator has its own control register.
A dedicated register has been designed to consign the outputs and the flags of the 3 analog
comparators.
Bit
Read/Write
Initial Value
• Bit 7– AC0EN: Analog Comparator 0 Enable Bit
Set this bit to enable the analog comparator 0.
Clear this bit to disable the analog comparator 0.
• Bit 6– AC0IE: Analog Comparator 0 Interrupt Enable bit
Set this bit to enable the analog comparator 0 interrupt.
Clear this bit to disable the analog comparator 0 interrupt.
1. ADC multiplexer output: see
2. Refer to
3. The voltage on Vref is defined in
ACMPM
ACMP0
ACMP1
ACMP2
Aref
AVcc
Internal 2.56V
Reference
AC0EN
R/W
Vref
7
0
REFS0
Figure 3-1 on page 3
DACEN
DAC
REFS1
AC0IE
R/W
6
0
Result
DAC
/1.60
/2.13
/3.20
/6.40
AC0IS1
R/W
5
0
Table 21-4 on page
and for Analog Comparator pin placement.
21-3 “ADC Voltage Reference Selection” on page 250
AC0M
2 1 0
AC1M
2 1 0
AC2M
2 1 0
AC0IS0
R/W
4
0
CLK
+
-
+
-
+
-
CLK
AC0EN
AC1EN
AC2EN
CLK
(1)(2)
I/O
I/O
(/2)
I/O
(/2)
(/2)
3
0
-
-
250.
Interrupt Sensitivity Control
Interrupt Sensitivity Control
Interrupt Sensitivity Control
AC0IS1
AC1IS1
AC2IS1
AC0M2
R/W
2
0
AC0IS0
AC1IS0
AC2IS0
AC0M1
R/W
1
0
AC0IE
AC1IE
AC1ICE
AC0IE
AC0IF
Analog Comparator 0 Interrupt
AC1IF
Analog Comparator 1 Interrupt
T1 Capture Trigger
AC2IF
Analog Comparator 2 Interrupt
AC0O
AC1O
AC2O
AC0M0
R/W
0
0
7710D–AVR–08/09
AC0CON

Related parts for AT90PWM216-16SE