How the USB_DeviceAudioCallback() is called and parameters are sent within SDK of iMXRT1010?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How the USB_DeviceAudioCallback() is called and parameters are sent within SDK of iMXRT1010?

859 Views
mhhe
Contributor I

Hi,

I'm looking into the USB firmware of "evkmimxrt1010_dev_audio_speaker_bm" of SDK Version 2.8.2, for our project under developing.

What the problem I have is:

The function "usb_status_t USB_DeviceAudioCallback(class_handle_t handle, uint32_t event, void *param)" in the file of "audio_speaker.c", there is no obvious other function(s) to call it and no clear route to send parameters to it. This seems do not make scense to me (I'm new to the USB software by the way).

My question is: How this function is called within the SDK and how the parameters needed by this function are sent?

Thanks a lot in advance!

0 Kudos
Reply
0 Replies