Datasheet

Table Of Contents
Signal
Name
PC3/TMS PC2/TCK PC1/SDA PC0/SCL
DIEOV 0 0 0 0
DI
AIO TMS TCK SDA INPUT SCL INPUT
Note:  1. When enabled, the Two-wire Serial Interface enables slew-rate controls on the output pins PC0
and PC1. This is not shown in the figure. In addition, spike filters are connected between the AIO outputs
shown in the port figure and the digital logic of the TWI module.
17.3.4. Alternate Functions of Port D
The Port D pins with alternate functions are shown in the table below:
Table 17-12. Port D Pins Alternate Functions
Port Pin Alternate Function
PD7 OC2 (Timer/Counter2 Output Compare Match Output)
PD6 ICP1 (Timer/Counter1 Input Capture Pin)
PD5 OC1A (Timer/Counter1 Output Compare A Match Output)
PD4 OC1B (Timer/Counter1 Output Compare B Match Output)
PD3 INT1 (External Interrupt 1 Input)
PD2 INT0 (External Interrupt 0 Input)
PD1 TXD (USART Output Pin)
PD0 RXD (USART Input Pin)
The alternate pin configuration is as follows:
• OC2 – Port D, Bit 7
OC2, Timer/Counter2 Output Compare Match output: The PD7 pin can serve as an external output for the
Timer/Counter2 Output Compare. The pin has to be configured as an output (DDD7 set (one)) to serve
this function. The OC2 pin is also the output pin for the PWM mode timer function.
• ICP1 – Port D, Bit 6
ICP1 – Input Capture Pin: The PD6 pin can act as an Input Capture pin for Timer/Counter1.
• OC1A – Port D, Bit 5
OC1A, Output Compare Match A output: The PD5 pin can serve as an external output for the Timer/
Counter1 Output Compare A. The pin has to be configured as an output (DDD5 set (one)) to serve this
function. The OC1A pin is also the output pin for the PWM mode timer function.
• OC1B – Port D, Bit 4
OC1B, Output Compare Match B output: The PD4 pin can serve as an external output for the Timer/
Counter1 Output Compare B. The pin has to be configured as an output (DDD4 set (one)) to serve this
function. The OC1B pin is also the output pin for the PWM mode timer function.
• INT1 – Port D, Bit 3
Atmel ATmega32A [DATASHEET]
Atmel-8155I-ATmega32A_Datasheet_Complete-08/2016
86