nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
audio_usb.h File Reference
#include <zephyr/kernel.h>
#include <zephyr/usb/usbd.h>

Go to the source code of this file.

Macros

#define USB_BLOCK_SIZE_MULTI_CHAN
 

Functions

struct usbd_context * audio_usbd_init_device (usbd_msg_cb_t msg_cb)
 
int audio_usb_start (struct k_msgq *queue_tx_in, struct k_msgq *queue_rx_in)
 Set pointers to the queues to be used by the USB module and start sending/receiving data.
 
void audio_usb_stop (void)
 Stop sending/receiving data.
 
int audio_usb_disable (void)
 Stop and disable USB device.
 
int audio_usb_init (bool host_in, bool host_out)
 Register and enable USB device.