beautypg.com

Attiny26(l) – Rainbow Electronics ATtiny26L User Manual

Page 101

background image

101

ATtiny26(L)

1477B–AVR–04/02

PCINT1: Pin Change Interrupt 1 pin. Pin change interrupt is enabled on pin when global
interrupt is enabled, pin change interrupt is enabled and the alternate function do not
mask the interrupt. The masking alternate function is the pin usage as RESET. Digital
input is enabled on pin PB7 also in SLEEP modes, if the pin change interrupt is enabled
and not masked by the alternate function.

• ADC9/INT0/T0/PCINT1 – Port B, Bit 6

ADC9: ADC Input Channel 9. Configure the port pins as inputs with the internal pull-ups
switched off to avoid the digital port function from interfering with the function of the ana-
log to digital converter.

INT0: External Interrupt source 0: The PB6 pin can serve as an external interrupt source
enabled by setting (one) the bit INT0 in the General Input Mask Register (GIMSK).

T0: Timer/Counter0 External Counter Clock input is enabled by setting (one) the bits
CS02 and CS01 in the Timer/Counter0 Control Register (TCCR0).

PCINT1: Pin Change Interrupt 1 pin. Pin change interrupt is enabled on pin when global
interrupt is enabled, pin change interrupt is enabled and the alternate functions do not
mask the interrupt. The masking alternate functions are the external low level Interrupt
source 0 (INT0) and the Timer/Counter0 External Counter clock input (T0). Digital input
is enabled on pin PB6 also in SLEEP modes, if the pin change interrupt is enabled and
not masked by the alternate functions.

• ADC8/XTAL2/PCINT1 – Port B, Bit 5

ADC8: ADC Input Channel 8. Configure the port pins as inputs with the internal pull-ups
switched off to avoid the digital port function from interfering with the function of the ana-
log to digital converter.

XTAL2: Chip Clock Oscillator pin 2. Used as clock pin for all chip clock sources except
internal calibrateble RC Oscillator, external clock and PLL clock. When used as a clock
pin, the pin can not be used as an I/O pin. When using internal calibratable RC Oscilla-
tor, External clock or PLL clock as Chip clock sources, PB5 serves as an ordinary I/O
pin.

PCINT1: Pin Change Interrupt 1 pin. Pin change interrupt is enabled on pin when global
interrupt is enabled, pin change interrupt is enabled and the alternate functions do not
mask the interrupt. The masking alternate functions are the XTAL2 outputs. Digital input
is enabled on pin PB5 also in SLEEP modes, if the pin change interrupt is enabled and
not masked by the alternate functions.

• ADC7/XTAL1/PCINT1 – Port B, Bit 4

ADC7: ADC Input Channel 7. Configure the port pins as inputs with the internal pull-ups
switched off to avoid the digital port function from interfering with the function of the ana-
log to digital converter.

XTAL1: Chip Clock Oscillator pin 1. Used for all chip clock sources except internal cali-
brateble RC oscillator and PLL clock. When used as a clock pin, the pin can not be used
as an I/O pin. When using internal calibratable RC Oscillator or PLL clock as chip clock
sources, PB4 serves as an ordinary I/O pin.

PCINT1: Pin Change Interrupt 1 pin. Pin change interrupt is enabled on pin when global
interrupt is enabled, pin change interrupt is enabled and the alternate functions do not
mask the interrupt. The masking alternate functions are the XTAL1 inputs. Digital input
is enabled on pin PB4 also in SLEEP modes, if the pin change interrupt is enabled and
not masked by the alternate functions.