![]() |
nRF5 SDK
v16.0.0
|
| Choose documentation: | nRF5 SDK | S112 SoftDevice API | S113 SoftDevice API | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API | S312 SoftDevice API | S332 SoftDevice API | S340 SoftDevice API |
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.
| 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.