nrf_drv_usbd_evt_t

nRF5 SDK v12.2.0

Event structure. More...

#include <nrf_drv_usbd.h>

Data Fields

nrf_drv_usbd_event_type_t type
union {
struct {
uint16_t framecnt
Current value of frame counter.
} sof
Data aviable for NRF_DRV_USBD_EVT_SOF .
struct {
nrf_drv_usbd_ep_t ep
Endpoint number.
} isocrc
struct {
nrf_drv_usbd_ep_t ep
Endpoint number.
nrf_drv_usbd_ep_status_t status
Status for the endpoint.
} eptransfer
} data

Detailed Description

Event structure.

Structure passed to event handler

  • components/drivers_nrf/usbd/nrf_drv_usbd.h