nrfx_usbd_evt_t

nRF5 SDK v15.3.0

Event structure. More...

#include <nrfx_usbd.h>

Data Fields

nrfx_usbd_event_type_t type
union {
struct {
uint16_t framecnt
} sof
struct {
nrfx_usbd_ep_t ep
} isocrc
struct {
nrfx_usbd_ep_t ep
nrfx_usbd_ep_status_t status
} eptransfer
} data

Detailed Description

Event structure.

Structure passed to event handler.

Field Documentation

nrfx_usbd_ep_t nrfx_usbd_evt_t::ep

Endpoint number.

uint16_t nrfx_usbd_evt_t::framecnt

Current value of frame counter.

struct { ... } nrfx_usbd_evt_t::sof

Data available for NRFX_USBD_EVT_SOF .

nrfx_usbd_ep_status_t nrfx_usbd_evt_t::status

Status for the endpoint.

  • modules/nrfx/drivers/include/nrfx_usbd.h