Description
Create a new instance of the audio class.
Files
usbd_audio.h / usbd_audio.c
Prototype
Arguments
p_audio_drv_api
Pointer to Audio Peripheral Driver API.
p_err
Pointer to variable that will receive the return error code from this function.
USBD_ERR_NONE
USBD_ERR_NULL_PTR
USBD_ERR_ALLOC
Returned Value
Class instance number, if NO error(s).
USBD_CLASS_NBR_NONE
, otherwise.
Callers
Application.
Notes / Warnings
None.