User manual
...the world's most energy friendly microcontrollers
2012-04-24 - Giant Gecko Family - d0053_Rev0.96 265
www.energymicro.com
Figure 15.13. Normal Bulk/Control OUT/SETUP and Bulk/Control IN Transactions in DMA Mode
A
C
K
HostApplication DeviceAHB USB
O
U
T
D
A
T
A
0
M
P
S
1
MPS
1
MPS
init_reg(ch_1)
init_reg(ch_2)
ch_2
ch_2
ch_1
ch_1
De- allocate
(ch_1)
I
N
ch_2
ch_2
ch_2
ch_1
A
C
K
O
U
T
D
A
T
A
1
M
P
S
3
1
A
C
K
D
A
T
A
0
I
N
A
C
K
D
A
T
A
1
1
MPS
1
MPS
1
2
2
5
4
5
De- allocate
(ch_2)
ch_2
8
6
3
4
7
CHHLTD int errupt
CHHLTD int errupt
Non-Periodic Request
Queue
Assum e that this queue can
hold 4 entries.
15.4.3.6.7.4 Handling Interrupts
The channel-specific interrupt service routine for bulk and control OUT/SETUP transactions in DMA
mode is shown in the following code samples.