STM32H735xx HAL User Manual
Functions
PSSI Private Functions
PSSI

Functions

void PSSI_DMATransmitCplt (DMA_HandleTypeDef *hdma)
 DMA PSSI slave transmit process complete callback.
void PSSI_DMAReceiveCplt (DMA_HandleTypeDef *hdma)
 DMA PSSI master receive process complete callback.
void PSSI_DMAError (DMA_HandleTypeDef *hdma)
void PSSI_DMAAbort (DMA_HandleTypeDef *hdma)
 DMA PSSI communication abort callback (To be called at end of DMA Abort procedure).
static void PSSI_Error (PSSI_HandleTypeDef *hpssi, uint32_t ErrorCode)
 PSSI Errors process.
static HAL_StatusTypeDef PSSI_WaitOnStatusUntilTimeout (PSSI_HandleTypeDef *hpssi, uint32_t Flag, FlagStatus Status, uint32_t Timeout, uint32_t Tickstart)
 This function handles PSSI Communication Timeout.

Function Documentation

void PSSI_DMAAbort ( DMA_HandleTypeDef hdma)

DMA PSSI communication abort callback (To be called at end of DMA Abort procedure).

Parameters:
hdmaDMA handle.
Return values:
None

Definition at line 1691 of file stm32h7xx_hal_pssi.c.

References __PSSI_HandleTypeDef::AbortCpltCallback, __PSSI_HandleTypeDef::ErrorCallback, HAL_PSSI_STATE_ABORT, HAL_PSSI_STATE_READY, __PSSI_HandleTypeDef::hdmarx, __PSSI_HandleTypeDef::hdmatx, __PSSI_HandleTypeDef::State, and __DMA_HandleTypeDef::XferAbortCallback.

Referenced by HAL_PSSI_Abort_DMA(), HAL_PSSI_IRQHandler(), and PSSI_Error().

void PSSI_DMAError ( DMA_HandleTypeDef hdma)

DMA PSSI master receive process complete callback.

Parameters:
hdmaDMA handle
Return values:
None

Definition at line 1650 of file stm32h7xx_hal_pssi.c.

References __PSSI_HandleTypeDef::ErrorCode, HAL_PSSI_DISABLE_IT, HAL_PSSI_ERROR_NONE, HAL_PSSI_STATE_ABORT, HAL_PSSI_STATE_READY, PSSI_Error(), PSSI_FLAG_OVR_RIS, __PSSI_HandleTypeDef::RxCpltCallback, and __PSSI_HandleTypeDef::State.

Referenced by HAL_PSSI_Receive_DMA().

DMA PSSI slave transmit process complete callback.

Parameters:
hdmaDMA handle
Return values:
None

Definition at line 1609 of file stm32h7xx_hal_pssi.c.

References __PSSI_HandleTypeDef::ErrorCode, HAL_PSSI_DISABLE_IT, HAL_PSSI_ERROR_NONE, HAL_PSSI_STATE_ABORT, HAL_PSSI_STATE_READY, PSSI_Error(), PSSI_FLAG_OVR_RIS, __PSSI_HandleTypeDef::State, and __PSSI_HandleTypeDef::TxCpltCallback.

Referenced by HAL_PSSI_Transmit_DMA().

static void PSSI_Error ( PSSI_HandleTypeDef hpssi,
uint32_t  ErrorCode 
) [static]
static HAL_StatusTypeDef PSSI_WaitOnStatusUntilTimeout ( PSSI_HandleTypeDef hpssi,
uint32_t  Flag,
FlagStatus  Status,
uint32_t  Timeout,
uint32_t  Tickstart 
) [static]

This function handles PSSI Communication Timeout.

Parameters:
hpssiPointer to a PSSI_HandleTypeDef structure that contains the configuration information for the specified PSSI.
FlagSpecifies the PSSI flag to check.
StatusThe new Flag status (SET or RESET).
TimeoutTimeout duration
TickstartTick start value
Return values:
HALstatus

Definition at line 1726 of file stm32h7xx_hal_pssi.c.

References __PSSI_HandleTypeDef::ErrorCode, HAL_GetTick(), HAL_PSSI_ERROR_TIMEOUT, HAL_PSSI_GET_STATUS, HAL_PSSI_STATE_READY, and __PSSI_HandleTypeDef::State.

Referenced by HAL_PSSI_Receive(), and HAL_PSSI_Transmit().