nrfx 2.5
Macros
USBD peripheral driver configuration

Macros

#define NRFX_USBD_ENABLED
 Enable USB driver. More...
 
#define NRFX_USBD_CONFIG_IRQ_PRIORITY
 Interrupt priority. More...
 
#define NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST
 Give priority to isochronous transfers. More...
 
#define NRFX_USBD_CONFIG_ISO_IN_ZLP
 Respond to an IN token on ISO IN endpoint with ZLP when no data is ready. More...
 

Detailed Description

Macro Definition Documentation

◆ NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST

#define NRFX_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.

Note
This is an NRF_CONFIG macro.

◆ NRFX_USBD_CONFIG_IRQ_PRIORITY

#define NRFX_USBD_CONFIG_IRQ_PRIORITY

Interrupt priority.

Following options are available:

  • 0 - 0 (highest)
  • 1 - 1
  • 2 - 2
  • 3 - 3
  • 4 - 4
  • 5 - 5
  • 6 - 6
  • 7 - 7
Note
This is an NRF_CONFIG macro.

◆ NRFX_USBD_CONFIG_ISO_IN_ZLP

#define NRFX_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.

Note
This is an NRF_CONFIG macro.

◆ NRFX_USBD_ENABLED

#define NRFX_USBD_ENABLED

Enable USB driver.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.

Documentation feedback | Developer Zone | Subscribe | Updated