What does the HAL_SAI_Receive() function take in as the parameter- 'Size'?
I am trying to use the HAL_SAI_Receive() function from the STMF767xx SAI drivers to receive some data from a device and I would like to know what does the 'Size' parameter actually represent.
My scenario is as follows:
1.) The SAI operates in slave mode
2.) data size in a slot is 8 bits
3.) FS active length (on time of the FS pulse) is 32 bits
4.) Each 4 slots per FS pulse
In the above scenario, would the 'Size' parameter be ? would it be equal to :
(a.)The data size per slot? or would it be (or)
(b.)number of slots*data size per slot? (or)
(c.) something else?