AT90LS2333-4AI Atmel, AT90LS2333-4AI Datasheet - Page 59

IC MCU 2K 4MHZ A/D LV IT 32TQFP

AT90LS2333-4AI

Manufacturer Part Number
AT90LS2333-4AI
Description
IC MCU 2K 4MHZ A/D LV IT 32TQFP
Manufacturer
Atmel
Series
AVR® 90LSr
Datasheet

Specifications of AT90LS2333-4AI

Core Processor
AVR
Core Size
8-Bit
Speed
4MHz
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)
2.7 V ~ 6 V
Data Converters
A/D 6x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
32-TQFP, 32-VQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
I/O Ports
All AVR ports have true Read-Modify-Write functionality when used as general digital I/O ports. This means that the direc-
tion of one port pin can be changed without unintentionally changing the direction of any other pin with the SBI and CBI
instructions. The same applies for changing drive value (if configured as output) or enabling/disabling of pull-up resistors (if
configured as input).
Port B
Port B is a 6-bit bi-directional I/O port.
Three I/O memory address locations are allocated for the Port B, one each for the Data Register - PORTB, $18($38), Data
Direction Register - DDRB, $17($37) and the Port B Input Pins - PINB, $16($36). The Port B Input Pins address is read
only, while the Data Register and the Data Direction Register are read/write.
All port pins have individually selectable pull-up resistors. The Port B output buffers can sink 20mA and thus drive LED dis-
plays directly. When pins PB0 to PB7 are used as inputs and are externally pulled low, they will source current if the
internal pull-up resistors are activated.
The Port B pins with alternate functions are shown in the following table:
Table 23. Port B Pins Alternate Functions
When the pins are used for the alternate function, the DDRB and PORTB register has to be set according to the alternate
function description.
Port B Data Register - PORTB
Port B Data Direction Register - DDRB
Port B Input Pins Address - PINB
Bit
$18 ($38)
Read/Write
Initial value
Bit
$17 ($37)
Read/Write
Initial value
Bit
$16 ($36)
Read/Write
Initial value
Port Pin
PB0
PB1
PB2
PB3
PB4
PB5
R
R
R
7
0
7
0
7
0
-
-
-
Alternate Functions
ICP (Timer/Counter 1 input capture pin)
OC1 (Timer/Counter 1 output compare match output)
SS (SPI Slave Select input)
MOSI (SPI Bus Master Output/Slave Input)
MISO (SPI Bus Master Input/Slave Output)
SCK (SPI Bus Serial Clock)
R
R
R
6
0
6
0
6
0
-
-
-
PORTB5
PINB5
DDB5
R/W
R/W
Hi-Z
R
5
0
5
0
5
PORTB4
PINB4
DDB4
R/W
R/W
Hi-Z
R
4
0
4
0
4
AT90S/LS2333 and AT90S/LS4433
PORTB3
PINB3
DDB3
R/W
R/W
Hi-Z
3
0
3
0
3
R
PORTB2
PINB2
DDB2
R/W
R/W
Hi-Z
R
2
0
2
0
2
PORTB1
PINB1
DDB1
R/W
R/W
Hi-Z
R
1
0
1
0
1
PORTB0
PINB0
DDB0
R/W
R/W
Hi-Z
0
0
0
0
0
R
PORTB
DDRB
PINB
59

Related parts for AT90LS2333-4AI