nRF5 SDK v17.1.0
Data Fields
nrfx_usbd_evt_t Struct Reference

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

union { ... } nrfx_usbd_evt_t::data

Union to store event data.

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.

nrfx_usbd_event_type_t nrfx_usbd_evt_t::type

Event type.


The documentation for this struct was generated from the following file:

Documentation feedback | Developer Zone | Subscribe | Updated