AT90S8515-4PC Atmel, AT90S8515-4PC Datasheet - Page 71

IC MCU 8K FLSH 4MHZ LV 40DIP

AT90S8515-4PC

Manufacturer Part Number
AT90S8515-4PC
Description
IC MCU 8K FLSH 4MHZ LV 40DIP
Manufacturer
Atmel
Series
AVR® 90Sr

Specifications of AT90S8515-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
32
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 6 V
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-
Port C Data Direction Register
– DDRC
Port C Input Pins Address –
PINC
Port C as General Digital I/O
0841G–09/01
The Port C Input Pins address (PINC) is not a register; 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.
All eight 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 configured as an output pin. If DDCn is cleared (zero), PCn
is configured as an input pin. If PORTCn is set (one) when the pin is 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 C pins are tri-stated when a reset condition becomes active, even if the clock is not
active.
Table 22. DDCn Effects on Port C Pins
Note:
Bit
$14 ($34)
Read/Write
Initial Value
Bit
$13 ($33)
Read/Write
Initial Value
DDCn
0
0
1
1
n: 7…0, pin number
PORTCn
PINC7
DDC7
R/W
N/A
R
7
0
7
0
1
0
1
PINC6
DDC6
R/W
N/A
R
6
0
6
Output
Output
Input
Input
I/O
PINC5
DDC5
R/W
N/A
R
5
0
5
Pull-up
Yes
No
No
No
PINC4
DDC4
R/W
N/A
R
4
0
4
Comment
Tri-state (high-Z)
PCn will source current if ext. pulled low.
Push-pull Zero Output
Push-pull One Output
PINC3
DDC3
R/W
N/A
R
0
3
3
PINC2
DDC2
R/W
N/A
R
2
0
2
PINC1
DDC1
R/W
N/A
R
AT90S8515
1
0
1
PINC0
DDC0
R/W
N/A
R
0
0
0
DDRC
PINC
71

Related parts for AT90S8515-4PC