![]() |
nrfx 4.5.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 | |
Event structure.
Structure passed to event handler.
| union { ... } nrfx_usbd_evt_t::data |
Union to store event data.
| nrfx_usbd_ep_t nrfx_usbd_evt_t::ep |
Endpoint number.
| struct { ... } nrfx_usbd_evt_t::eptransfer |
Endpoint transfer status.
| uint16_t nrfx_usbd_evt_t::framecnt |
Current value of frame counter.
| struct { ... } nrfx_usbd_evt_t::isocrc |
Isochronouns channel endpoint number.
| 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.