USBD_Audio_OS_AS_IF_LockCreate
Description
Create an OS resource to use as an AudioStreaming interface lock.
Files
usbd_audio_os.h / usbd_audio_os.c
Prototype
void USBD_Audio_OS_AS_IF_LockCreate (CPU_INT08U as_if_nbr, USBD_ERR *p_err);
Arguments
as_if_nbr
AudioStreaming interface index.
p_err
Pointer to variable that will receive the return error code from this function.
USBD_ERR_NONE
USBD_ERR_OS_SIGNAL_CREATE
Returned Value
None.
Callers
Audio Class.
Implementation guidelines
- In case of errors,
USBD_ERR_OS_SIGNAL_CREATE
should be returned. Otherwise,USBD_ERR_NONE
should be used.