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

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
17.4.3
7734M–AVR–03/10
Analog Comparator 3 Control Register – AC3CON
Bit
Read/Write
Initial Value
• Bit 7– AC3EN: Analog Comparator 3 Enable Bit
Set this bit to enable the analog comparator 3.
Clear this bit to disable the analog comparator 3.
• Bit 6– AC3IE: Analog Comparator 3 Interrupt Enable bit
Set this bit to enable the analog comparator 3 interrupt.
Clear this bit to disable the analog comparator 3 interrupt.
• Bit 5, 4– AC3IS1, AC3IS0: Analog Comparator 3 Interrupt Select bit
These 2 bits determine the sensitivity of the interrupt trigger.
The different setting are shown in
Table 17-5.
• Bit 3– AC3OEA: Analog Comparator 3 Alternate Output Enable
Set this bit to enable the analog comparator 3 alternate output pin.
Clear this bit to disable the analog comparator 3 alternate output pin.
• Bit 2, 1, 0– AC3M2, AC3M1, AC3M0: Analog Comparator 3 Multiplexer register
These 3 bits determine the input of the negative input of the analog comparator.
The different setting are shown in
Table 17-6.
AC3IS1
0
0
1
1
AC3M2
0
0
0
0
1
1
1
1
7
AC3EN
R/W
0
Interrupt sensitivity selection
Analog Comparator 2 negative input selection
AC3IS0
0
1
0
1
AC3M1
0
0
1
1
0
0
1
1
6
AC3IE
R/W
0
Description
Comparator Interrupt on output toggle
Reserved
Comparator interrupt on output falling edge
Comparator interrupt on output rising edge
AC3M0
0
1
0
1
0
1
0
1
Table
Table
5
AC3IS1
R/W
0
17-5.
17-4.
4
AC3IS0
R/W
0
Description
“Vref”/6.40
“Vref”/3.20
“Vref”/2.13
“Vref”/1.60
Band Gap voltage
DAC result
Analog Comparator Negative Input (ACMPM3 pin)
Analog Comparator Negative Input (ACMPM pin)
3
AC3OEA
-
0
2
AC3M2
R/W
0
1
AC3M1
R/W
0
AT90PWM81
0
AC3M0
R/W
0
AC3CON
199

Related parts for at90pwm81-16se