STM32H735xx HAL User Manual
Functions
Initialization and de-initialization functions
PSSI Exported Functions

Initialization and Configuration functions. More...

Functions

HAL_StatusTypeDef HAL_PSSI_Init (PSSI_HandleTypeDef *hpssi)
 Initializes the PSSI according to the specified parameters in the PSSI_InitTypeDef and initialize the associated handle.
HAL_StatusTypeDef HAL_PSSI_DeInit (PSSI_HandleTypeDef *hpssi)
 DeInitialize the PSSI peripheral.
__weak void HAL_PSSI_MspInit (PSSI_HandleTypeDef *hpssi)
 Initialize the PSSI MSP.
__weak void HAL_PSSI_MspDeInit (PSSI_HandleTypeDef *hpssi)
 DeInitialize the PSSI MSP.
HAL_StatusTypeDef HAL_PSSI_RegisterCallback (PSSI_HandleTypeDef *hpssi, HAL_PSSI_CallbackIDTypeDef CallbackID, pPSSI_CallbackTypeDef pCallback)
 Register a User PSSI Callback To be used instead of the weak predefined callback.
HAL_StatusTypeDef HAL_PSSI_UnRegisterCallback (PSSI_HandleTypeDef *hpssi, HAL_PSSI_CallbackIDTypeDef CallbackID)
 Unregister an PSSI Callback PSSI callback is redirected to the weak predefined callback.

Detailed Description

Initialization and Configuration functions.

 ===============================================================================
              ##### Initialization and de-initialization functions #####
 ===============================================================================
    [..]  This subsection provides a set of functions allowing to initialize and
          deinitialize the PSSIx peripheral:

      (+) User must implement HAL_PSSI_MspInit() function in which he configures
          all related peripherals resources (CLOCK, GPIO, DMA, IT and NVIC ).

      (+) Call the function HAL_PSSI_Init() to configure the selected device with
          the selected configuration:
        (++) Data Width
        (++) Control Signals
        (++) Input Clock polarity
        (++) Output Clock polarity

      (+) Call the function HAL_PSSI_DeInit() to restore the default configuration
          of the selected PSSIx peripheral.


Function Documentation

HAL_StatusTypeDef HAL_PSSI_DeInit ( PSSI_HandleTypeDef hpssi)

DeInitialize the PSSI peripheral.

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

Definition at line 299 of file stm32h7xx_hal_pssi.c.

References assert_param, __PSSI_HandleTypeDef::ErrorCode, HAL_PSSI_DISABLE, HAL_PSSI_ERROR_NONE, HAL_PSSI_MspDeInit(), HAL_PSSI_STATE_BUSY, HAL_PSSI_STATE_RESET, __PSSI_HandleTypeDef::Instance, __PSSI_HandleTypeDef::MspDeInitCallback, and __PSSI_HandleTypeDef::State.

HAL_StatusTypeDef HAL_PSSI_Init ( PSSI_HandleTypeDef hpssi)

DeInitialize the PSSI MSP.

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

Definition at line 354 of file stm32h7xx_hal_pssi.c.

Referenced by HAL_PSSI_DeInit(), and HAL_PSSI_UnRegisterCallback().

Initialize the PSSI MSP.

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

Definition at line 338 of file stm32h7xx_hal_pssi.c.

Referenced by HAL_PSSI_Init(), and HAL_PSSI_UnRegisterCallback().

HAL_StatusTypeDef HAL_PSSI_RegisterCallback ( PSSI_HandleTypeDef hpssi,
HAL_PSSI_CallbackIDTypeDef  CallbackID,
pPSSI_CallbackTypeDef  pCallback 
)

Register a User PSSI Callback To be used instead of the weak predefined callback.

Parameters:
hpssiPointer to a PSSI_HandleTypeDef structure that contains the configuration information for the specified PSSI.
CallbackIDID of the callback to be registered This parameter can be one of the following values:
pCallbackpointer to the Callback function
Return values:
HALstatus

Definition at line 380 of file stm32h7xx_hal_pssi.c.

References __PSSI_HandleTypeDef::AbortCpltCallback, __PSSI_HandleTypeDef::ErrorCallback, __PSSI_HandleTypeDef::ErrorCode, HAL_PSSI_ABORT_CB_ID, HAL_PSSI_ERROR_CB_ID, HAL_PSSI_ERROR_INVALID_CALLBACK, HAL_PSSI_MSPDEINIT_CB_ID, HAL_PSSI_MSPINIT_CB_ID, HAL_PSSI_RX_COMPLETE_CB_ID, HAL_PSSI_STATE_READY, HAL_PSSI_STATE_RESET, HAL_PSSI_TX_COMPLETE_CB_ID, __PSSI_HandleTypeDef::MspDeInitCallback, __PSSI_HandleTypeDef::MspInitCallback, __PSSI_HandleTypeDef::RxCpltCallback, __PSSI_HandleTypeDef::State, and __PSSI_HandleTypeDef::TxCpltCallback.

HAL_StatusTypeDef HAL_PSSI_UnRegisterCallback ( PSSI_HandleTypeDef hpssi,
HAL_PSSI_CallbackIDTypeDef  CallbackID 
)

Unregister an PSSI Callback PSSI callback is redirected to the weak predefined callback.

Parameters:
hpssiPointer to a PSSI_HandleTypeDef structure that contains the configuration information for the specified PSSI.
CallbackIDID of the callback to be unregistered This parameter can be one of the following values:
Return values:
HALstatus

Definition at line 481 of file stm32h7xx_hal_pssi.c.

References __PSSI_HandleTypeDef::AbortCpltCallback, __PSSI_HandleTypeDef::ErrorCallback, __PSSI_HandleTypeDef::ErrorCode, HAL_PSSI_ABORT_CB_ID, HAL_PSSI_AbortCpltCallback(), HAL_PSSI_ERROR_CB_ID, HAL_PSSI_ERROR_INVALID_CALLBACK, HAL_PSSI_ErrorCallback(), HAL_PSSI_MspDeInit(), HAL_PSSI_MSPDEINIT_CB_ID, HAL_PSSI_MspInit(), HAL_PSSI_MSPINIT_CB_ID, HAL_PSSI_RX_COMPLETE_CB_ID, HAL_PSSI_RxCpltCallback(), HAL_PSSI_STATE_READY, HAL_PSSI_STATE_RESET, HAL_PSSI_TX_COMPLETE_CB_ID, HAL_PSSI_TxCpltCallback(), __PSSI_HandleTypeDef::MspDeInitCallback, __PSSI_HandleTypeDef::MspInitCallback, __PSSI_HandleTypeDef::RxCpltCallback, __PSSI_HandleTypeDef::State, and __PSSI_HandleTypeDef::TxCpltCallback.