|
|
@ -144,6 +144,8 @@
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \return A value from the \ref USB_Host_SendControlErrorCodes_t enum.
|
|
|
|
* \return A value from the \ref USB_Host_SendControlErrorCodes_t enum.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
uint8_t Audio_Host_StartStopStreaming(USB_ClassInfo_Audio_Host_t* const AudioInterfaceInfo,
|
|
|
|
|
|
|
|
const bool EnableStreaming) ATTR_NON_NULL_PTR_ARG(1);
|
|
|
|
uint8_t Audio_Host_StartStopStreaming(USB_ClassInfo_Audio_Host_t* const AudioInterfaceInfo,
|
|
|
|
uint8_t Audio_Host_StartStopStreaming(USB_ClassInfo_Audio_Host_t* const AudioInterfaceInfo,
|
|
|
|
const bool EnableStreaming);
|
|
|
|
const bool EnableStreaming);
|
|
|
|
|
|
|
|
|
|
|
@ -161,6 +163,12 @@
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \return A value from the \ref USB_Host_SendControlErrorCodes_t enum.
|
|
|
|
* \return A value from the \ref USB_Host_SendControlErrorCodes_t enum.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
uint8_t Audio_Host_GetSetEndpointProperty(USB_ClassInfo_Audio_Host_t* const AudioInterfaceInfo,
|
|
|
|
|
|
|
|
const uint8_t DataPipeIndex,
|
|
|
|
|
|
|
|
const uint8_t EndpointProperty,
|
|
|
|
|
|
|
|
const uint8_t EndpointControl,
|
|
|
|
|
|
|
|
const uint16_t DataLength,
|
|
|
|
|
|
|
|
void* const Data) ATTR_NON_NULL_PTR_ARG(1) ATTR_NON_NULL_PTR_ARG(6);
|
|
|
|
uint8_t Audio_Host_GetSetEndpointProperty(USB_ClassInfo_Audio_Host_t* const AudioInterfaceInfo,
|
|
|
|
uint8_t Audio_Host_GetSetEndpointProperty(USB_ClassInfo_Audio_Host_t* const AudioInterfaceInfo,
|
|
|
|
const uint8_t DataPipeIndex,
|
|
|
|
const uint8_t DataPipeIndex,
|
|
|
|
const uint8_t EndpointProperty,
|
|
|
|
const uint8_t EndpointProperty,
|
|
|
@ -175,7 +183,8 @@
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* \param[in,out] AudioInterfaceInfo Pointer to a structure containing an Audio Class host configuration and state.
|
|
|
|
* \param[in,out] AudioInterfaceInfo Pointer to a structure containing an Audio Class host configuration and state.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
static inline void Audio_Host_USBTask(USB_ClassInfo_Audio_Host_t* const AudioInterfaceInfo);
|
|
|
|
static inline void Audio_Host_USBTask(USB_ClassInfo_Audio_Host_t* const AudioInterfaceInfo)
|
|
|
|
|
|
|
|
ATTR_NON_NULL_PTR_ARG(1) ATTR_ALWAYS_INLINE;
|
|
|
|
static inline void Audio_Host_USBTask(USB_ClassInfo_Audio_Host_t* const AudioInterfaceInfo)
|
|
|
|
static inline void Audio_Host_USBTask(USB_ClassInfo_Audio_Host_t* const AudioInterfaceInfo)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
(void)AudioInterfaceInfo;
|
|
|
|
(void)AudioInterfaceInfo;
|
|
|
@ -393,9 +402,12 @@
|
|
|
|
#if !defined(__DOXYGEN__)
|
|
|
|
#if !defined(__DOXYGEN__)
|
|
|
|
/* Function Prototypes: */
|
|
|
|
/* Function Prototypes: */
|
|
|
|
#if defined(__INCLUDE_FROM_AUDIO_HOST_C)
|
|
|
|
#if defined(__INCLUDE_FROM_AUDIO_HOST_C)
|
|
|
|
static uint8_t DCOMP_Audio_Host_NextAudioControlInterface(void* CurrentDescriptor);
|
|
|
|
static uint8_t DCOMP_Audio_Host_NextAudioControlInterface(void* CurrentDescriptor)
|
|
|
|
static uint8_t DCOMP_Audio_Host_NextAudioStreamInterface(void* CurrentDescriptor);
|
|
|
|
ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(1);
|
|
|
|
static uint8_t DCOMP_Audio_Host_NextAudioInterfaceDataEndpoint(void* CurrentDescriptor);
|
|
|
|
static uint8_t DCOMP_Audio_Host_NextAudioStreamInterface(void* CurrentDescriptor)
|
|
|
|
|
|
|
|
ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(1);
|
|
|
|
|
|
|
|
static uint8_t DCOMP_Audio_Host_NextAudioInterfaceDataEndpoint(void* CurrentDescriptor)
|
|
|
|
|
|
|
|
ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(1);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|