USBD driver - legacy layer

nRF5 SDK v17.0.2

Layer providing compatibility with the former API. More...

Macros

#define NRF_DRV_USBD_DMASCHEDULER_PRIORITIZED NRFX_USBD_DMASCHEDULER_PRIORITIZED
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_DMASCHEDULER_ROUNDROBIN NRFX_USBD_DMASCHEDULER_ROUNDROBIN
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPSIZE NRFX_USBD_EPSIZE
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_ISOSIZE NRFX_USBD_ISOSIZE
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_FEEDER_BUFFER_SIZE NRFX_USBD_EPSIZE
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPIN NRFX_USBD_EPIN
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPOUT NRFX_USBD_EPOUT
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPOUT0 NRFX_USBD_EPOUT0
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPOUT1 NRFX_USBD_EPOUT1
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPOUT2 NRFX_USBD_EPOUT2
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPOUT3 NRFX_USBD_EPOUT3
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPOUT4 NRFX_USBD_EPOUT4
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPOUT5 NRFX_USBD_EPOUT5
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPOUT6 NRFX_USBD_EPOUT6
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPOUT7 NRFX_USBD_EPOUT7
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPOUT8 NRFX_USBD_EPOUT8
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPIN0 NRFX_USBD_EPIN0
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPIN1 NRFX_USBD_EPIN1
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPIN2 NRFX_USBD_EPIN2
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPIN3 NRFX_USBD_EPIN3
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPIN4 NRFX_USBD_EPIN4
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPIN5 NRFX_USBD_EPIN5
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPIN6 NRFX_USBD_EPIN6
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPIN7 NRFX_USBD_EPIN7
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EPIN8 NRFX_USBD_EPIN8
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EVT_SOF NRFX_USBD_EVT_SOF
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EVT_RESET NRFX_USBD_EVT_RESET
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EVT_SUSPEND NRFX_USBD_EVT_SUSPEND
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EVT_RESUME NRFX_USBD_EVT_RESUME
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EVT_WUREQ NRFX_USBD_EVT_WUREQ
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EVT_SETUP NRFX_USBD_EVT_SETUP
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EVT_EPTRANSFER NRFX_USBD_EVT_EPTRANSFER
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_EVT_CNT NRFX_USBD_EVT_CNT
Type definition for forwarding the new implementation.
#define NRF_USBD_EP_OK NRFX_USBD_EP_OK
Type definition for forwarding the new implementation.
#define NRF_USBD_EP_WAITING NRFX_USBD_EP_WAITING
Type definition for forwarding the new implementation.
#define NRF_USBD_EP_OVERLOAD NRFX_USBD_EP_OVERLOAD
Type definition for forwarding the new implementation.
#define NRF_USBD_EP_ABORTED NRFX_USBD_EP_ABORTED
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_TRANSFER_ZLP_FLAG NRFX_USBD_TRANSFER_ZLP_FLAG
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_TRANSFER_IN_FLAGS (name, tx_buff, tx_size, tx_flags) NRFX_USBD_TRANSFER_IN (name, tx_buff, tx_size, tx_flags)
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_TRANSFER_IN (name, tx_buff, tx_size) NRFX_USBD_TRANSFER_IN (name, tx_buff, tx_size, 0)
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_TRANSFER_IN_ZLP (name, tx_buff, tx_size) NRFX_USBD_TRANSFER_IN (name, tx_buff, tx_size, NRFX_USBD_TRANSFER_ZLP_FLAG )
Type definition for forwarding the new implementation.
#define NRF_DRV_USBD_TRANSFER_OUT NRFX_USBD_TRANSFER_OUT
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_init nrfx_usbd_init
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_enable nrfx_usbd_enable
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_disable nrfx_usbd_disable
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_start nrfx_usbd_start
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_stop nrfx_usbd_stop
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_is_initialized nrfx_usbd_is_initialized
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_is_enabled nrfx_usbd_is_enabled
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_is_started nrfx_usbd_is_started
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_suspend nrfx_usbd_suspend
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_wakeup_req nrfx_usbd_wakeup_req
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_suspend_check nrfx_usbd_suspend_check
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_suspend_irq_config nrfx_usbd_suspend_irq_config
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_active_irq_config nrfx_usbd_active_irq_config
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_force_bus_wakeup nrfx_usbd_force_bus_wakeup
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_bus_suspend_check nrfx_usbd_bus_suspend_check
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_ep_max_packet_size_set nrfx_usbd_ep_max_packet_size_set
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_ep_max_packet_size_get nrfx_usbd_ep_max_packet_size_get
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_ep_enable_check nrfx_usbd_ep_enable_check
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_ep_enable nrfx_usbd_ep_enable
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_ep_disable nrfx_usbd_ep_disable
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_ep_default_config nrfx_usbd_ep_default_config
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_ep_transfer nrfx_usbd_ep_transfer
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_ep_handled_transfer nrfx_usbd_ep_handled_transfer
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_feeder_buffer_get nrfx_usbd_feeder_buffer_get
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_ep_status_get nrfx_usbd_ep_status_get
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_epout_size_get nrfx_usbd_epout_size_get
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_ep_is_busy nrfx_usbd_ep_is_busy
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_ep_stall nrfx_usbd_ep_stall
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_ep_stall_clear nrfx_usbd_ep_stall_clear
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_ep_stall_check nrfx_usbd_ep_stall_check
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_ep_dtoggle_clear nrfx_usbd_ep_dtoggle_clear
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_setup_get nrfx_usbd_setup_get
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_setup_data_clear nrfx_usbd_setup_data_clear
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_setup_clear nrfx_usbd_setup_clear
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_setup_stall nrfx_usbd_setup_stall
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_ep_abort nrfx_usbd_ep_abort
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_last_setup_dir_get nrfx_usbd_last_setup_dir_get
Type definition for forwarding the new implementation.
#define nrf_drv_usbd_transfer_out_drop nrfx_usbd_transfer_out_drop
Type definition for forwarding the new implementation.

