70
4317I–AVR–01/08
AT90PWM2/3/2B/3B
• AMP0- – Bit 3
AMP0-, Analog Differential Amplifier 0 Negative Input Channel.
• ADC5/INT1 – Bit 2
ADC5, Analog to Digital Converter, input channel 5
.
INT1, External Interrupt source 1. This pin can serve as an external interrupt source to the MCU.
• MOSI/PSCOUT21 – Bit 1
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 DDB1 When the SPI is
enabled as a master, the data direction of this pin is controlled by DDB1. When the pin is forced
to be an input, the pull-up can still be controlled by the PORTB1 and PUD bits.
PSCOUT21: Output 1 of PSC 2.
• MISO/PSC20 – Bit 0
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 DDB0. When the SPI is
enabled as a slave, the data direction of this pin is controlled by DDB0. When the pin is forced to
be an input, the pull-up can still be controlled by the PORTB0 and PUD bits.
PSCOUT20: Output 0 of PSC 2.
and
relates the alternate functions of Port B to the overriding signals
shown in
Table 11-4.
Overriding Signals for Alternate Functions in PB7..PB4
Signal Name
PB7/ADC4/
PSCOUT01/SCK
PB6/ADC7/
PSCOUT11/
ICP1B
PB5/ADC6/
INT2
PB4/AMP0+
PUOE
SPE • MSTR • SPIPS
0
0
0
PUOV
PB7 • PUD • SPIPS
0
0
0
DDOE
SPE • MSTR • SPIPS
+ PSCen01
PSCen11
0
0
DDOV
PSCen01
1
0
0
PVOE
SPE • MSTR • SPIPS
PSCen11
0
0
PVOV
PSCout01 • SPIPS +
PSCout01 •
PSCen01 • SPIPS
+ PSCout01 •
PSCen01 • SPIPS
PSCOUT11
0
0
DIEOE
ADC4D
ADC7D
ADC6D + In2en
AMP0ND
DIEOV
0
0
In2en
0
DI
SCKin • SPIPS •
ireset
ICP1B
INT2
AIO
ADC4
ADC7
ADC6
AMP0+