Rainbow Electronics ATtiny861_V User Manual

Page 62

Advertising
background image

62

2588B–AVR–11/06

ATtiny261/461/861

ADC8: ADC input Channel 8. Note that ADC input channel 8 uses analog power.

PCINT13: Pin Change Interrupt source 13.

• Port B, Bit 4 - XTAL1/ CLKI/ OC1B/ ADC7/ PCINT12

XTAL1/CLKI: Chip clock Oscillator pin 1. Used for all chip clock sources except internal cali-
brated RC Oscillator. When used as a clock pin, the pin can not be used as an I/O pin.

OC1D: Inverted Output Compare Match output: The PB4 pin can serve as an external output for
the Timer/Counter1 Compare Match D when configured as an output (DDA0 set). The OC1D pin
is also the inverted output pin for the PWM mode timer function.

ADC7: ADC input Channel 7. Note that ADC input channel 7 uses analog power.

PCINT12: Pin Change Interrupt source 12.

• Port B, Bit 3 - OC1B/ PCINT11

OC1B, Output Compare Match output: The PB3 pin can serve as an external output for the
Timer/Counter1 Compare Match B. The PB3 pin has to be configured as an output (DDB3 set
(one)) to serve this function. The OC1B pin is also the output pin for the PWM mode timer
function.

PCINT11: Pin Change Interrupt source 11.

• Port B, Bit 2 - SCK/ USCK/ SCL/ OC1B/ PCINT10

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

USCK: Three-wire mode Universal Serial Interface Clock.

SCL: Two-wire mode Serial Clock for USI Two-wire mode.

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

PCINT10: Pin Change Interrupt source 10.

• Port B, Bit 1 - MISO/ DO/ OC1A/ PCINT9

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

DO: Three-wire mode Universal Serial Interface Data output. Three-wire mode Data output over-
rides PORTB1 value and it is driven to the port when data direction bit DDB1 is set (one).
PORTB1 still enables the pull-up, if the direction is input and PORTB1 is set (one).

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

PCINT9: Pin Change Interrupt source 9.

Advertising