XMC Peripheral Library for XMC4000 Family
2.1.16
|
#include <xmc_usbd.h>
Data Fields | |
uint8_t * | inBuffer |
uint32_t | inBufferSize |
volatile uint32_t | inInUse: 1 |
uint32_t | isConfigured: 1 |
uint32_t | isStalled: 1 |
uint32_t | maxPacketSize: 7 |
uint32_t | maxTransferSize: 19 |
uint8_t * | outBuffer |
uint32_t | outBufferSize |
uint32_t | outBytesAvailable |
volatile uint32_t | outInUse: 1 |
uint32_t | outOffset |
uint32_t | sendZeroLengthPacket: 1 |
uint32_t | txFifoNum: 4 |
uint32_t | type: 2 |
uint8_t * | xferBuffer |
uint32_t | xferCount |
uint32_t | xferLength |
uint32_t | xferTotal |
uint32_t | address: 8 |
uint32_t | direction: 1 |
uint32_t | number: 4 |
uint32_t | pading: 3 |
Detailed Description
Describes a USB endpoint
All information to control an endpoint is stored in this structure. It contains information about the endpoints and the status of the device.
Field Documentation
uint32_t address |
The endpoint address including the direction
uint32_t direction |
The endpoint direction
uint8_t* inBuffer |
The buffer for operation as IN endpoint
uint32_t inBufferSize |
The size of the EP IN buffer
volatile uint32_t inInUse |
Sets if the selected USB IN endpoint is currently in use
uint32_t isConfigured |
The flag showing, if the endpoint is configured
uint32_t isStalled |
Sets if the selected USB endpoint is stalled.
uint32_t maxPacketSize |
The maximum size of packet for USB endpoint ( due to FS Speed device only 64 Byte )
uint32_t maxTransferSize |
The maximum amount of data the core can send at once.
uint32_t number |
The endpoint number.It can be from 0 to 6
uint8_t* outBuffer |
The buffer for operation as OUT endpoint
uint32_t outBufferSize |
The size of the EP OUT buffer
uint32_t outBytesAvailable |
The number of bytes available in the EP OUT buffer
volatile uint32_t outInUse |
Sets if the selected USB OUT endpoint is currently in use
uint32_t outOffset |
The read offset of the EP OUT buffer
uint32_t pading |
Padding between number and direction
uint32_t sendZeroLengthPacket |
If set, a zero length packet will be send at the end of the transfer
uint32_t txFifoNum |
Endpoint transmit Fifo Number
uint32_t type |
The endpoint type
uint8_t* xferBuffer |
The buffer of the current transfer
uint32_t xferCount |
Bytes transfered of the current USB data transfer
uint32_t xferLength |
The length of the current transfer
uint32_t xferTotal |
The length of total data in buffer
The documentation for this struct was generated from the following file:
Generated on Mon Aug 7 2017 11:33:58 for XMC Peripheral Library for XMC4000 Family by 1.8.11