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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

867件の閲覧回数
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 件の賞賛
返信
0 返答(返信)