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

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
2543C–AVR–12/03
• AIN1/PCINT1 – Port B, Bit 1
AIN1: Analog Comparator Negative input and ADC6: ADC input channel 6
the port pin as input with the internal pull-up switched off to avoid the digital port function
from interfering with the function of the analog comparator or analog to digital converter.
PCINT1: Pin Change Interrupt Source 1. The PB1 pin can serve as an external interrupt
source.
• AIN0/PCINT0 – Port B, Bit 0
AIN0: Analog Comparator Positive input and ADC5: ADC input channel 5
port pin as input with the internal pull-up switched off to avoid the digital port function
from interfering with the function of the Analog Comparator or analog to digital
converter.
PCINT0: Pin Change Interrupt Source 0. The PB0 pin can serve as an external interrupt
source.
Table 27 and Table 28 relate the alternate functions of Port B to the overriding signals
shown in Figure 25 on page 51. SPI MSTR INPUT and SPI SLAVE OUTPUT constitute
the MISO signal, while MOSI is divided into SPI MSTR OUTPUT and SPI SLAVE
INPUT.
Table 27. Overriding Signals for Alternate Functions in PB7..PB4
Signal
Name
PUOE
PUOV
DDOE
DDOV
PVOE
PVOV
PTOE
DIEOE
DIEOV
DI
AIO
PB7/USCK/
SCL/PCINT7
0
0
USI_TWO_WIRE
(USI_SCL_HOLD
+ PORTB7)•DDB7
USI_TWO_WIRE
• DDRB7
0
USI_PTOE
(PCINT7•PCIE)
+USISIE
1
PCINT7 INPUT
USCK INPUT SCL
INPUT
PB6/DO/PCINT6
0
0
0
0
USI_THREE_WIRE
DO
0
(PCINT6•PCIE)
1
PCINT6 INPUT
PB5/SDA/
DI/PCINT5
0
0
USI_TWO_WIRE
(SDA + PORTB5)•
DDRB5
USI_TWO_WIRE
• DDRB5
0
0
(PCINT5•PCIE) +
USISIE
1
PCINT5 INPUT
SDA INPUT
DI INPUT
ATtiny2313/V
PB4/OC1B/
PCINT4
0
0
0
0
OC1B_PVOE
0OC1B_PVOV
0
(PCINT4•PCIE)
1
PCINT4 INPUT
.
Configure the
.
Configure
55

Related parts for ATTIny2313-16MI