![]() |
nRF5 SDK
v15.3.0
|
Choose documentation: | nRF5 SDK | S112 SoftDevice API | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API | S312 SoftDevice API | S332 SoftDevice API | S340 SoftDevice API |
Macros | |
#define | USBD_ENABLED |
Enable USB driver. More... | |
#define | USBD_CONFIG_IRQ_PRIORITY |
Interrupt priority. More... | |
#define | USBD_CONFIG_DMASCHEDULER_MODE |
USBD SMA scheduler working scheme. More... | |
#define | USBD_CONFIG_DMASCHEDULER_ISO_BOOST |
Give priority to isochronous transfers. More... | |
#define | USBD_CONFIG_ISO_IN_ZLP |
Respond to an IN token on ISO IN endpoint with ZLP when no data is ready. More... | |
#define USBD_CONFIG_DMASCHEDULER_ISO_BOOST |
Give priority to isochronous transfers.
This option gives priority to isochronous transfers. Enabling it assures that isochronous transfers are always processed, even if multiple other transfers are pending. Isochronous endpoints are prioritized before the usbd_dma_scheduler_algorithm function is called, so the option is independent of the algorithm chosen.
Set to 1 to activate.
#define USBD_CONFIG_DMASCHEDULER_MODE |
USBD SMA scheduler working scheme.
Following options are available:
#define USBD_CONFIG_IRQ_PRIORITY |
Interrupt priority.
Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
Following options are available:
#define USBD_CONFIG_ISO_IN_ZLP |
Respond to an IN token on ISO IN endpoint with ZLP when no data is ready.
If set, ISO IN endpoint will respond to an IN token with ZLP when no data is ready to be sent. Else, there will be no response.
Set to 1 to activate.
#define USBD_ENABLED |
Enable USB driver.
Set to 1 to activate.