STM32H735xx HAL User Manual
Functions
Input and Output operation functions
PSSI Exported Functions

Data transfers functions. More...

Functions

HAL_StatusTypeDef HAL_PSSI_Transmit (PSSI_HandleTypeDef *hpssi, uint8_t *pData, uint32_t Size, uint32_t Timeout)
 Transmits in master mode an amount of data in blocking mode.
HAL_StatusTypeDef HAL_PSSI_Receive (PSSI_HandleTypeDef *hpssi, uint8_t *pData, uint32_t Size, uint32_t Timeout)
 Receives an amount of data in blocking mode.
HAL_StatusTypeDef HAL_PSSI_Transmit_DMA (PSSI_HandleTypeDef *hpssi, uint32_t *pData, uint32_t Size)
 Transmit an amount of data in non-blocking mode with DMA.
HAL_StatusTypeDef HAL_PSSI_Receive_DMA (PSSI_HandleTypeDef *hpssi, uint32_t *pData, uint32_t Size)
 Receive an amount of data in non-blocking mode with DMA.
HAL_StatusTypeDef HAL_PSSI_Abort_DMA (PSSI_HandleTypeDef *hpssi)
 Abort a DMA process communication with Interrupt.
void HAL_PSSI_IRQHandler (PSSI_HandleTypeDef *hpssi)
 This function handles PSSI event interrupt request.

Detailed Description

Data transfers functions.

 ===============================================================================
                      ##### IO operation functions #####
 ===============================================================================
    [..]
    This subsection provides a set of functions allowing to manage the PSSI data
    transfers.

    (#) There are two modes of transfer:
       (++) Blocking mode : The communication is performed in the polling mode.
            The status of all data processing is returned by the same function
            after finishing transfer.
       (++) No-Blocking mode : The communication is performed using DMA.
            These functions return the status of the transfer startup.
            The end of the data processing will be indicated through the
            dedicated  the DMA IRQ .

    (#) Blocking mode functions are :
        (++) HAL_PSSI_Transmit()
        (++) HAL_PSSI_Receive()

    (#) No-Blocking mode functions with DMA are :
        (++) HAL_PSSI_Transmit_DMA()
        (++) HAL_PSSI_Receive_DMA()

    (#) A set of Transfer Complete Callbacks are provided in non Blocking mode:
        (++) HAL_PSSI_TxCpltCallback()
        (++) HAL_PSSI_RxCpltCallback()
        (++) HAL_PSSI_ErrorCallback()
        (++) HAL_PSSI_AbortCpltCallback()


Function Documentation

HAL_StatusTypeDef HAL_PSSI_Abort_DMA ( PSSI_HandleTypeDef hpssi)

Abort a DMA process communication with Interrupt.

Parameters:
hpssiPointer to a PSSI_HandleTypeDef structure that contains the configuration information for the specified PSSI.
Return values:
HALstatus

Definition at line 1194 of file stm32h7xx_hal_pssi.c.

References __PSSI_HandleTypeDef::ErrorCallback, HAL_DMA_Abort_IT(), HAL_PSSI_DISABLE_IT, HAL_PSSI_ENABLE_IT, HAL_PSSI_STATE_ABORT, HAL_PSSI_STATE_BUSY_RX, HAL_PSSI_STATE_BUSY_TX, __PSSI_HandleTypeDef::hdmarx, __PSSI_HandleTypeDef::hdmatx, __PSSI_HandleTypeDef::Instance, PSSI_DMAAbort(), PSSI_FLAG_OVR_RIS, __PSSI_HandleTypeDef::State, and __DMA_HandleTypeDef::XferAbortCallback.

HAL_StatusTypeDef HAL_PSSI_Receive ( PSSI_HandleTypeDef hpssi,
uint8_t *  pData,
uint32_t  Size,
uint32_t  Timeout 
)
HAL_StatusTypeDef HAL_PSSI_Receive_DMA ( PSSI_HandleTypeDef hpssi,
uint32_t *  pData,
uint32_t  Size 
)
HAL_StatusTypeDef HAL_PSSI_Transmit ( PSSI_HandleTypeDef hpssi,
uint8_t *  pData,
uint32_t  Size,
uint32_t  Timeout 
)
HAL_StatusTypeDef HAL_PSSI_Transmit_DMA ( PSSI_HandleTypeDef hpssi,
uint32_t *  pData,
uint32_t  Size 
)