Datasheet
64
8246A–AVR–11/09
ATtiny2313A/4313
(one)) to serve this function. The OC1B pin is also the output pin for the PWM mode timer
function.
• PCINT4: Pin Change Interrupt Source 4. The PB4 pin can serve as an external interrupt
source for pin change interrupt 0.
• Port B, Bit 5 – DI/SDA/PCINT5
• DI: Three-wire mode Universal Serial Interface Data input. Three-wire mode does not
override normal port functions, so pin must be configured as an input. SDA: Two-wire mode
Serial Interface Data.
• PCINT5: Pin Change Interrupt Source 5. The PB5 pin can serve as an external interrupt
source for pin change interrupt 0.
• Port B, Bit 6 – DO/PCINT6
• DO: Three-wire mode Universal Serial Interface Data output. Three-wire mode Data output
overrides PORTB6 value and it is driven to the port when data direction bit DDB6 is set (one).
However the PORTB6 bit still controls the pull-up enabling pull-up, if direction is input and
PORTB6 is set (one).
• PCINT6: Pin Change Interrupt Source 6. The PB6 pin can serve as an external interrupt
source for pin change interrupt 0.
• Port B, Bit 7 – USCK/SCL/PCINT7
• USCK: Three-wire mode Universal Serial Interface Clock.
• SCL: Two-wire mode Serial Clock for USI Two-wire mode.
• PCINT7: Pin Change Interrupt source 7. The PB7 pin can serve as an external interrupt
source for pin change interrupt 0.
Table 10-6 and Table 10-7 relate the alternate functions of Port B to the overriding signals
shown in Figure 10-5 on page 59. SPI MSTR INPUT and SPI SLAVE OUTPUT constitute the
MISO signal, while MOSI is divided into SPI MSTR OUTPUT and SPI SLAVE INPUT.