AT90LS2333-4PC Atmel, AT90LS2333-4PC Datasheet - Page 66
![IC MCU 2K FLSH 4MHZ A/D LV 28DIP](/photos/7/21/72189/453-28-dip_sml.jpg)
AT90LS2333-4PC
Manufacturer Part Number
AT90LS2333-4PC
Description
IC MCU 2K FLSH 4MHZ A/D LV 28DIP
Manufacturer
Atmel
Series
AVR® 90LSr
Datasheet
1.AT90LS2333-4AC.pdf
(103 pages)
Specifications of AT90LS2333-4PC
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
0°C ~ 70°C
Package / Case
28-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Table 26. Port D Pins Alternate Functions
Port D Data Register - PORTD
Port D Data Direction Register - DDRD
Port D Input Pins Address - PIND
The Port D Input Pins address - PIND - is not a register, and this address enables access to the physical value on each
Port D pin. When reading PORTD, the Port D Data Latch is read, and when reading PIND, the logical values present on the
pins are read.
Port D As General Digital I/O
PDn, General I/O pin: The DDDn bit in the DDRD register selects the direction of this pin. If DDDn is set (one), PDn is con-
figured as an output pin. If DDDn is cleared (zero), PDn is configured as an input pin. If PDn is set (one) when configured
as an input pin the MOS pull up resistor is activated. To switch the pull up resistor off the PDn 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.
66
Bit
$12 ($32)
Read/Write
Initial value
Bit
$11 ($31)
Read/Write
Initial value
Bit
$10 ($30)
Read/Write
Initial value
Port Pin
PD0
PD1
PD2
PD3
PD4
PD5
PD6
PD7
AT90S/LS2333 and AT90S/LS4433
PORTD7
PIND7
DDD7
R/W
R/W
Hi-Z
R
7
0
7
0
7
Alternate Function
RXD (UART Input line)
TXD (UART Output line)
INT0 (External interrupt 0 input)
INT1 (External interrupt 1 input)
T0 (Timer/Counter 0 external counter input)
T1 (Timer/Counter 1 external counter input)
AIN0 (Analog comparator positive input)
AIN1 (Analog comparator negative input)
PORTD6
PIND6
DDD6
R/W
R/W
Hi-Z
R
6
0
6
0
6
PORTD5
PIND5
DDD5
R/W
R/W
Hi-Z
R
5
0
5
0
5
PORTD4
PIND4
DDD4
R/W
R/W
Hi-Z
R
4
0
4
0
4
PORTD3
PIND3
DDD3
R/W
R/W
Hi-Z
3
0
3
0
3
R
PORTD2
PIND2
DDD2
R/W
R/W
Hi-Z
R
2
0
2
0
2
PORTD1
PIND1
DDD1
R/W
R/W
Hi-Z
R
1
0
1
0
1
PORTD0
PIND0
DDD0
R/W
R/W
Hi-Z
0
0
0
0
0
R
PORTD
DDRD
PIND