Module avrd::atmega32u2 [] [src]

The AVR ATmega32U2 microcontroller

Variants

Pinout Package Operating temperature Operating voltage Max speed
ATmega32U2-AU QUAD TQFP32 -40°C - 85°C 2.7V - 5.5V 16 MHz
ATmega32U2-MU QUAD QFN32 -40°C - 85°C 2.7V - 5.5V 16 MHz

Registers by module (not exhaustive)

PORT modules

  • PORTB
    • PB0 (PB0)
    • PB1 (PB1)
    • PB2 (PB2)
    • PB3 (PB3)
    • PB4 (PB4)
    • PB5 (PB5)
    • PB6 (PB6)
    • PB7 (PB7)
  • PORTD
    • PD0 (PD0)
    • PD1 (PD1)
    • PD2 (PD2)
    • PD3 (PD3)
    • PD4 (PD4)
    • PD5 (PD5)
    • PD6 (PD6)
    • PD7 (PD7)
  • PORTC
    • PC0 (PC0)
    • PC1 (PC1)
    • PC2 (PC2)
    • PC3 (PC3)
    • PC4 (PC4)
    • PC5 (PC5)
    • PC6 (PC6)
    • PC7 (PC7)

EEPROM modules

  • EEPROM

USART modules

  • USART1
    • PD2 (PD2)
    • PD3 (PD3)
    • PD5 (PD5)
    • PD6 (PD6)
    • PD7 (PD7)

Constants

ACMUX

Analog Comparator Input Multiplexer.

ACSR

Analog Comparator Control And Status Register.

CLKPR
CLKSEL0
CLKSEL1
CLKSTA
DDRB

Port B Data Direction Register.

DDRC

Port C Data Direction Register.

DDRD

Port D Data Direction Register.

DIDR1
DWDR

debugWire communication register.

EEAR

EEPROM Address Register Low Bytes.

EEARH

EEPROM Address Register Low Bytes high byte.

EEARL

EEPROM Address Register Low Bytes low byte.

EECR

EEPROM Control Register.

EEDR

EEPROM Data Register.

EICRA

External Interrupt Control Register A.

EICRB

External Interrupt Control Register B.

EIFR

External Interrupt Flag Register.

EIMSK

External Interrupt Mask Register.

EIND

Extended Indirect Register.

EXTENDED
GPIOR0

General Purpose IO Register 0.

GPIOR1

General Purpose IO Register 1.

GPIOR2

General Purpose IO Register 2.

GTCCR

General Timer/Counter Control Register.

HIGH
ICR1

Timer/Counter1 Input Capture Register Bytes.

ICR1H

Timer/Counter1 Input Capture Register Bytes high byte.

ICR1L

Timer/Counter1 Input Capture Register Bytes low byte.

LOCKBIT
LOW
MCUCR

MCU Control Register.

MCUSR

MCU Status Register.

OCR0A

Timer/Counter0 Output Compare Register.

OCR0B

Timer/Counter0 Output Compare Register.

OCR1A

Timer/Counter1 Output Compare Register A Bytes.

OCR1AH

Timer/Counter1 Output Compare Register A Bytes high byte.

OCR1AL

Timer/Counter1 Output Compare Register A Bytes low byte.

OCR1B

Timer/Counter1 Output Compare Register B Bytes.

OCR1BH

Timer/Counter1 Output Compare Register B Bytes high byte.

OCR1BL

Timer/Counter1 Output Compare Register B Bytes low byte.

OCR1C

Timer/Counter1 Output Compare Register C Bytes.

OCR1CH

Timer/Counter1 Output Compare Register C Bytes high byte.

OCR1CL

Timer/Counter1 Output Compare Register C Bytes low byte.

OSCCAL

Oscillator Calibration Value.

PCICR

Pin Change Interrupt Control Register.

PCIFR

Pin Change Interrupt Flag Register.

PCMSK0

Pin Change Mask Register 0.

PCMSK1

Pin Change Mask Register 1.

PINB

Port B Input Pins.

PINC

Port C Input Pins.

PIND

Port D Input Pins.

PLLCSR

PLL Status and Control register.

PORTB

Port B Data Register.

PORTC

Port C Data Register.

PORTD

Port D Data Register.

PRR0

Power Reduction Register0.

PRR1

Power Reduction Register1.

REGCR

Regulator Control Register.

SMCR

Sleep Mode Control Register.

SP

Stack Pointer.

SPCR

SPI Control Register.

SPDR

SPI Data Register.

SPH

Stack Pointer high byte.

SPL

Stack Pointer low byte.

SPMCSR

Store Program Memory Control Register.

SPSR

SPI Status Register.

SREG

Status Register.

TCCR0A

Timer/Counter Control Register A.

TCCR0B

Timer/Counter Control Register B.

TCCR1A

Timer/Counter1 Control Register A.

TCCR1B

Timer/Counter1 Control Register B.

TCCR1C

Timer/Counter 1 Control Register C.

TCNT0

Timer/Counter0.

TCNT1

Timer/Counter1 Bytes.

TCNT1H

Timer/Counter1 Bytes high byte.

TCNT1L

Timer/Counter1 Bytes low byte.

TIFR0

Timer/Counter0 Interrupt Flag register.

TIFR1

Timer/Counter1 Interrupt Flag register.

TIMSK0

Timer/Counter0 Interrupt Mask Register.

TIMSK1

Timer/Counter1 Interrupt Mask Register.

UBRR1

USART Baud Rate Register Bytes.

UBRR1H

USART Baud Rate Register Bytes high byte.

UBRR1L

USART Baud Rate Register Bytes low byte.

UCSR1A

USART Control and Status Register A.

UCSR1B

USART Control and Status Register B.

UCSR1C

USART Control and Status Register C.

UCSR1D

USART Control and Status Register D.

UDADDR

USB Device Address Register.

UDCON

USB Device Control Registers.

UDFNUM

USB Device Frame Number High Register.

UDFNUMH

USB Device Frame Number High Register high byte.

UDFNUML

USB Device Frame Number High Register low byte.

UDIEN

USB Device Interrupt Enable Register.

UDINT

USB Device Interrupt Register.

UDMFN

USB Device Micro Frame Number.

UDR1

USART I/O Data Register.

UEBCLX

USB Endpoint Byte Count Register.

UECFG0X

USB Endpoint Configuration 0 Register.

UECFG1X

USB Endpoint Configuration 1 Register.

UECONX

USB Endpoint Control Register.

UEDATX

USB Data Endpoint.

UEIENX

USB Endpoint Interrupt Enable Register.

UEINT

USB Endpoint Number Interrupt Register.

UEINTX

USB Endpoint Interrupt Register.

UENUM

USB Endpoint Number.

UERST

USB Endpoint Reset Register.

UESTA0X

USB Endpoint Status 0 Register.

UESTA1X

USB Endpoint Status 1 Register.

UPOE

USB Software Output Enable register.

USBCON

USB General Control Register.

WDTCKD

Watchdog Timer Clock Divider.

WDTCSR

Watchdog Timer Control Register.