Rainbow Electronics ATtiny861_V User Manual

Page 63

Advertising
background image

63

2588B–AVR–11/06

ATtiny261/461/861

• Port B, Bit 0 - MOSI/ DI/ SDA/ OC1A/ PCINT8

MOSI: SPI Master Data output, Slave Data input for SPI channel. When the SPI is enabled as a
Slave, this pin is configured as an input regardless of the setting of DDB0. When the SPI is
enabled as a Master, the data direction of this pin is controlled by DDB0. When the pin is forced
by the SPI to be an input, the pull-up can still be controlled by the PORTB0 bit.

DI: Data Input in USI Three-wire mode. USI Three-wire mode does not override normal port
functions, so pin must be configure as an input for DI function.

SDA: Two-wire mode Serial Interface Data.

OC1A: Inverted Output Compare Match output: The PB0 pin can serve as an external output for
the Timer/Counter1 Compare Match B when configured as an output (DDB0 set). The OC1A pin
is also the inverted output pin for the PWM mode timer function.

PCINT8: Pin Change Interrupt source 8.

Advertising