ATmega88PA Automotive Atmel Corporation, ATmega88PA Automotive Datasheet - Page 68

no-image

ATmega88PA Automotive

Manufacturer Part Number
ATmega88PA Automotive
Description
Manufacturer
Atmel Corporation
12.3.2
68
Atmel ATtiny24/44/84 [Preliminary]
Alternate Functions of Port B
The Port B pins with alternate function are shown in
Table 12-7.
• Port B, Bit 0 – XTAL1/PCINT8
XTAL1: Chip clock oscillator pin 1. Used for all chip clock sources except the internal calibrat-
able RC oscillator. When used as a clock pin, the pin cannot be used as an I/O pin. When
using internal calibratable RC oscillator as a chip clock source, PB0 serves as an ordinary I/O
pin.
PCINT8: Pin change interrupt source 8. The PB0 pin can serve as an external interrupt source
for pin change interrupt 1.
• Port B, Bit 1 – XTAL2/PCINT9
XTAL2: Chip clock oscillator pin 2. Used as clock pin for all chip clock sources except the
internal calibratable RC oscillator and external clock. When used as a clock pin, the pin cannot
be used as an I/O pin. When using internal calibratable RC oscillator or external clock as a
chip clock sources, PB1 serves as an ordinary I/O pin.
PCINT9: Pin change interrupt source 9. The PB1 pin can serve as an external interrupt source
for pin change interrupt 1.
• Port B, Bit 2 – INT0/OC0A/CKOUT/PCINT10
INT0: External interrupt request 0.
OC0A: Output compare match output: The PB2 pin can serve as an external output for the
timer/counter 0 compare match A. The PB2 pin has to be configured as an output (DDB2 set
(one)) to serve this function. The OC0A pin is also the output pin for the PWM mode timer
function.
CKOUT - System clock output: The system clock can be output on the PB2 pin. The system
clock will be output if the CKOUT fuse is programmed, regardless of the PORTB2 and DDB2
settings. It will also be output during reset.
PCINT10: Pin change interrupt source 10. The PB2 pin can serve as an external interrupt
source for pin change interrupt 1.
Port Pin
PB0
PB1
PB3
PB2
Port B Pins Alternate Functions
Alternate Function
XTAL1: Crystal Oscillator Input.
PCINT8: Pin change interrupt 1 source 8.
XTAL2: Crystal Oscillator Output.
PCINT9: Pin change interrupt 1 source 9.
INT0:
OC0A: Timer/Counter0 Compare Match A output.
CKOUT: System clock output.
PCINT10:Pin change interrupt 1 source 10.
RESET: Reset pin.
dW:
PCINT11:Pin change interrupt 1 source 11.
External Interrupt 0 Input.
debugWire I/O.
Table 12-7 on page
68.
7701E–AVR–02/11

Related parts for ATmega88PA Automotive