CubeMX: how to get data when callback is called?
Hi,
I'm trying to read data from the SPDIF-input of the STM32F466 using the CubeMX-generated code. The idea is to get one interrupt/callback for every pair of audio samples which arrive. This looks good so far, there is a function HAL_SPDIFRX_RxCpltCallback() which has o be overwritten in own code section.
Now the question is: when this callback is called, how can I get the related data? Is there an other function to get these data or do I have to read some registers directly?
Or more generic: is there a manual available that describes these CubeMX-generated functions?
Thanks!