Datasheet

Table Of Contents
59
ATmega32A [DATASHEET]
Atmel-8155D-AVR-ATmega32A-Datasheet_02/2014
TDO – Port C, Bit 4
TDO, JTAG Test Data Out: Serial output data from Instruction Register or Data Register. When the JTAG interface
is enabled, this pin can not be used as an I/O pin.
The TD0 pin is tri-stated unless TAP states that shifts out data are entered.
TMS – Port C, Bit 3
TMS, JTAG Test Mode Select: This pin is used for navigating through the TAP-controller state machine. When the
JTAG interface is enabled, this pin can not be used as an I/O pin.
TCK – Port C, Bit 2
TCK, JTAG Test Clock: JTAG operation is synchronous to TCK. When the JTAG interface is enabled, this pin can
not be used as an I/O pin.
SDA – Port C, Bit 1
SDA, Two-wire Serial Interface Data: When the TWEN bit in TWCR is set (one) to enable the Two-wire Serial Inter-
face, pin PC1 is disconnected from the port and becomes the Serial Data I/O pin for the Two-wire Serial Interface.
In this mode, there is a spike filter on the pin to suppress spikes shorter than 50 ns on the input signal, and the pin
is driven by an open drain driver with slew-rate limitation. When this pin is used by the Two-wire Serial Interface,
the pull-up can still be controlled by the PORTC1 bit.
SCL – Port C, Bit 0
SCL, Two-wire Serial Interface Clock: When the TWEN bit in TWCR is set (one) to enable the Two-wire Serial
Interface, pin PC0 is disconnected from the port and becomes the Serial Clock I/O pin for the Two-wire Serial Inter-
face. In this mode, there is a spike filter on the pin to suppress spikes shorter than 50 ns on the input signal, and
the pin is driven by an open drain driver with slew-rate limitation. When this pin is used by the Two-wire Serial Inter-
face, the pull-up can still be controlled by the PORTC0 bit.
Table 12-10 and Table 12-11 relate the alternate functions of Port C to the overriding signals shown in Figure 12-5
on page 56.
Table 13-10. Overriding Signals for Alternate Functions in PC7:PC4
Signal
Name PC7/TOSC2 PC6/TOSC1 PC5/TDI PC4/TDO
PUOE AS2 AS2 JTAGEN JTAGEN
PUOV 0 0 1 0
DDOE AS2 AS2 JTAGEN JTAGEN
DDOV 0 0 0 SHIFT_IR + SHIFT_DR
PVOE 0 0 0 JTAGEN
PVOV 0 0 0 TDO
DIEOE AS2 AS2 JTAGEN JTAGEN
DIEOV 0 0 0 0
DI
AIO T/C2 OSC OUTPUT T/C2 OSC INPUT TDI