Typedefs

typedef nrfx_usbd_ep_t nrf_drv_usbd_ep_t
Type definition for forwarding the new implementation.
typedef nrfx_usbd_event_type_t nrf_drv_usbd_event_type_t
Type definition for forwarding the new implementation.
typedef nrfx_usbd_ep_status_t nrf_drv_usbd_ep_status_t
Type definition for forwarding the new implementation.
typedef nrfx_usbd_evt_t nrf_drv_usbd_evt_t
Type definition for forwarding the new implementation.
typedef nrfx_usbd_event_handler_t nrf_drv_usbd_event_handler_t
Type definition for forwarding the new implementation.
typedef nrfx_usbd_data_ptr_t nrf_drv_usbd_data_ptr_t
Type definition for forwarding the new implementation.
typedef nrfx_usbd_ep_transfer_t nrf_drv_usbd_ep_transfer_t
Type definition for forwarding the new implementation.
typedef nrfx_usbd_transfer_flags_t nrf_drv_usbd_transfer_flags_t
Type definition for forwarding the new implementation.
typedef nrfx_usbd_transfer_t nrf_drv_usbd_transfer_t
Type definition for forwarding the new implementation.
typedef nrfx_usbd_feeder_t nrf_drv_usbd_feeder_t
Type definition for forwarding the new implementation.
typedef nrfx_usbd_consumer_t nrf_drv_usbd_consumer_t
Type definition for forwarding the new implementation.
typedef nrfx_usbd_handler_t nrf_drv_usbd_handler_t
Type definition for forwarding the new implementation.
typedef nrfx_usbd_handler_desc_t nrf_drv_usbd_handler_desc_t
Type definition for forwarding the new implementation.
typedef nrfx_usbd_setup_t nrf_drv_usbd_setup_t
Type definition for forwarding the new implementation.

Functions

static ret_code_t nrf_drv_usbd_uninit (void)
Type definition for forwarding the new implementation.

Detailed Description

Layer providing compatibility with the former API.