STM32F479xx HAL User Manual
Functions
I2S Extended Private Functions
I2SEx

Functions

static void I2SEx_TxRxDMAHalfCplt (DMA_HandleTypeDef *hdma)
 DMA I2S transmit receive process half complete callback.
static void I2SEx_TxRxDMACplt (DMA_HandleTypeDef *hdma)
 DMA I2S transmit receive process complete callback.
static void I2SEx_TxRxDMAError (DMA_HandleTypeDef *hdma)
 DMA I2S communication error callback.
static void I2SEx_RxISR_I2S (I2S_HandleTypeDef *hi2s)
 I2S Full-Duplex IT handler receive function.
static void I2SEx_RxISR_I2SExt (I2S_HandleTypeDef *hi2s)
 I2SExt Full-Duplex IT handler receive function.
static void I2SEx_TxISR_I2S (I2S_HandleTypeDef *hi2s)
 I2S Full-Duplex IT handler transmit function.
static void I2SEx_TxISR_I2SExt (I2S_HandleTypeDef *hi2s)
 I2SExt Full-Duplex IT handler transmit function.
static HAL_StatusTypeDef I2SEx_FullDuplexWaitFlagStateUntilTimeout (I2S_HandleTypeDef *hi2s, uint32_t Flag, uint32_t State, uint32_t Timeout, I2S_UseTypeDef i2sUsed)
 This function handles I2S Communication Timeout.

Function Documentation

static HAL_StatusTypeDef I2SEx_FullDuplexWaitFlagStateUntilTimeout ( I2S_HandleTypeDef hi2s,
uint32_t  Flag,
uint32_t  State,
uint32_t  Timeout,
I2S_UseTypeDef  i2sUsed 
) [static]

This function handles I2S Communication Timeout.

Parameters:
hi2sI2S handle
FlagFlag checked
StateValue of the flag expected
TimeoutDuration of the timeout
i2sUsedI2S instance reference
Return values:
HALstatus

Definition at line 1073 of file stm32f4xx_hal_i2s_ex.c.

References __HAL_I2S_GET_FLAG, __HAL_I2SEXT_GET_FLAG, HAL_GetTick(), HAL_I2S_STATE_READY, I2S_USE_I2S, and __I2S_HandleTypeDef::State.

Referenced by HAL_I2SEx_TransmitReceive().

static void I2SEx_RxISR_I2S ( I2S_HandleTypeDef hi2s) [static]
static void I2SEx_RxISR_I2SExt ( I2S_HandleTypeDef hi2s) [static]
static void I2SEx_TxISR_I2S ( I2S_HandleTypeDef hi2s) [static]
static void I2SEx_TxISR_I2SExt ( I2S_HandleTypeDef hi2s) [static]
static void I2SEx_TxRxDMACplt ( DMA_HandleTypeDef hdma) [static]

DMA I2S transmit receive process complete callback.

Parameters:
hdmapointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module.
Return values:
None

Definition at line 886 of file stm32f4xx_hal_i2s_ex.c.

References DMA_NORMAL, HAL_I2S_STATE_READY, HAL_I2SEx_TxRxCpltCallback(), I2S_MODE_MASTER_TX, I2S_MODE_SLAVE_TX, I2SxEXT, __DMA_HandleTypeDef::Init, __I2S_HandleTypeDef::Instance, DMA_InitTypeDef::Mode, __I2S_HandleTypeDef::RxXferCount, __I2S_HandleTypeDef::State, __I2S_HandleTypeDef::TxRxCpltCallback, and __I2S_HandleTypeDef::TxXferCount.

Referenced by HAL_I2SEx_TransmitReceive_DMA().

static void I2SEx_TxRxDMAError ( DMA_HandleTypeDef hdma) [static]
static void I2SEx_TxRxDMAHalfCplt ( DMA_HandleTypeDef hdma) [static]

DMA I2S transmit receive process half complete callback.

Parameters:
hdmapointer to a DMA_HandleTypeDef structure that contains the configuration information for the specified DMA module.
Return values:
None

Definition at line 868 of file stm32f4xx_hal_i2s_ex.c.

References HAL_I2SEx_TxRxHalfCpltCallback(), and __I2S_HandleTypeDef::TxRxHalfCpltCallback.

Referenced by HAL_I2SEx_TransmitReceive_DMA().