ATTIny2313-16MI ATMEL Corporation, ATTIny2313-16MI Datasheet - Page 59

no-image

ATTIny2313-16MI

Manufacturer Part Number
ATTIny2313-16MI
Description
8-bit AVR Microcontroller with 2K Bytes In-System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
Register Description for I/O-Ports
Port A Data Register – PORTA
Port A Data Direction Register
– DDRA
Port A Input Pins Address –
PINA
Port B Data Register – PORTB
Port B Data Direction Register
– DDRB
Port B Input Pins Address –
PINB
Port D Data Register – PORTD
Port D Data Direction Register
– DDRD
Port D Input Pins Address –
PIND
2543C–AVR–12/03
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
PORTB7
PINB7
DDB7
R/W
R/W
R/W
N/A
N/A
N/A
R
R
R
R
R
R
7
0
7
0
7
7
0
7
0
7
7
0
7
0
7
PORTB6
PORTD6
PINB6
PIND6
DDB6
DDD6
R/W
R/W
R/W
R/W
R/W
R/W
N/A
N/A
N/A
R
R
R
6
0
6
0
6
6
0
6
0
6
6
0
6
0
6
PORTB5
PORTD5
PINB5
PIND5
DDB5
DDD5
R/W
R/W
R/W
R/W
R/W
R/W
N/A
N/A
N/A
R
R
R
5
0
5
0
5
5
0
5
0
5
5
0
5
0
5
PORTB4
PORTD4
PINB4
PIND4
DDB4
DDD4
R/W
R/W
R/W
R/W
R/W
R/W
N/A
N/A
N/A
R
R
R
4
0
4
0
4
4
0
4
0
4
4
0
4
0
4
PORTB3
PORTD3
PINB3
PIND3
DDB3
DDD3
R/W
R/W
R/W
R/W
R/W
R/W
N/A
N/A
N/A
R
R
R
3
0
3
0
3
3
0
3
0
3
3
0
3
0
3
PORTA2
PORTB2
PORTD2
PINA2
PINB2
PIND2
DDA2
DDB2
DDD2
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
N/A
N/A
N/A
2
0
2
0
2
2
0
2
0
2
2
0
2
0
2
ATtiny2313/V
PORTB1
PORTD1
PORTA1
PINA1
PINB1
PIND1
DDA1
DDB1
DDD1
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
N/A
N/A
N/A
1
0
1
0
1
1
0
1
0
1
1
0
1
0
1
PORTB0
PORTD0
PORTA0
PINA0
PINB0
PIND0
DDA0
DDB0
DDD0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
N/A
N/A
N/A
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
PORTA
PORTB
PORTD
DDRA
DDRB
DDRD
PINA
PINB
PIND
59

Related parts for ATTIny2313-16MI