Events generated by USB Device - Audio Device Class functions. More...
Functions | |
__STATIC_INLINE void | EvrUSBD_ADC_Initialize (uint8_t instance) |
Event on internal library operation ADC initialize start (Operation) | |
__STATIC_INLINE void | EvrUSBD_ADC_InitializeFailed (uint8_t instance, usbStatus error) |
Event on internal library operation ADC initialize failed (Error) | |
__STATIC_INLINE void | EvrUSBD_ADC_Uninitialize (uint8_t instance) |
Event on internal library operation ADC uninitialize start (Operation) | |
__STATIC_INLINE void | EvrUSBD_ADC_UninitializeFailed (uint8_t instance, usbStatus error) |
Event on internal library operation ADC uninitialize failed (Error) | |
__STATIC_INLINE void | EvrUSBD_ADC_Reset (uint8_t instance) |
Event on internal library operation ADC reset start (Operation) | |
__STATIC_INLINE void | EvrUSBD_ADC_ResetFailed (uint8_t instance, usbStatus error) |
Event on internal library operation ADC reset failed (Error) | |
__STATIC_INLINE void | EvrUSBD_ADC_OnInitialize (uint8_t n) |
Event on USBD_ADCn_Initialize user callback function start (API) | |
__STATIC_INLINE void | EvrUSBD_ADC_OnUninitialize (uint8_t n) |
Event on USBD_ADCn_Uninitialize user callback function start (API) | |
__STATIC_INLINE void | EvrUSBD_ADC_OnPlayStart (uint8_t n) |
Event on USBD_ADCn_PlayStart user callback function start (API) | |
__STATIC_INLINE void | EvrUSBD_ADC_OnPlayStop (uint8_t n) |
Event on USBD_ADCn_PlayStop user callback function start (API) | |
__STATIC_INLINE void | EvrUSBD_ADC_OnSetSpeakerMute (uint8_t n, uint8_t ch, bool on) |
Event on USBD_ADCn_SetSpeakerMute user callback function start (API) | |
__STATIC_INLINE void | EvrUSBD_ADC_OnSetSpeakerVolume (uint8_t n, uint8_t ch, uint16_t vol) |
Event on USBD_ADCn_SetSpeakerVolume user callback function start (API) | |
__STATIC_INLINE void | EvrUSBD_ADC_OnRecordStart (uint8_t n) |
Event on USBD_ADCn_RecordStart user callback function start (API) | |
__STATIC_INLINE void | EvrUSBD_ADC_OnRecordStop (uint8_t n) |
Event on USBD_ADCn_RecordStop user callback function start (API) | |
__STATIC_INLINE void | EvrUSBD_ADC_OnSetMicrophoneMute (uint8_t n, uint8_t ch, bool on) |
Event on USBD_ADCn_SetMicrophoneMute user callback function start (API) | |
__STATIC_INLINE void | EvrUSBD_ADC_OnSetMicrophoneVolume (uint8_t n, uint8_t ch, uint16_t vol) |
Event on USBD_ADCn_SetMicrophoneVolume user callback function start (API) | |
__STATIC_INLINE void | EvrUSBD_ADC_OnReceivedSamples (uint8_t n) |
Event on USBD_ADCn_ReceivedSamples user callback function start (API) | |
__STATIC_INLINE void | EvrUSBD_ADC_SetSpeakerVolumeRange (uint8_t instance, uint8_t ch, uint16_t min, uint16_t max, uint16_t res, uint16_t cur) |
Event on USBD_ADC_SetSpeakerVolumeRange finished successfully (API) | |
__STATIC_INLINE void | EvrUSBD_ADC_SetSpeakerVolumeRangeFailed (uint8_t instance, uint8_t ch, uint16_t min, uint16_t max, uint16_t res, uint16_t cur, usbStatus error) |
Event on USBD_ADC_SetSpeakerVolumeRange failed (Error) | |
__STATIC_INLINE void | EvrUSBD_ADC_SetMicrophoneVolumeRange (uint8_t instance, uint8_t ch, uint16_t min, uint16_t max, uint16_t res, uint16_t cur) |
Event on USBD_ADC_SetMicrophoneVolumeRange finished successfully (API) | |
__STATIC_INLINE void | EvrUSBD_ADC_SetMicrophoneVolumeRangeFailed (uint8_t instance, uint8_t ch, uint16_t min, uint16_t max, uint16_t res, uint16_t cur, usbStatus error) |
Event on USBD_ADC_SetMicrophoneVolumeRange failed (Error) | |
__STATIC_INLINE void | EvrUSBD_ADC_ReceivedSamplesAvailable (uint8_t instance, uint32_t result) |
Event on USBD_ADC_ReceivedSamplesAvailable finished (API) | |
__STATIC_INLINE void | EvrUSBD_ADC_WrittenSamplesPending (uint8_t instance, uint32_t result) |
Event on USBD_ADC_WrittenSamplesPending finished (API) | |
__STATIC_INLINE void | EvrUSBD_ADC_ReadSamples (uint8_t instance, int32_t result) |
Event on USBD_ADC_ReadSamples finished successfully (API) | |
__STATIC_INLINE void | EvrUSBD_ADC_ReadSamplesFailed (uint8_t instance, usbStatus error) |
Event on USBD_ADC_ReadSamples failed (Error) | |
__STATIC_INLINE void | EvrUSBD_ADC_WriteSamples (uint8_t instance, int32_t result) |
Event on USBD_ADC_WriteSamples finished successfully (API) | |
__STATIC_INLINE void | EvrUSBD_ADC_WriteSamplesFailed (uint8_t instance, usbStatus error) |
Event on USBD_ADC_WriteSamples failed (Error) | |
Events generated by USB Device - Audio Device Class functions.
__STATIC_INLINE void EvrUSBD_ADC_Initialize | ( | uint8_t | instance | ) |
Event on internal library operation ADC initialize start (Operation)
instance | instance of ADC class |
__STATIC_INLINE void EvrUSBD_ADC_InitializeFailed | ( | uint8_t | instance, |
usbStatus | error | ||
) |
Event on internal library operation ADC initialize failed (Error)
instance | instance of ADC class |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBD_ADC_OnInitialize | ( | uint8_t | n | ) |
Event on USBD_ADCn_Initialize user callback function start (API)
n | instance of ADC class |
__STATIC_INLINE void EvrUSBD_ADC_OnPlayStart | ( | uint8_t | n | ) |
Event on USBD_ADCn_PlayStart user callback function start (API)
n | instance of ADC class |
__STATIC_INLINE void EvrUSBD_ADC_OnPlayStop | ( | uint8_t | n | ) |
Event on USBD_ADCn_PlayStop user callback function start (API)
n | instance of ADC class |
__STATIC_INLINE void EvrUSBD_ADC_OnReceivedSamples | ( | uint8_t | n | ) |
Event on USBD_ADCn_ReceivedSamples user callback function start (API)
n | instance of ADC class |
__STATIC_INLINE void EvrUSBD_ADC_OnRecordStart | ( | uint8_t | n | ) |
Event on USBD_ADCn_RecordStart user callback function start (API)
n | instance of ADC class |
__STATIC_INLINE void EvrUSBD_ADC_OnRecordStop | ( | uint8_t | n | ) |
Event on USBD_ADCn_RecordStop user callback function start (API)
n | instance of ADC class |
__STATIC_INLINE void EvrUSBD_ADC_OnSetMicrophoneMute | ( | uint8_t | n, |
uint8_t | ch, | ||
bool | on | ||
) |
Event on USBD_ADCn_SetMicrophoneMute user callback function start (API)
n | instance of ADC class |
ch | channel index
|
on | current mute setting
|
__STATIC_INLINE void EvrUSBD_ADC_OnSetMicrophoneVolume | ( | uint8_t | n, |
uint8_t | ch, | ||
uint16_t | vol | ||
) |
Event on USBD_ADCn_SetMicrophoneVolume user callback function start (API)
n | instance of ADC class |
ch | channel index
|
vol | current volume setting |
__STATIC_INLINE void EvrUSBD_ADC_OnSetSpeakerMute | ( | uint8_t | n, |
uint8_t | ch, | ||
bool | on | ||
) |
Event on USBD_ADCn_SetSpeakerMute user callback function start (API)
n | instance of ADC class |
ch | channel index
|
on | current mute setting
|
__STATIC_INLINE void EvrUSBD_ADC_OnSetSpeakerVolume | ( | uint8_t | n, |
uint8_t | ch, | ||
uint16_t | vol | ||
) |
Event on USBD_ADCn_SetSpeakerVolume user callback function start (API)
n | instance of ADC class |
ch | channel index
|
vol | current volume setting |
__STATIC_INLINE void EvrUSBD_ADC_OnUninitialize | ( | uint8_t | n | ) |
Event on USBD_ADCn_Uninitialize user callback function start (API)
n | instance of ADC class |
__STATIC_INLINE void EvrUSBD_ADC_ReadSamples | ( | uint8_t | instance, |
int32_t | result | ||
) |
Event on USBD_ADC_ReadSamples finished successfully (API)
instance | instance of ADC class |
result | number of samples read |
__STATIC_INLINE void EvrUSBD_ADC_ReadSamplesFailed | ( | uint8_t | instance, |
usbStatus | error | ||
) |
Event on USBD_ADC_ReadSamples failed (Error)
instance | instance of ADC class |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBD_ADC_ReceivedSamplesAvailable | ( | uint8_t | instance, |
uint32_t | result | ||
) |
Event on USBD_ADC_ReceivedSamplesAvailable finished (API)
instance | instance of ADC class |
result | number of samples available to be read |
__STATIC_INLINE void EvrUSBD_ADC_Reset | ( | uint8_t | instance | ) |
Event on internal library operation ADC reset start (Operation)
instance | instance of ADC class |
__STATIC_INLINE void EvrUSBD_ADC_ResetFailed | ( | uint8_t | instance, |
usbStatus | error | ||
) |
Event on internal library operation ADC reset failed (Error)
instance | instance of ADC class |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBD_ADC_SetMicrophoneVolumeRange | ( | uint8_t | instance, |
uint8_t | ch, | ||
uint16_t | min, | ||
uint16_t | max, | ||
uint16_t | res, | ||
uint16_t | cur | ||
) |
Event on USBD_ADC_SetMicrophoneVolumeRange finished successfully (API)
instance | instance of ADC class |
ch | channel index
|
min | minimum volume value |
max | maximum volume value |
res | volume resolution |
cur | current volume value |
__STATIC_INLINE void EvrUSBD_ADC_SetMicrophoneVolumeRangeFailed | ( | uint8_t | instance, |
uint8_t | ch, | ||
uint16_t | min, | ||
uint16_t | max, | ||
uint16_t | res, | ||
uint16_t | cur, | ||
usbStatus | error | ||
) |
Event on USBD_ADC_SetMicrophoneVolumeRange failed (Error)
instance | instance of ADC class |
ch | channel index
|
min | minimum volume value |
max | maximum volume value |
res | volume resolution |
cur | current volume value |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBD_ADC_SetSpeakerVolumeRange | ( | uint8_t | instance, |
uint8_t | ch, | ||
uint16_t | min, | ||
uint16_t | max, | ||
uint16_t | res, | ||
uint16_t | cur | ||
) |
Event on USBD_ADC_SetSpeakerVolumeRange finished successfully (API)
instance | instance of ADC class |
ch | channel index
|
min | minimum volume value |
max | maximum volume value |
res | volume resolution |
cur | current volume value |
__STATIC_INLINE void EvrUSBD_ADC_SetSpeakerVolumeRangeFailed | ( | uint8_t | instance, |
uint8_t | ch, | ||
uint16_t | min, | ||
uint16_t | max, | ||
uint16_t | res, | ||
uint16_t | cur, | ||
usbStatus | error | ||
) |
Event on USBD_ADC_SetSpeakerVolumeRange failed (Error)
instance | instance of ADC class |
ch | channel index
|
min | minimum volume value |
max | maximum volume value |
res | volume resolution |
cur | current volume value |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBD_ADC_Uninitialize | ( | uint8_t | instance | ) |
Event on internal library operation ADC uninitialize start (Operation)
instance | instance of ADC class |
__STATIC_INLINE void EvrUSBD_ADC_UninitializeFailed | ( | uint8_t | instance, |
usbStatus | error | ||
) |
Event on internal library operation ADC uninitialize failed (Error)
instance | instance of ADC class |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBD_ADC_WriteSamples | ( | uint8_t | instance, |
int32_t | result | ||
) |
Event on USBD_ADC_WriteSamples finished successfully (API)
instance | instance of ADC class |
result | number of samples written for sending |
__STATIC_INLINE void EvrUSBD_ADC_WriteSamplesFailed | ( | uint8_t | instance, |
usbStatus | error | ||
) |
Event on USBD_ADC_WriteSamples failed (Error)
instance | instance of ADC class |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBD_ADC_WrittenSamplesPending | ( | uint8_t | instance, |
uint32_t | result | ||
) |
Event on USBD_ADC_WrittenSamplesPending finished (API)
instance | instance of ADC class |
result | number of samples ready to be sent |