XMC Peripheral Library for XMC4000 Family
2.1.16
|
#include <xmc_usbh.h>
Data Fields | |
uint8_t * | data |
uint16_t | ep_max_packet_size |
uint8_t | ep_type |
uint8_t | event |
uint8_t | in_use |
uint8_t | interrupt_triggered |
uint16_t | interval |
uint16_t | interval_reload |
uint32_t | num |
uint32_t | num_transferred_total |
uint32_t | num_transferring |
uint32_t | packet |
uint8_t | transfer_active |
Field Documentation
uint8_t* data |
Holds address of data buffer. It represents source buffer for OUT or SETUP transfer and destination address for IN transfer
uint16_t ep_max_packet_size |
Maximum packet size for the selected pipe
uint8_t ep_type |
Endpoint type for selected pipe
uint8_t event |
Holds pipe specific event flags
uint8_t in_use |
Set to true when transfer is in progress and reset only after the /ref num of bytes is transferred
uint8_t interrupt_triggered |
For INTERRUPT or ISOCHRONOUS pipe, indicates if retransmit timeout has occurred
uint16_t interval |
For INTERRUPT or ISOCHRONOUS pipe, it represents the decrementing count to reach 0 for initiating retransmission
uint16_t interval_reload |
For INTERRUPT or ISOCHRONOUS pipe, it represents the period for repeated transfer
uint32_t num |
Number of bytes of data to be transmitted
uint32_t num_transferred_total |
Number of bytes transmitted or received at the moment
uint32_t num_transferring |
Number of bytes being transmitted currently
uint32_t packet |
Holds packet token and PID information of ongoing data packet transaction
uint8_t transfer_active |
Set to true when a transfer has been initiated and reset when event for transfer complete occurs
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