Attiny2313 – Rainbow Electronics ATtiny2313 User Manual
Page 55

55
ATtiny2313
2543A–AVR–08/03
PCINT6: Pin Change Interrupt Source 6. The PB6 pin can serve as an external interrupt
source.
• DI/SDA/PCINT5 - Port B, Bit 5
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.
• OC1B/PCINT4 – Port B, Bit 4
OC1B: Output Compare Match B output: The PB4 pin can serve as an external output
for the Timer/Counter1 Output Compare B. The pin has to be configured as an output
(DDB6 set (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.
• OC1A/PCINT3 – Port B, Bit 3
OC1A: Output Compare Match A output: The PB3 pin can serve as an external output
for the Timer/Counter1 Output Compare A. The pin has to be configured as an output
(DDB3 set (one)) to serve this function. The OC1A pin is also the output pin for the PWM
mode timer function.
PCINT3: Pin Change Interrupt Source 3: The PB3 pin can serve as an external interrupt
source.
• OC0A/PCINT2 – Port B, Bit 2
OC0A: Output Compare Match A output. The PB2 pin can serve as an external output
for the Timer/Counter0 Output Compare A. The pin has to be configured as an output
(DDB2 set (one)) to serve this function. The OC1A pin is also the output pin for the PWM
mode timer function.
PCINT2: Pin Change Interrupt Source 2. The PB2 pin can serve as an external interrupt
source.