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

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
Alternate Functions of Port D
56
ATtiny2313/V
Table 28. Overriding Signals for Alternate Functions in PB3..PB0
The Port D pins with alternate functions are shown in Table 29.
Table 29. Port D Pins Alternate Functions
The alternate pin configuration is as follows:
• ICP – Port D, Bit 6
ICP: Timer/Counter1 Input Capture Pin. The PD6 pin can act as an Input Capture pin for
Timer/Counter1
• OC1B/T1 – Port D, Bit 5
OC0B: Output Compare Match B output: The PD5 pin can serve as an external output
for the Timer/Counter0 Output Compare B. The pin has to be configured as an output
(DDB5 set (one)) to serve this function. The OC0B pin is also the output pin for the PWM
mode timer function.
T1: Timer/Counter1 External Counter Clock input is enabled by setting (one) the bits
CS02 and CS01 in the Timer/Counter1 Control Register (TCCR1).
Signal
Name
PUOE
PUOV
DDOE
DDOV
PVOE
PVOV
PTOE
DIEOE
DIEOV
DI
AIO
Port Pin
PD6
PD5
PD4
PD3
PD2
PD1
PD0
PB3/OC1A/
PCINT3
0
0
0
0
OC1A_PVOE
OC1A_PVOV
0
(PCINT3 • PCIE)
1
PCINT7 INPUT
Alternate Function
ICP
OC0B/T1
T0
INT1
INT0/XCK/CKOUT
TXD
RXD
PB2/OC0A/
PCINT2
0
0
0
0
OC0A_PVOE
OC0A_PVOV
0
(PCINT2 • PCIE)
1
PCINT6 INPUT
PB1/AIN1/
PCINT1
0
0
0
0
0
0
0
(PCINT1 • PCIE)
1
PCINT5 INPUT
AIN1
PB0/AIN0/
PCINT0
0
0
0
0
0
0
0
(PCINT0 • PCIE)
1
PCINT4 INPUT
AIN0
2543C–AVR–12/03

Related parts for ATTIny2313-16MI