STM32H735xx HAL User Manual
Modules | Functions
SPDIFRX Exported Functions
SPDIFRX

Modules

 Initialization and de-initialization functions
 

Initialization and Configuration functions.


 IO operation functions
 

Data transfers functions.


 Peripheral State and Errors functions
 

Peripheral State functions.


Functions

static void SPDIFRX_DMARxCplt (DMA_HandleTypeDef *hdma)
 DMA SPDIFRX receive process (Data flow) complete callback.
static void SPDIFRX_DMARxHalfCplt (DMA_HandleTypeDef *hdma)
 DMA SPDIFRX receive process (Data flow) half complete callback.
static void SPDIFRX_DMACxCplt (DMA_HandleTypeDef *hdma)
 DMA SPDIFRX receive process (Control flow) complete callback.
static void SPDIFRX_DMACxHalfCplt (DMA_HandleTypeDef *hdma)
 DMA SPDIFRX receive process (Control flow) half complete callback.
static void SPDIFRX_DMAError (DMA_HandleTypeDef *hdma)
 DMA SPDIFRX communication error callback.
static void SPDIFRX_ReceiveDataFlow_IT (SPDIFRX_HandleTypeDef *hspdif)
 Receive an amount of data (Data Flow) with Interrupt.
static void SPDIFRX_ReceiveControlFlow_IT (SPDIFRX_HandleTypeDef *hspdif)
 Receive an amount of data (Control Flow) with Interrupt.
static HAL_StatusTypeDef SPDIFRX_WaitOnFlagUntilTimeout (SPDIFRX_HandleTypeDef *hspdif, uint32_t Flag, FlagStatus Status, uint32_t Timeout, uint32_t tickstart)
 This function handles SPDIFRX Communication Timeout.

Function Documentation

static void SPDIFRX_DMACxCplt ( DMA_HandleTypeDef hdma) [static]

DMA SPDIFRX receive process (Control flow) complete callback.

Parameters:
hdmaDMA handle
Return values:
None

Definition at line 1460 of file stm32h7xx_hal_spdifrx.c.

References __SPDIFRX_HandleTypeDef::CsXferCount, __SPDIFRX_HandleTypeDef::CxCpltCallback, HAL_SPDIFRX_CxCpltCallback(), HAL_SPDIFRX_STATE_READY, __SPDIFRX_HandleTypeDef::Instance, and __SPDIFRX_HandleTypeDef::State.

Referenced by HAL_SPDIFRX_ReceiveCtrlFlow_DMA().

static void SPDIFRX_DMACxHalfCplt ( DMA_HandleTypeDef hdma) [static]

DMA SPDIFRX receive process (Control flow) half complete callback.

Parameters:
hdmaDMA handle
Return values:
None

Definition at line 1481 of file stm32h7xx_hal_spdifrx.c.

References __SPDIFRX_HandleTypeDef::CxHalfCpltCallback, and HAL_SPDIFRX_CxHalfCpltCallback().

Referenced by HAL_SPDIFRX_ReceiveCtrlFlow_DMA().

static void SPDIFRX_DMAError ( DMA_HandleTypeDef hdma) [static]
static void SPDIFRX_DMARxCplt ( DMA_HandleTypeDef hdma) [static]
static void SPDIFRX_DMARxHalfCplt ( DMA_HandleTypeDef hdma) [static]

DMA SPDIFRX receive process (Data flow) half complete callback.

Parameters:
hdmaDMA handle
Return values:
None

Definition at line 1443 of file stm32h7xx_hal_spdifrx.c.

References HAL_SPDIFRX_RxHalfCpltCallback(), and __SPDIFRX_HandleTypeDef::RxHalfCpltCallback.

Referenced by HAL_SPDIFRX_ReceiveDataFlow_DMA().

static void SPDIFRX_ReceiveControlFlow_IT ( SPDIFRX_HandleTypeDef hspdif) [static]
static void SPDIFRX_ReceiveDataFlow_IT ( SPDIFRX_HandleTypeDef hspdif) [static]
static HAL_StatusTypeDef SPDIFRX_WaitOnFlagUntilTimeout ( SPDIFRX_HandleTypeDef hspdif,
uint32_t  Flag,
FlagStatus  Status,
uint32_t  Timeout,
uint32_t  tickstart 
) [static]

This function handles SPDIFRX Communication Timeout.

Parameters:
hspdifSPDIFRX handle
FlagFlag checked
StatusValue of the flag expected
TimeoutDuration of the timeout
tickstartTick start value
Return values:
HALstatus

Definition at line 1588 of file stm32h7xx_hal_spdifrx.c.

References __HAL_SPDIFRX_DISABLE_IT, __HAL_SPDIFRX_GET_FLAG, HAL_GetTick(), HAL_SPDIFRX_STATE_READY, SPDIFRX_IT_CSRNE, SPDIFRX_IT_IFEIE, SPDIFRX_IT_OVRIE, SPDIFRX_IT_PERRIE, SPDIFRX_IT_RXNE, SPDIFRX_IT_SBLKIE, SPDIFRX_IT_SYNCDIE, and __SPDIFRX_HandleTypeDef::State.

Referenced by HAL_SPDIFRX_ReceiveCtrlFlow(), and HAL_SPDIFRX_ReceiveDataFlow().