atmega32u4-16mu ATMEL Corporation, atmega32u4-16mu Datasheet - Page 75

no-image

atmega32u4-16mu

Manufacturer Part Number
atmega32u4-16mu
Description
Atmega32u4 8-bit Avr Microcontroller With 32k Bytes Of Isp Flash And Usb Controller
Manufacturer
ATMEL Corporation
Datasheet
10.3.4
7766A–AVR–03/08
Alternate Functions of Port D
The Port D pins with alternate functions are shown in
Table 10-8.
The alternate pin configuration is as follows:
• T0/OC.4D/ADC10 – Port D, Bit 7
T0, Timer/Counter0 counter source.
OC.4D: Timer 4 Output Compare D. This pin can be used to generate a high-speed PWM signal
from Timer 4 module. The pin has to be configured as an output (DDD7 set “one”) to serve this
function.
ADC10: Analog to Digital Converter, Channel 10.
• T1/OC.4D/ADC9 – Port D, Bit 6
T1, Timer/Counter1 counter source.
OC.4D: Timer 4 Output Compare D. This pin can be used to generate a high-speed PWM signal
from Timer 4 module, complementary to OC.4D (PD7) signal. The pin has to be configured as
an output (DDD6 set “one”) to serve this function.
ADC9: Analog to Digital Converter, Channel 9
• XCK1/CTS – Port D, Bit 5
XCK1, USART1 External clock. The Data Direction Register (DDD5) controls whether the clock
is output (DDD5 set) or input (DDD5 cleared). The XCK1 pin is active only when the USART1
operates in Synchronous mode.
CTS: Clear-To-Send flow control signal used by enhanced UART module.
• ICP1/ADC8 – Port D, Bit 4
ICP1 – Input Capture Pin 1: The PD4 pin can act as an input capture pin for Timer/Counter1.
Port Pin
PD7
PD6
PD5
PD4
PD3
PD2
PD1
PD0
Alternate Function
T0/OC.4D/ADC10 (Timer/Counter0 Clock Input or Timer 4 Output Compare D /
PWM output or Analog to Digital Converter channel 10)
T1/OC.4D/ADC9 (Timer/Counter1 Clock Input or Timer 4 Output
Complementary Compare D / PWM output or Analog to Digital Converter
channel 9)
XCK1/CTS (USART1 External Clock Input/Output or UART flow control CTS
signal)
ICP1/ADC8 (Timer/Counter1 Input Capture Trigger or Analog to Digital
Converter channel 8)
INT3/TXD1 (External Interrupt3 Input or USART1 Transmit Pin)
INT2/RXD1 (External Interrupt2 Input or USART1 Receive Pin)
INT1/SDA/OC2B (External Interrupt1 Input or TWI Serial DAta or Output
Compare for Timer/Counter2)
INT0/SCL/OC0B (External Interrupt0 Input or TWI Serial CLock or Output
Compare for Timer/Counter0)
Port D Pins Alternate Functions
.
Table
10-8.
ATmega32U4
75

Related parts for atmega32u4-16mu