udc_fifo Struct Reference
[USB Device Controller (UDC)]

Internal state variables used by the FIFO accessors. More...

#include <udc_lib.h>

Data Fields

size_t buf_offset
 Offset into the head buffer.
size_t size
 Size of the FIFO aperture.
bool send_zlp
 True if a Zero-Length Packet is to be sent by the UDC driver at the next opportunity.

Detailed Description

Internal state variables used by the FIFO accessors.

Definition at line 107 of file udc_lib.h.


Field Documentation

Offset into the head buffer.

Definition at line 108 of file udc_lib.h.

Referenced by udc_fifo_init(), udc_fifo_read_data(), and udc_fifo_write_data().

True if a Zero-Length Packet is to be sent by the UDC driver at the next opportunity.

Todo:
This should be a request flag instead.

Definition at line 116 of file udc_lib.h.

Referenced by udc_fifo_init(), udc_fifo_write_data(), udc_fifo_zlp_clear_pending(), and udc_fifo_zlp_is_pending().

Size of the FIFO aperture.

Definition at line 109 of file udc_lib.h.

Referenced by udc_fifo_init(), and udc_fifo_write_data().


The documentation for this struct was generated from the following file:
Generated on Thu Apr 29 14:10:36 2010 for xplain-bc by  doxygen 1.6.3