65
4958B–AUTO–11/10
Atmel ATA6285/ATA6286 [Preliminary]
The alternate pin configuration on Port D:
SDIN/PCINT23 - Port D, Bit 7
SDIN: Serial Data Input. External serial data input of the SSI on PD7 pin. When in the Timer2
modulator the SPI mode of the SSI is selected (T2M[3..0] = 0b1001), this pin is configured as an
input regardless of the setting of DDD7. When the pin is forced to be an input, the pull-up can
still be controlled by the PORTD7 bit.
PCINT23, Pin Change Interrupt Source 23: The PD7 pin can serve as an external interrupt
source.
T2O2/PCINT22 - Port D, Bit 6
T2O2: Timer2 Output 2. The PD6 pin can serve as an external out for the Timer2 modulator out-
put 2. The function of the modulator output pin is depend on the Timer2 Mode bits T2M[3..0] bits
in the T2MRB register. The PD6 pin has to be configured as an output (DDD6 set [one]) if the
timer mode is used the output pin to serve this function. When PD6 is not used as modulator out-
put pin, it is a I/O pin.
PCINT22, Pin Change Interrupt Source 22: The PD6 pin can serve as an external interrupt
source.
T2O1/PCINT21 - Port D, Bit 5
T2O1: Timer2 Output 1. The PD5 pin can serve as an external out for the Timer2 modulator out-
put 1. The function of the modulator output pin is depend on the Timer2 Mode bits T2M[3..0] bits
in the T2MRB register. The PD5 pin has to be configured as an output (DDD5 set [one]) if the
timer mode is used the output pin to serve this function. When PD5 is not used as modulator out-
put pin, it is a I/O pin.
PCINT21, Pin Change Interrupt Source 21: The PD5 pin can serve as an external interrupt
source.
ECIN1/PCINT20 - Port D, Bit 4
ECIN1: External Clock Input. External system clock input for the clock module on PD4 pin. When
used as a clock pin, the pin can not be used as an I/O pin. The clock will be input if the
CMM[1..0] bits are set (one), the ECINS bit is set (one) and CCS bit is set (one) in the CMCR
register, regardless of the PORTD4 and DDD4 setting, and PORTD4, DDD4 and PIND4 will all
read 0.
PCINT20, Pin Change Interrupt Source 20: The PD4 pin can serve as an external interrupt
source.
INT1/PCINT19 - Port D, Bit 3
INT1: External Interrupt source 1. The PD3 pin can serve as an external interrupt source.
The pin has to be configured as an input (DDD3 set (zero)) to serve this function.
PCINT19, Pin Change Interrupt Source 19: The PD3 pin can serve as an external interrupt
source.
INT0/PCINT18 - Port D, Bit 2
INT0: External Interrupt source 1. The PD2 pin can serve as an external interrupt source.
The pin has to be configured as an input (DDD2 set (zero)) to serve this function.
PCINT18, Pin Change Interrupt Source 18: The PD2 pin can serve as an external interrupt
source.