nrf_drv_usbd_transfer_t

nRF5 SDK v12.2.0

The structure to be filled with the information about next transfer. More...

#include <nrf_drv_usbd.h>

Data Fields

union {
void const * tx
Constant tx buffer pointer.
void * rx
Writable rx buffer pointer.
uint32_t ptr
Numeric value used internally by the library.
} p_data
Union with available data pointers used by the library.
size_t size
Size of the requested transfer.

Detailed Description

The structure to be filled with the information about next transfer.

When the next transfer is set as a buffer it would get a pointer to this structure to fill it with required transfer data.

  • components/drivers_nrf/usbd/nrf_drv_usbd.h