ATmega32U2 Atmel Corporation, ATmega32U2 Datasheet - Page 21
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATmega32U2
Manufacturer Part Number
ATmega32U2
Description
Manufacturer
Atmel Corporation
Specifications of ATmega32U2
Flash (kbytes)
32 Kbytes
Pin Count
32
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
12
Hardware Qtouch Acquisition
No
Max I/o Pins
22
Ext Interrupts
20
Usb Transceiver
1
Usb Speed
Full Speed
Usb Interface
Device
Spi
2
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
1
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
2
Output Compare Channels
5
Input Capture Channels
1
Pwm Channels
4
32khz Rtc
No
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
7618C–AVR–07/08
entry_flash_read_sig:
entry_flash_read_fuse:
entry_flash_fill_temp_buffer:
entry_flash_prg_page:
entry_flash_page_erase:
entry_lock_wr_bits:
RSEGBOOT
;*F************************************************************************
**
; NAME: flash_page_erase_and_write
;--------------------------------------------------------------------------
--
; PARAMS:
;--------------------------------------------------------------------------
--
; PURPOSE: This function can be called for the user appplication
; This function performs an erase operation of the selected target page and
; the launch the prog sequence of the same target page.
; This function allows to save the 256 bytes software temporary buffer in
; the application section
;**************************************************************************
**
flash_page_erase_and_write:
;*F************************************************************************
**
; NAME: flash_prg_page
;--------------------------------------------------------------------------
--
; PARAMS: R18:17:R16: The byte address of the page
;--------------------------------------------------------------------------
--
; PURPOSE:
JMP flash_page_erase_and_write
JMP
JMP
JMP
JMP
JMP
JMP
PUSH
RCALL flash_page_erase
POP
RCALL flash_prg_page
RET
flash_read_sig
flash_read_fuse
flash_fill_temp_buffer
flash_prg_page
flash_page_erase_public
lock_wr_bits
R18
R18
R18:17:R16: The byte address of the page
Launch the prog sequence of the target page
21