English
Language : 

EFM32WG Datasheet, PDF (272/834 Pages) List of Unclassifed Manufacturers – The EFM32WG Wonder Gecko is the ideal choice for demanding 8-, 16-, and 32-bit energy sensitive applications.
...the world's most energy friendly microcontrollers
Figure 15.16. Normal Interrupt OUT/IN Transactions in DMA Mode
init_reg( ch_2)
Applicat ion
1
init_reg( ch_1)
1
AHB
1
MPS
5
init_reg( ch_1)
CHHLTD int errupt
1
MPS
H ost
2
ch_1
3
ch_2
2
4
3
USB
Periodic Request
Queue
Assum e that this
queue can hold
4 ent rie.s
D e v ice
OUT
DATA0
MPS
A CK
IN
Odd
fram e
DATA0
init_reg( ch_2)
5
1
ACK
MPS
CHHLTD int errupt
4
ch_1
ch_2
init_reg( ch_1)
CHHLTD int errupt
1
MPS
OUT
DATA1
MPS
ACK
IN
DATA1
Ev e n
fram e
15.4.3.6.11.2 Handling Interrupts
The following code sample shows the channel-specific ISR for an interrupt OUT transaction in DMA
mode.
Interrupt OUT
Unmask (CHHLTD)
if (CHHLTD)
{
if (XFERCOMPL)
{
Reset Error Count
Mask ACK
if (Transfer Done)
{
De-allocate Channel
}
else
{
2013-05-08 - Wonder Gecko Family - d0233_Rev0.50
272
www.energymicro.com