ATmega32U4 Atmel Corporation, ATmega32U4 Datasheet - Page 168

no-image

ATmega32U4

Manufacturer Part Number
ATmega32U4
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega32U4

Flash (kbytes)
32 Kbytes
Pin Count
44
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
14
Hardware Qtouch Acquisition
No
Max I/o Pins
26
Ext Interrupts
13
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
2
Twi (i2c)
1
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
12
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
3.3
Eeprom (bytes)
1024
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
4
Output Compare Channels
12
Input Capture Channels
2
Pwm Channels
8
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATmega32U4-16AU
Manufacturer:
MAXIM
Quantity:
1 000
Part Number:
ATmega32U4-AU
Manufacturer:
FREESCALE
Quantity:
125
Part Number:
ATmega32U4-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega32U4-AU
Manufacturer:
MICROCHIP
Quantity:
200
Part Number:
ATmega32U4-AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega32U4-MUR
Manufacturer:
UCC
Quantity:
1 001
Part Number:
ATmega32U4RC-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega32U4RC-AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega32U4RC-MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
15.12.4
7766F–AVR–11/10
TCCR4D – Timer/Counter4 Control Register D
Table 15-18. Compare Output Mode, Phase and Frequency Correct PWM Mode
• Bit 1 - FOC4D: Force Output Compare Match 4D
The FOC4D bit is only active when the PWM4D bit specify a non-PWM mode.
Writing a logical one to this bit forces a change in the Waveform Output (OCW4D) and the Out-
put Compare pin (OC4D) according to the values already set in COM4D1 and COM4D0. If
COM4D1 and COM4D0 written in the same cycle as FOC4D, the new settings will be used. The
Force Output Compare bit can be used to change the output pin value regardless of the timer
value. The automatic action programmed in COM4D1 and COM4D0 takes place as if a compare
match had occurred, but no interrupt is generated. The FOC4D bit is always read as zero.
• Bit 0 - PWM4D: Pulse Width Modulator D Enable
When set (one) this bit enables PWM mode based on comparator OCR4D.
• Bit 7 - FPIE4: Fault Protection Interrupt Enable
Setting this bit (to one) enables the Fault Protection Interrupt.
• Bit 6– FPEN4: Fault Protection Mode Enable
Setting this bit (to one) activates the Fault Protection Mode.
• Bit 5 – FPNC4: Fault Protection Noise Canceler
Setting this bit activates the Fault Protection Noise Canceler. When the noise canceler is acti-
vated, the input from the Fault Protection Pin (INT0) is filtered. The filter function requires four
successive equal valued samples of the INT0 pin for changing its output. The Fault Protection is
therefore delayed by four Oscillator cycles when the noise canceler is enabled.
• Bit 4 – FPES4: Fault Protection Edge Select
This bit selects which edge on the Fault Protection pin (INT0) is used to trigger a fault event.
When the FPES4 bit is written to zero, a falling (negative) edge is used as trigger, and when the
FPES4 bit is written to one, a rising (positive) edge will trigger the fault.
Bit
Read/Write
Initial value
COM4D1..0
00
01
10
11
OCW4D Behavior
Normal port operation.
Cleared on Compare Match when up-counting.
Set on Compare Match when down-counting.
Cleared on Compare Match when up-counting.
Set on Compare Match when down-counting.
Set on Compare Match when up-counting.
Cleared on Compare Match when down-counting.
FPIE4
R/W
7
0
FPEN4
R/W
6
0
FPNC4
R/W
5
0
FPES4
R/W
4
0
FPAC4
R/W
3
0
FPF4
R/W
2
0
ATmega16/32U4
Disconnected
Connected
Connected
Connected
OC4D Pin
WGM41
R/W
1
0
WGM40
R/W
0
0
Disconnected
Disconnected
Disconnected
Connected
OC4D Pin
TCCR4D
168

Related parts for ATmega32U4