English
Language : 

EFM32WG Datasheet, PDF (268/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.15. Normal Interrupt OUT/IN Transactions in Slave Mode
i n i t_ r e g(c h_2)
set_ch_en
( ch_2)
read_rx_st s
r e a d_ r x_ f i f o
read_rx_st s
i n i t_ r e g(c h_2)
set_ch_en
( ch_2)
Applicat ion
1
init_reg( ch_1)
1
writ e_t x_fifo
(ch_1)
2
2
AHB
1
MPS
6
init_reg( ch_1)
writ e_t x_fifo
(ch_1)
6
7
9
XFERCOMPL int errupt
1
MPS
RXFLVL int errupt
1
MPS
RXFLVL int errupt
XFERCOMPL int errupt
init_reg( ch_1)
writ e_t x_fifo
(ch_1)
XFERCOMPL int errupt
1
MPS
H ost
USB
D e v ice
3
ch_1
4
ch_2
3
5
4
5
Periodic Request Queue
Assum e that this queue
can hold4 ent rie.s
OUT
DATA0
M PS
ACK
IN
DATA0
Odd
fram e
ACK
8
ch_1
ch_2
OUT
DATA1
MPS
ACK
IN
Ev e n
fram e
DATA1
Interrupt Service Routine for Interrupt OUT Transactions in Slave Mode
Interrupt OUT
Unmask (NAK/XACTERR/STALL/XFERCOMPL/FRMOVRUN)
if (XFERCOMPL)
{
Reset Error Count
Mask ACK
De-allocate Channel
}
else if (STALL or FRMOVRUN)
{
Mask ACK
Unmask CHHLTD
Disable Channel
if (STALL)
{
Transfer Done = 1
}
2013-05-08 - Wonder Gecko Family - d0233_Rev0.50
268
www.energymicro.com