at43usb320a ATMEL Corporation, at43usb320a Datasheet - Page 21

no-image

at43usb320a

Manufacturer Part Number
at43usb320a
Description
Full-speed Usb Microcontroller With An Embedded Hub
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at43usb320a-AC
Manufacturer:
Atmel
Quantity:
10 000
1443E–USB–4/04
The most typical and general program setup for the Reset and Interrupt Vector Addresses are:
USB related interrupt events are routed to reset vectors 13 and 2 through a separate set of
interrupt, interrupt enable and interrupt mask registers that are mapped to the data SRAM
space. These interrupts must be enabled though their control register bits. In the event an
interrupt is generated, the source of the interrupt is identified by reading the interrupt registers.
The USB frame and transaction related interrupt events, such as Start of Frame interrupt, are
grouped in one set of registers: USB Interrupt Flag Register and USB Interrupt Enable Regis-
ter. The USB Bus reset and suspend/resume are grouped in another set of registers:
Suspend/Resume Register and Suspend/Resume Interrupt Enable Register.
Address
$000
$004
$00E
$018
;
$00d
start
$00e
$00f
$010
$011
...
Labels
MAIN:
...
Code
jmp
jmp
jmp
jmp
ldi r16, high (RAMEND)
out SPH, r16
ldi r16, low (RAMEND)
out SPL, r16
<instr> xxx
...
RESET
EXT_INT1
TIM0_OVF
USB_HW
...
AT43USB320A
Comments
; Reset Handler
; IRQ1 Handler
; Timer0 Overflow
Handler
; USB Handler
; Main Program
21

Related parts for at43usb320a