Alternate functions of port f, Atmega169v/l – Rainbow Electronics Atmega169L User Manual
Page 67

67
ATmega169V/L
2514A–AVR–08/02
Note:
1. AIN0D and AIN1D is described in “Digital Input Disable Register 0 – DIDR0” on page
Alternate Functions of Port F
The Port F has an alternate function as analog input for the ADC as shown in Table 41.
If some Port F pins are configured as outputs, it is essential that these do not switch
when a conversion is in progress. This might corrupt the result of the conversion. If the
JTAG interface is enabled, the pull-up resistors on pins PF7(TDI), PF5(TMS) and
PF4(TCK) will be activated even if a reset occurs.
• TDI, ADC7 – Port F, Bit 7
ADC7, Analog to Digital Converter, Channel 7
.
TDI, JTAG Test Data In: Serial input data to be shifted in to 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.
Table 40. Overriding Signals for Alternate Functions in PE3..PE0
Signal
Name
PE3/AIN1/
PCINT3
PE2/XCK/AIN0/
PCINT2
PE1/TXD/
PCINT1
PE0/RXD/PCINT0
PUOE
0
XCK OUTPUT
ENABLE
TXEN
RXEN
PUOV
0
XCK
0
PORTE0 • PUD
DDOE
0
0
TXEN
RXEN
DDOV
0
0
1
0
PVOE
0
0
TXEN
0
PVOV
0
0
TXD
0
PTOE
–
–
–
–
DIEOE
(PCINT3 •
PCIE0) +
AIN1D
(PCINT2 • PCIE0) +
AIN0D
PCINT1 •
PCIE0
PCINT0 • PCIE0
DIEOV
PCINT3 • PCIE0
PCINT2 • PCIE0
1
1
DI
PCINT3 INPUT
XCK/PCINT2 INPUT
PCINT1 INPUT
RXD/PCINT0
INPUT
AIO
AIN1 INPUT
AIN0 INPUT
–
–
Table 41. Port F Pins Alternate Functions
Port Pin
Alternate Function
PF7
ADC7/TDI (ADC input channel 7 or JTAG Test Data Input)
PF6
ADC6/TDO (ADC input channel 6 or JTAG Test Data Output)
PF5
ADC5/TMS (ADC input channel 5 or JTAG Test mode Select)
PF4
ADC4/TCK (ADC input channel 4 or JTAG Test ClocK)
PF3
ADC3 (ADC input channel 3)
PF2
ADC2 (ADC input channel 2)
PF1
ADC1 (ADC input channel 1)
PF0
ADC0 (ADC input channel 0)