
69
ATmega8515(L)
2512A–AVR–04/02
Alternate Functions of Port D ThePort Dpinswith alternate functions are showninTable 35.
Thealternate pin configuration is asfollows:
•RD
–PortD,Bit7
RD
is the ExternalData memory readcontrolstrobe.
•W
R –PortD,Bit6
WR
is the ExternalData memory write controlstrobe.
• OC1A – Port D, Bit 5
OC1A,Output Compare Match Aoutput: ThePD5 pin can serve as an external output
for theTimer/Counter1 Output CompareA.The pin has to be configured as an output
(DDD5 set (one)) to serve thisfunction. The OC1A pin is alsothe output pin for the
PWM modetimerfunction.
• XCK – Port D, Bit 4
XCK, USART ExternalClock.The Data Direction Register (DDD4)controls whether the
clock is output (DDD4 set) or input (DDD4 cleared).The XCK pin is active only when
USART operates in Synchronous mode.
• INT1–PortD,Bit3
INT1,ExternalInterrupt source1: ThePD3 pin can serve as an external interrupt
source.
•INT0/XCK1–PortD,Bit2
INT0,ExternalInterrupt Source0: ThePD2 pin can serve as an external interrupt
source.
XCK1,ExternalClock.The Data Direction Register (DDD2)controls whether the clock is
output (DDD2 set) or input (DDD2 cleared).
•TXD–PortD,Bit1
TXD, Transmit Data (Data output pin forUSART). When the USART Transmitter is
enabled, thispin isconfigured as an output regardless of thevalue of DDD1.
Table 35. Port D Pins Alternate Functions
Port Pin Alternate Function
PD7 RD
(ReadStrobetoExternalMemory)
PD6 WR
(Write StrobetoExternalMemory)
PD5 OC1A (Timer/Counter1 Output CompareAMatch Output)
PD4 XCK (USART ExternalClock Input/Output)
PD3 INT1 (ExternalInterrupt1Input)
PD2 INT0 (ExternalInterrupt0Input)
PD1TXD (USART Output Pin)
PD0RXD (USART Input Pin)
Komentarze do niniejszej Instrukcji