app_usbd_setup_t

nRF5 SDK v13.1.0

Internal redefinition of setup structure. More...

#include <app_usbd_request.h>

Data Fields

uint8_t bmRequestType
Setup type bitfield.
uint8_t bmRequest
One of app_usbd_setup_stdrequest_t values or class dependent one.
app_usbd_setup_w_t wValue
byte 2, 3
app_usbd_setup_w_t wIndex
byte 4, 5
app_usbd_setup_w_t wLength
byte 6, 7

Detailed Description

Internal redefinition of setup structure.

Redefinition of the structure to simplify changes in the future if required - app_usbd API would present setup data using app_usbd_setup_t .

The structure layout is always the same like nrf_drv_usbd_setup_t

  • components/libraries/usbd/app_usbd_request.h