beautypg.com

Alternate functions of port c, Atmega162/v – Rainbow Electronics ATmega162V User Manual

Page 74

background image

74

ATmega162/V

2513E–AVR–09/03

Alternate Functions of Port C

The Port C pins with alternate functions are shown in Table 35. If the JTAG interface is
enabled, the pull-up resistors on pins PC7(TDI), PC5(TMS) and PC4(TCK) will be acti-
vated even if a reset occurs.

• A15/TDI/PCINT15 – Port C, Bit 7

A15, External memory interface address bit 15.

TDI, JTAG Test Data In: Serial input data to be shifted into the Instruction Register or
Data Register (scan chains). When the JTAG interface is enabled, this pin can not be
used as an I/O pin.

PCINT15: The pin can also serve as a pin change interrupt.

• A14/TDO/PCINT14 – Port C, Bit 6

A14, External memory interface address bit 14.

TDO, JTAG Test Data Out: Serial output data from Instruction Register or Data Regis-
ter. When the JTAG interface is enabled, this pin can not be used as an I/O pin. In TAP
states that shift out data, the TD0 pin drives actively. In other states the pin is pulled
high.

PCINT14: The pin can also serve as a pin change interrupt.

Table 35. Port C Pins Alternate Functions

Port Pin

Alternate Function

PC7

A15 (External memory interface address bit 15)

TDI (JTAG Test Data Input)

PCINT15 (Pin Change INTerrupt 15)

PC6

A14 (External memory interface address bit 14)

TDO (JTAG Test Data Output)

PCINT14 (Pin Change INTerrupt 14)

PC5

A13 (External memory interface address bit 13)

TMS (JTAG Test Mode Select)

PCINT13 (Pin Change INTerrupt 13)

PC4

A12 (External memory interface address bit 12)

TCK (JTAG Test Clock)

PCINT12 (Pin Change INTerrupt 12)

PC3

A11 (External memory interface address bit 11)

PCINT11 (Pin Change INTerrupt 11)

PC2

A10 (External memory interface address bit 10)

PCINT10 (Pin Change INTerrupt 10)

PC1

A9 (External memory interface address bit 9)

PCINT9 (Pin Change INTerrupt 9)

PC0

A8 (External memory interface address bit 8)

PCINT8 (Pin Change INTerrupt 8)