nRF5 SDK v15.2.0
Data Fields
app_usbd_complex_evt_t Union Reference

Complex event variable type. More...

#include <app_usbd_types.h>

Data Fields

app_usbd_event_type_t type
 Event type.
 
nrf_drv_usbd_evt_t drv_evt
 Events that comes directly from the driver. More...
 
app_usbd_setup_evt_t setup_evt
 Event structure with SETUP structure included. More...
 
app_usbd_evt_t app_evt
 Events that comes from the application driver. More...
 

Detailed Description

Complex event variable type.

A variable that can store any kind of event.

Field Documentation

app_usbd_evt_t app_usbd_complex_evt_t::app_evt

Events that comes from the application driver.

Use this event structure only for event type >= APP_USBD_EVT_FIRST_APP

nrf_drv_usbd_evt_t app_usbd_complex_evt_t::drv_evt

Events that comes directly from the driver.

Use this event structure only for event type < APP_USBD_EVT_FIRST_APP

app_usbd_setup_evt_t app_usbd_complex_evt_t::setup_evt

Event structure with SETUP structure included.

This structure is used in connection with APP_USBD_EVT_DRV_SETUP


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

Documentation feedback | Developer Zone | Subscribe | Updated