AT90S8515-8PC Atmel, AT90S8515-8PC Datasheet - Page 65

IC MCU 8K FLSH 8MHZ 40DIP

AT90S8515-8PC

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

Specifications of AT90S8515-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
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)
4 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
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT90S8515-8PC
Manufacturer:
ATM
Quantity:
4 500
Part Number:
AT90S8515-8PC
Manufacturer:
ATM
Quantity:
4 500
Part Number:
AT90S8515-8PC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Port B
Port B Data Register – PORTB
Port B Data Direction Register
– DDRB
Port B Input Pins Address –
PINB
0841G–09/01
Port B is an 8-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 20 mA and thus drive LED displays directly. When pins PB0 to PB7 are used as
inputs and are externally pulled low, they will source current if the internal pull-up resis-
tors are activated.
The Port B pins with alternate functions are shown in Table 20.
Table 20. Port B Pin Alternate Functions
When the pins are used for the alternate function, the DDRB and PORTB registers have
to be set according to the alternate function description.
The Port B Input Pins address (PINB) is not a register; this address enables access to
the physical value on each Port B pin. When reading PORTB, the Port B Data Latch is
read and when reading PINB, the logical values present on the pins are read.
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
PB6
PB7
PORTB7
PINB7
DDB7
R/W
R/W
N/A
R
7
0
7
0
7
Alternate Functions
T0 (Timer/Counter 0 External Counter Input)
T1 (Timer/Counter 1 External Counter Input)
AIN0 (Analog Comparator positive input)
AIN1 (Analog Comparator negative input)
SS
MOSI (SPI Bus Master Output/Slave Input)
MISO (SPI Bus Master Input/Slave Output)
SCK (SPI Bus Serial Clock)
PORTB6
PINB6
DDB6
(SPI Slave Select Input)
R/W
R/W
N/A
R
6
0
6
0
6
PORTB5
PINB5
DDB5
R/W
R/W
N/A
R
5
0
5
0
5
PORTB4
PINB4
DDB4
R/W
R/W
N/A
R
4
0
4
0
4
PORTB3
PINB3
DDB3
R/W
R/W
N/A
R
0
0
3
3
3
PORTB2
PINB2
DDB2
R/W
R/W
N/A
R
2
0
2
0
2
PORTB1
PINB1
DDB1
R/W
R/W
N/A
R
AT90S8515
1
0
1
0
1
PORTB0
PINB0
DDB0
R/W
R/W
N/A
R
0
0
0
0
0
PORTB
DDRB
PINB
65

Related parts for AT90S8515-8PC