1 /** 2 * 3 * @defgroup nrfx_usbd_config USBD peripheral driver configuration 4 * @{ 5 * @ingroup nrfx_usbd 6 */ 7 /** @brief Enable USB driver 8 * 9 * Set to 1 to activate. 10 * 11 * @note This is an NRF_CONFIG macro. 12 */ 13 #define NRFX_USBD_ENABLED 14 /** @brief Interrupt priority 15 * 16 * Following options are available: 17 * - 0 - 0 (highest) 18 * - 1 - 1 19 * - 2 - 2 20 * - 3 - 3 21 * - 4 - 4 22 * - 5 - 5 23 * - 6 - 6 24 * - 7 - 7 25 * 26 * @note This is an NRF_CONFIG macro. 27 */ 28 #define NRFX_USBD_CONFIG_IRQ_PRIORITY 29 30 /** @brief Give priority to isochronous transfers 31 * 32 * This option gives priority to isochronous transfers. 33 * Enabling it assures that isochronous transfers are always processed, 34 * even if multiple other transfers are pending. 35 * Isochronous endpoints are prioritized before the usbd_dma_scheduler_algorithm 36 * function is called, so the option is independent of the algorithm chosen. 37 * 38 * Set to 1 to activate. 39 * 40 * @note This is an NRF_CONFIG macro. 41 */ 42 #define NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST 43 44 /** @brief Respond to an IN token on ISO IN endpoint with ZLP when no data is ready 45 * 46 * If set, ISO IN endpoint will respond to an IN token with ZLP when no data is ready to be sent. 47 * Else, there will be no response. 48 * 49 * Set to 1 to activate. 50 * 51 * @note This is an NRF_CONFIG macro. 52 */ 53 #define NRFX_USBD_CONFIG_ISO_IN_ZLP 54 55 56 /** @} */ 57