STM32F439xx 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_FullDuplexTx_IT (I2S_HandleTypeDef *hi2s, I2S_UseTypeDef i2sUsed)
 Full-Duplex IT handler transmit function.
static void I2SEx_FullDuplexRx_IT (I2S_HandleTypeDef *hi2s, I2S_UseTypeDef i2sUsed)
 Full-Duplex IT handler receive 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 void I2SEx_FullDuplexRx_IT ( I2S_HandleTypeDef hi2s,
I2S_UseTypeDef  i2sUsed 
) [static]
static void I2SEx_FullDuplexTx_IT ( I2S_HandleTypeDef hi2s,
I2S_UseTypeDef  i2sUsed 
) [static]

Full-Duplex IT handler transmit function.

Parameters:
hi2sI2S handle
i2sUsedindicate if I2Sx or I2Sx_ext is concerned
Return values:
None

Definition at line 1027 of file stm32f4xx_hal_i2s_ex.c.

References __HAL_I2S_DISABLE_IT, __HAL_I2SEXT_DISABLE_IT, HAL_I2S_STATE_READY, HAL_I2SEx_TxRxCpltCallback(), I2S_IT_ERR, I2S_IT_TXE, I2S_USE_I2S, I2SxEXT, __I2S_HandleTypeDef::Instance, __I2S_HandleTypeDef::pTxBuffPtr, __I2S_HandleTypeDef::RxXferCount, __I2S_HandleTypeDef::State, and __I2S_HandleTypeDef::TxXferCount.

Referenced by HAL_I2SEx_FullDuplex_IRQHandler().

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 1122 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_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 943 of file stm32f4xx_hal_i2s_ex.c.

References HAL_I2S_STATE_READY, HAL_I2SEx_TxRxCpltCallback(), __I2S_HandleTypeDef::hdmarx, __I2S_HandleTypeDef::hdmatx, I2S_MODE_MASTER_TX, I2S_MODE_SLAVE_TX, I2SxEXT, __I2S_HandleTypeDef::Instance, __DMA_HandleTypeDef::Instance, __I2S_HandleTypeDef::RxXferCount, __I2S_HandleTypeDef::State, 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 930 of file stm32f4xx_hal_i2s_ex.c.

References HAL_I2SEx_TxRxHalfCpltCallback().

Referenced by HAL_I2SEx_TransmitReceive_DMA().