AT90PWM1-16MU Atmel, AT90PWM1-16MU Datasheet - Page 179

no-image

AT90PWM1-16MU

Manufacturer Part Number
AT90PWM1-16MU
Description
IC AVR PWM 8KB FLASH 16MHZ 32QFN
Manufacturer
Atmel
Series
AVR® 90PWM Lightingr
Datasheet

Specifications of AT90PWM1-16MU

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
19
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 105°C
Package / Case
32-QFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
18.2.3
4378C–AVR–09/08
Analog Comparator Status Register – ACSR
These 2 bits determine the sensitivity of the interrupt trigger.
The different setting are shown in
Table 58. Interrupt sensitivity selection
• Bit 2, 1, 0– AC2M2, AC2M1, AC2M0: Analog Comparator 2 Multiplexer register
These 3 bits determine the input of the negative input of the analog comparator.
The different setting are shown in
Table 59. Analog Comparator 2 negative input selection
Bit
Read/Write
Initial Value
• Bit 7– ACCKDIV: Analog Comparator Clock Divider
The analog comparators can work with a clock up to 8MHz@3V and 16MHz@5V.
Set this bit in case the clock frequency of the microcontroller is higher than 8 MHz to insert a
divider by 2 between the clock of the microcontroller and the clock of the analog comparators.
Clear this bit to have the same clock frequency for the microcontroller and the analog
comparators.
• Bit 6– AC2IF: Analog Comparator 2 Interrupt Flag Bit
This bit is set by hardware when comparator 2 output event triggers off the interrupt mode
defined by AC2IS1 and AC2IS0 bits in AC2CON register.
This bit is cleared by hardware when the corresponding interrupt vector is executed in case the
AC2IE in AC2CON register is set. Anyway, this bit is cleared by writing a logical one on it.
This bit can also be used to synchronize ADC or DAC conversions.
• Bit 5– AC0IF: Analog Comparator 0 Interrupt Flag Bit
This bit is set by hardware when comparator 0 output event triggers off the interrupt mode
defined by AC0IS1 and AC0IS0 bits in AC0CON register.
AC2IS1
0
0
1
1
AC2M2
0
0
0
0
1
1
1
1
ACCKDIV
AC2IS0
0
1
0
1
AC2M1
0
0
1
1
0
0
1
1
R/W
7
0
AC2IF
R/W
6
0
Description
Comparator Interrupt on output toggle
Reserved
Comparator interrupt on output falling edge
Comparator interrupt on output rising edge
AC2M0
0
1
0
1
0
1
0
1
Table
Table
56.
59.
Description
“Vref”/6.40
“Vref”/3.20
“Vref”/2.13
“Vref”/1.60
Analog Comparator Negative Input (ACMPM pin)
DAC result
Reserved
Reserved
AC0IF
R/W
4
0
3
0
-
-
AC2O
R
2
0
AT90PWM1
AC0O
R
0
0
ACSR
179

Related parts for AT90PWM1-16MU