AT90PWM216-16SUR Atmel, AT90PWM216-16SUR Datasheet - Page 232

MCU AVR 16K FLASH 16MHZ 24SOIC

AT90PWM216-16SUR

Manufacturer Part Number
AT90PWM216-16SUR
Description
MCU AVR 16K FLASH 16MHZ 24SOIC
Manufacturer
Atmel
Series
AVR® 90PWM Lightingr
Datasheet

Specifications of AT90PWM216-16SUR

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
19
Program Memory Size
16KB (16K x 8)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b; D/A 1x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 105°C
Package / Case
24-SOIC (7.5mm Width)
Processor Series
AT90PWMx
Core
AVR8
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKIT, ATAVRFBKIT, ATAVRISP2
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
20.2.3
232
AT90PWM216/316
Analog Comparator 2 Control Register – AC2CON
Table 20-3.
• Bit 3– AC1ICE: Analog Comparator 1 Interrupt Capture Enable bit
Set this bit to enable the input capture of the Timer/Counter1 on the analog comparator event.
The comparator output is in this case directly connected to the input capture front-end logic,
making the comparator utilize the noise canceler and edge select features of the
Timer/Counter1 Input Capture interrupt. To make the comparator trigger the Timer/Counter1
Input Capture interrupt, the ICIE1 bit in the Timer Interrupt Mask Register (TIMSK1) must be set.
In case ICES1 bit
rising edge of AC1O is the capture/trigger event of the Timer/Counter1, in case ICES1 is set to
zero, it is the falling edge which is taken into account.
Clear this bit to disable this function. In this case, no connection between the Analog Compara-
tor and the input capture function exists.
• Bit 2, 1, 0– AC1M2, AC1M1, AC1M0: Analog Comparator 1 Multiplexer register
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.
AC1IS1
0
0
1
1
AC1M2
0
0
0
0
1
1
1
1
Interrupt sensitivity selection
Analog Comparator 1 negative input selection
AC1IS0
0
1
0
1
AC1M1
0
0
1
1
0
0
1
1
AC2EN
R/W
7
0
(“Timer/Counter1 Control Register B – TCCR1B” on page
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
R/W
5
0
20-4.
AC2IS0
Description
“Vref”/6.40
“Vref”/3.20
“Vref”/2.13
“Vref”/1.60
Analog Comparator Negative Input (ACMPM pin)
DAC result
Reserved
Reserved
R/W
4
0
3
0
-
AC2M2
R/W
2
0
AC2M1
R/W
1
0
126) is set high, the
AC2M0
R/W
0
0
7710E–AVR–08/10
AC2CON

Related parts for AT90PWM216-16SUR