AT90S2333-8PC Atmel, AT90S2333-8PC Datasheet - Page 50
![IC MCU 2K FLSH 8MHZ A/D 28DIP](/photos/7/21/72189/453-28-dip_sml.jpg)
AT90S2333-8PC
Manufacturer Part Number
AT90S2333-8PC
Description
IC MCU 2K FLSH 8MHZ A/D 28DIP
Manufacturer
Atmel
Series
AVR® 90Sr
Datasheet
1.AT90LS2333-4AC.pdf
(103 pages)
Specifications of AT90S2333-8PC
Core Processor
AVR
Core Size
8-Bit
Speed
8MHz
Connectivity
SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
20
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Data Converters
A/D 6x10b
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
28-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
UART Baud Rate Register - UBRR
This is a 12-bit register which contains the UART Baud Rate according to the equation on the previous page. The UBRRHI
contains the 4 most significant bits, and the UBRR contains the 8 least significant bits of the UART Baud Rate.
Analog Comparator
The analog comparator compares the input values on the positive input PD6 (AIN0) and negative input PD7 (AIN1). When
the voltage on the positive input PD6 (AIN0) is higher than the voltage on the negative input PD7 (AIN1), the Analog Com-
parator Output, ACO is set (one). The comparator’s output can be set to trigger the Timer/Counter1 Input Capture function.
In addition, the comparator can trigger a separate interrupt, exclusive to the Analog Comparator. The user can select Inter-
rupt triggering on comparator output rise, fall or toggle. A block diagram of the comparator and its surrounding logic is
shown in Figure 43.
Figure 43. Analog Comparator Block Diagram
Analog Comparator Control And Status Register - ACSR
•
When this bit is set(one), the power to the analog comparator is switched off. This bit can be set at any time to turn off the
analog comparator. When changing the ACD bit, the Analog Comparator Interrupt must be disabled by clearing the ACIE
bit in ACSR. Otherwise an interrupt can occur when the bit is changed.
50
Bit
$03 ($23)
$09 ($29)
Read/Write
Initial value
Bit
$08 ($28)
Read/Write
Initial value
Bit 7 - ACD: Analog Comparator Disable
AT90S/LS2333 and AT90S/LS4433
MSB
ACD
R/W
R/W
15
R
7
0
0
7
0
-
AINBG
R/W
R/W
14
R
6
0
0
6
0
-
ACO
R/W
13
R
R
5
0
0
5
0
-
R/W
R/W
ACI
12
R
4
0
0
4
0
-
ACIE
MSB
R/W
R/W
R/W
11
3
0
0
3
0
ACIC
R/W
R/W
R/W
10
2
0
0
2
0
ACIS1
R/W
R/W
R/W
9
1
0
0
1
0
ACIS0
LSB
LSB
R/W
R/W
R/W
8
0
0
0
0
0
UBRRHI
UBRR
ACSR