STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
I2S Private Functions
Collaboration diagram for I2S Private Functions:

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, FlagStatus State, uint32_t Timeout)
 This function handles I2S Communication Timeout.
 

Detailed Description

Function Documentation

◆ I2S_DMATxCplt()

static void I2S_DMATxCplt ( DMA_HandleTypeDef * hdma)
static

#include <stm32f4xx_hal_i2s.c>

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 1802 of file stm32f4xx_hal_i2s.c.

References DMA_NORMAL, HAL_I2S_STATE_READY, HAL_I2S_TxCpltCallback(), __DMA_HandleTypeDef::Init, __I2S_HandleTypeDef::Instance, DMA_InitTypeDef::Mode, __I2S_HandleTypeDef::State, and __I2S_HandleTypeDef::TxXferCount.

Referenced by HAL_I2S_Transmit_DMA().

◆ I2S_DMATxHalfCplt()

static void I2S_DMATxHalfCplt ( DMA_HandleTypeDef * hdma)
static

#include <stm32f4xx_hal_i2s.c>

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 1829 of file stm32f4xx_hal_i2s.c.

References HAL_I2S_TxHalfCpltCallback().

Referenced by HAL_I2S_Transmit_DMA().

◆ I2S_DMARxCplt()

static void I2S_DMARxCplt ( DMA_HandleTypeDef * hdma)
static

#include <stm32f4xx_hal_i2s.c>

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 1847 of file stm32f4xx_hal_i2s.c.

References DMA_NORMAL, HAL_I2S_RxCpltCallback(), HAL_I2S_STATE_READY, __DMA_HandleTypeDef::Init, __I2S_HandleTypeDef::Instance, DMA_InitTypeDef::Mode, __I2S_HandleTypeDef::RxXferCount, and __I2S_HandleTypeDef::State.

Referenced by HAL_I2S_Receive_DMA().

◆ I2S_DMARxHalfCplt()

static void I2S_DMARxHalfCplt ( DMA_HandleTypeDef * hdma)
static

#include <stm32f4xx_hal_i2s.c>

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 1873 of file stm32f4xx_hal_i2s.c.

References HAL_I2S_RxHalfCpltCallback().

Referenced by HAL_I2S_Receive_DMA().

◆ I2S_DMAError()

static void I2S_DMAError ( DMA_HandleTypeDef * hdma)
static

#include <stm32f4xx_hal_i2s.c>

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 1891 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().

◆ I2S_Transmit_IT()

static void I2S_Transmit_IT ( I2S_HandleTypeDef * hi2s)
static

#include <stm32f4xx_hal_i2s.c>

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
None

Definition at line 1918 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().

◆ I2S_Receive_IT()

static void I2S_Receive_IT ( I2S_HandleTypeDef * hi2s)
static

#include <stm32f4xx_hal_i2s.c>

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
None

Definition at line 1946 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().

◆ I2S_IRQHandler()

static void I2S_IRQHandler ( I2S_HandleTypeDef * hi2s)
static

◆ I2S_WaitFlagStateUntilTimeout()

static HAL_StatusTypeDef I2S_WaitFlagStateUntilTimeout ( I2S_HandleTypeDef * hi2s,
uint32_t Flag,
FlagStatus State,
uint32_t Timeout )
static

#include <stm32f4xx_hal_i2s.c>

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 2051 of file stm32f4xx_hal_i2s.c.

References __HAL_I2S_GET_FLAG, __HAL_UNLOCK, HAL_GetTick(), HAL_I2S_STATE_READY, HAL_MAX_DELAY, HAL_OK, HAL_TIMEOUT, and __I2S_HandleTypeDef::State.

Referenced by HAL_I2S_DMAStop(), HAL_I2S_Receive(), and HAL_I2S_Transmit().