HAL_I2S_Receive() function
Receive an amount of data in blocking mode
Arguments
hi2s
pointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module
pData
a 16-bit pointer to data buffer.
Size
number of data sample to be sent:
Timeout
Timeout duration
Return value
HAL status
Notes
When a 16-bit data frame or a 16-bit data frame extended is selected during the I2S configuration phase, the Size parameter means the number of 16-bit data length in the transaction and when a 24-bit data frame or a 32-bit data frame is selected the Size parameter means the number of 24-bit or 32-bit data length. The I2S is kept enabled at the end of transaction to avoid the clock de-synchronization between Master and Slave(example: audio streaming). In I2S Master Receiver mode, just after enabling the peripheral the clock will be generate in continuous way and as the I2S is not disabled at the end of the I2S transaction.
Functions called by HAL_I2S_Receive()
HAL_I2S_Receive()
Data read by HAL_I2S_Receive()
Data written by HAL_I2S_Receive()
HAL_I2S_Receive()::tmpreg_cfgr HAL_I2S_Receive()::tmpreg_ovr all items filtered out
HAL_I2S_Receive()
HAL_I2S_Receive()::tmpreg_cfgr HAL_I2S_Receive()::tmpreg_ovr all items filtered out
Type of HAL_I2S_Receive()
HAL_I2S_Receive()
uint32_t all items filtered out