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

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
Port C
Port C is a 6-bit bi-directional I/O port.
Three I/O memory address locations are allocated for the Port C, one each for the Data Register - PORTC, $15($35), Data
Direction Register - DDRC, $14($34) and the Port C Input Pins - PINC, $13($33). The Port C 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 C output buffers can sink 20mA and thus drive LED dis-
plays directly. When pins PC0 to PC5 are used as inputs and are externally pulled low, they will source current if the
internal pull-up resistors are activated.
Port C has an alternate function as analog inputs for the ADC. If some Port C pins are configured as outputs, it is essential
that these do not switch when a conversion is in progress. This might corrupt the result of the conversion.
During Power Down Mode, the schmitt triggers of the digital inputs are disconnected. This allows an analog voltage close
to V
Port C Data Register - PORTC
Port C Data Direction Register - DDRC
Port C Input Pins Address - PINC
The Port C Input Pins address - PINC - is not a register, and this address enables access to the physical value on each
Port C pin. When reading PORTC, the Port C Data Latch is read, and when reading PINC, the logical values present on the
pins are read.
Port C As General Digital I/O
All 6 pins in Port C have equal functionality when used as digital I/O pins.
PCn, General I/O pin: The DDCn bit in the DDRC register selects the direction of this pin, if DDCn is set (one), PCn is con-
figured as an output pin. If DDCn is cleared (zero), PCn is configured as an input pin. If PORTCn is set (one) when the pin
configured as an input pin, the MOS pull up resistor is activated. To switch the pull up resistor off, PORTCn has to be
cleared (zero) or the pin has to be configured as an output pin.The port pins are tristated when a reset condition becomes
active, even if the clock is not running
64
Bit
$15 ($35)
Read/Write
Initial value
Bit
$14 ($34)
Read/Write
Initial value
Bit
$13 ($33)
Read/Write
Initial value
CC
/2 to be present during power down without causing excessive power consumption.
AT90S/LS2333 and AT90S/LS4433
R
R
R
Q
7
0
7
0
7
-
-
-
R
R
R
Q
6
0
6
0
6
-
-
-
PORTC5
PINC5
DDC5
R/W
R/W
Hi-Z
R
5
0
5
0
5
PORTC4
PINC4
DDC4
R/W
R/W
Hi-Z
R
4
0
4
0
4
PORTC3
PINC3
DDC3
R/W
R/W
Hi-Z
3
0
3
0
3
R
PORTC2
PINC2
DDC2
R/W
R/W
Hi-Z
R
2
0
2
0
2
PORTC1
PINC1
DDC1
R/W
R/W
Hi-Z
R
1
0
1
0
1
PORTC0
PINC0
DDC0
R/W
R/W
Hi-Z
0
0
0
0
0
R
PORTC
DDRC
PINC

Related parts for AT90LS2333-4AI