User manual
...the world's most energy friendly microcontrollers
2012-04-24 - Giant Gecko Family - d0053_Rev0.96 257
www.energymicro.com
Table 15.1. Host Programming Operations
Mode IN OUT/SETUP
Control
Slave Bulk and Control IN Transactions in
Slave Mode (p. 261)
Bulk and Control OUT/SETUP
Transactions in Slave Mode (p. 259)
DMA Bulk and Control IN Transactions in
DMA Mode (p. 267)
Bulk and Control OUT/SETUP
Transactions in DMA Mode (p. 263)
Bulk
Slave Bulk and Control IN Transactions in
Slave Mode (p. 261)
Bulk and Control OUT/SETUP
Transactions in Slave Mode (p. 259)
DMA Bulk and Control IN Transactions in
DMA Mode (p. 267)
Bulk and Control OUT/SETUP
Transactions in DMA Mode (p. 263)
Interrupt
Slave Interrupt IN Transactions in Slave
Mode (p. 271)
Interrupt OUT Transactions in Slave
Mode (p. 269)
DMA Interrupt IN Transactions in DMA
Mode (p. 275)
Interrupt OUT Transactions in DMA
Mode (p. 273)
Isochronous
Slave Isochronous IN Transactions in Slave
Mode (p. 279)
Isochronous OUT Transactions in Slave
Mode (p. 277)
DMA Isochronous IN Transactions in DMA
Mode (p. 281)
Isochronous OUT Transactions in DMA
Mode (p. 280)
15.4.3.6.1 Writing the Transmit FIFO in Slave Mode
Figure 15.10 (p. 258) shows the flow diagram for writing to the transmit FIFO in Slave mode. The host
automatically writes an entry (OUT request) to the Periodic/Non-periodic Request Queue, along with the
last DWORD write of a packet. The application must ensure that at least one free space is available in
the Periodic/Non-periodic Request Queue before starting to write to the transmit FIFO. The application
must always write to the transmit FIFO in DWORDs. If the packet size is non-DWORD aligned, the
application must use padding. The host determines the actual packet size based on the programmed
maximum packet size and transfer size.