ATmega32U4 Atmel Corporation, ATmega32U4 Datasheet - Page 165

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.2
7766F–AVR–11/10
TCCR4B – Timer/Counter4 Control Register B
value. The automatic action programmed in COM4A1 and COM4A0 takes place as if a compare
match had occurred, but no interrupt is generated. The FOC4A bit is always read as zero.
• Bit 2 - FOC4B: Force Output Compare Match 4B
The FOC4B bit is only active when the PWM4B bit specify a non-PWM mode.
Writing a logical one to this bit forces a change in the Waveform Output (OCW4B) and the Out-
put Compare pin (OC4B) according to the values already set in COM4B1 and COM4B0. If
COM4B1 and COM4B0 written in the same cycle as FOC4B, 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 COM4B1 and COM4B0 takes place as if a compare
match had occurred, but no interrupt is generated.
The FOC4B bit is always read as zero.
• Bit 1 - PWM4A: Pulse Width Modulator A Enable
When set (one) this bit enables PWM mode based on comparator OCR4A
• Bit 0 - PWM4B: Pulse Width Modulator B Enable
When set (one) this bit enables PWM mode based on comparator OCR4B.
• Bit 7 - PWM4X: PWM Inversion Mode
When this bit is set (one), the PWM Inversion Mode is selected and the Dead Time Generator
outputs, OC4x and OC4x are inverted.
• Bit 6 - PSR4: Prescaler Reset Timer/Counter4
When this bit is set (one), the Timer/Counter4 prescaler (TCNT4 is unaffected) will be reset. The
bit will be cleared by hardware after the operation is performed. Writing a zero to this bit will have
no effect. This bit will always read as zero.
• Bits 5,4 - DTPS41, DTPS40: Dead Time Prescaler Bits
The Timer/Counter4 Control Register B is a 8-bit read/write register.
The dedicated Dead Time prescaler in front of the Dead Time Generator can divide the
Timer/Counter4 clock (PCK or CK) by 1, 2, 4 or 8 providing a large range of dead times that can
be generated. The Dead Time prescaler is controlled by two bits DTPS41 and DTPS40 from the
Dead Time Prescaler register. These bits define the division factor of the Dead Time prescaler.
The division factors are given in
Bit
Read/Write
Initial value
PWM4X
R/W
7
0
PSR4
R/W
6
0
Table
DTPS41
R/W
5
0
15-14.
DTPS40
R/W
4
0
CS43
R/W
3
0
CS42
R/W
2
0
ATmega16/32U4
CS41
R/W
1
0
CS40
R/W
0
0
TCCR4B
165

Related parts for ATmega32U4