Datasheet

899
32117D–AVR-01/12
AT32UC3C
RXINI should always be cleared before clearing FIFOCON to avoid missing an RXINI event.
Figure 32-19. Example of an IN pipe with one data bank
Figure 32-20. Example of an IN pipe with two data banks
• Multi packet mode for IN pipes
See ”Multi packet mode for OUT endpoints” on page 890 and just replace OUT endpoints with
IN pipe.
32.6.3.12 Management of OUT pipes
• Overview
OUT packets are sent by the host. All the data can be written, acknowledging whether or not the
bank is full.
• Detailed description
The pipe and its descriptor in RAM must be pre configured.
When the current bank is clear, the Transmitted OUT Data Interrupt (TXOUTI) and FIFO Control
(UPSTAn.FIFOCON) bits will be set simultaneously. This triggers a PnINT interrupt if the Trans-
mitted OUT Data Interrupt Enable bit (UPCONn.TXOUTE) is one.
IN
DATA
(bank 0)
ACK
RXINI
FIFOCON
HW
IN
DATA
(bank 0)
ACK
HW
SW
SW
SW
read data from CPU
BANK 0
read data from CPU
BANK 0
IN
DATA
(bank 0)
ACK
RXINI
FIFOCON
HW
IN
DATA
(bank 1)
ACK
SW
SW
read data from CPU
BANK 0
HW
SW
read data from CPU
BANK 1