STM32F439xx HAL User Manual
Functions
I2S Private Functions
I2S

Functions

static void I2S_DMATxCplt (DMA_HandleTypeDef *hdma)
 DMA I2S transmit process complete callback.
static void I2S_DMATxHalfCplt (DMA_HandleTypeDef *hdma)
 DMA I2S transmit process half complete callback.
static void I2S_DMARxCplt (DMA_HandleTypeDef *hdma)
 DMA I2S receive process complete callback.
static void I2S_DMARxHalfCplt (DMA_HandleTypeDef *hdma)
 DMA I2S receive process half complete callback.
static void I2S_DMAError (DMA_HandleTypeDef *hdma)
 DMA I2S communication error callback.
static void I2S_Transmit_IT (I2S_HandleTypeDef *hi2s)
 Transmit an amount of data in non-blocking mode with Interrupt.
static void I2S_Receive_IT (I2S_HandleTypeDef *hi2s)
 Receive an amount of data in non-blocking mode with Interrupt.
static void I2S_IRQHandler (I2S_HandleTypeDef *hi2s)
 This function handles I2S interrupt request.
static HAL_StatusTypeDef I2S_WaitFlagStateUntilTimeout (I2S_HandleTypeDef *hi2s, uint32_t Flag, uint32_t State, uint32_t Timeout)
 This function handles I2S Communication Timeout.

Function Documentation

static void I2S_DMAError ( DMA_HandleTypeDef hdma) [static]

DMA I2S communication error callback.

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

Definition at line 1369 of file stm32f4xx_hal_i2s.c.

References __I2S_HandleTypeDef::ErrorCode, HAL_I2S_ERROR_DMA, HAL_I2S_ErrorCallback(), HAL_I2S_STATE_READY, __I2S_HandleTypeDef::Instance, __I2S_HandleTypeDef::RxXferCount, __I2S_HandleTypeDef::State, and __I2S_HandleTypeDef::TxXferCount.

Referenced by HAL_I2S_Receive_DMA(), and HAL_I2S_Transmit_DMA().

static void I2S_DMARxCplt ( DMA_HandleTypeDef hdma) [static]

DMA I2S 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 1336 of file stm32f4xx_hal_i2s.c.

References HAL_I2S_RxCpltCallback(), HAL_I2S_STATE_READY, __I2S_HandleTypeDef::Instance, __DMA_HandleTypeDef::Instance, __I2S_HandleTypeDef::RxXferCount, and __I2S_HandleTypeDef::State.

Referenced by HAL_I2S_Receive_DMA().

static void I2S_DMARxHalfCplt ( DMA_HandleTypeDef hdma) [static]

DMA I2S 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 1356 of file stm32f4xx_hal_i2s.c.

References HAL_I2S_RxHalfCpltCallback().

Referenced by HAL_I2S_Receive_DMA().

static void I2S_DMATxCplt ( DMA_HandleTypeDef hdma) [static]

DMA I2S transmit 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 1303 of file stm32f4xx_hal_i2s.c.

References HAL_I2S_STATE_READY, HAL_I2S_TxCpltCallback(), __I2S_HandleTypeDef::Instance, __DMA_HandleTypeDef::Instance, __I2S_HandleTypeDef::State, and __I2S_HandleTypeDef::TxXferCount.

Referenced by HAL_I2S_Transmit_DMA().

static void I2S_DMATxHalfCplt ( DMA_HandleTypeDef hdma) [static]

DMA I2S transmit 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 1323 of file stm32f4xx_hal_i2s.c.

References HAL_I2S_TxHalfCpltCallback().

Referenced by HAL_I2S_Transmit_DMA().

static void I2S_IRQHandler ( I2S_HandleTypeDef hi2s) [static]
static void I2S_Receive_IT ( I2S_HandleTypeDef hi2s) [static]

Receive an amount of data in non-blocking mode with Interrupt.

Parameters:
hi2spointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module
Return values:
HALstatus

Definition at line 1412 of file stm32f4xx_hal_i2s.c.

References __HAL_I2S_DISABLE_IT, HAL_I2S_RxCpltCallback(), HAL_I2S_STATE_READY, I2S_IT_ERR, I2S_IT_RXNE, __I2S_HandleTypeDef::Instance, __I2S_HandleTypeDef::pRxBuffPtr, __I2S_HandleTypeDef::RxXferCount, and __I2S_HandleTypeDef::State.

Referenced by I2S_IRQHandler().

static void I2S_Transmit_IT ( I2S_HandleTypeDef hi2s) [static]

Transmit an amount of data in non-blocking mode with Interrupt.

Parameters:
hi2spointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module
Return values:
HALstatus

Definition at line 1390 of file stm32f4xx_hal_i2s.c.

References __HAL_I2S_DISABLE_IT, HAL_I2S_STATE_READY, HAL_I2S_TxCpltCallback(), I2S_IT_ERR, I2S_IT_TXE, __I2S_HandleTypeDef::Instance, __I2S_HandleTypeDef::pTxBuffPtr, __I2S_HandleTypeDef::State, and __I2S_HandleTypeDef::TxXferCount.

Referenced by I2S_IRQHandler().

static HAL_StatusTypeDef I2S_WaitFlagStateUntilTimeout ( I2S_HandleTypeDef hi2s,
uint32_t  Flag,
uint32_t  State,
uint32_t  Timeout 
) [static]

This function handles I2S Communication Timeout.

Parameters:
hi2spointer to a I2S_HandleTypeDef structure that contains the configuration information for I2S module
FlagFlag checked
StateValue of the flag expected
TimeoutDuration of the timeout
Return values:
HALstatus

Definition at line 1501 of file stm32f4xx_hal_i2s.c.

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

Referenced by HAL_I2S_Receive(), and HAL_I2S_Transmit().