STM32H735xx HAL User Manual
Modules | Functions
monitoring operation functions
RAMECC Exported Functions | RAMECC

monitoring operation functions More...

Modules

 Error information functions
 

Error information functions.


 RAMECC_Exported_Functions_Group4

Functions

HAL_StatusTypeDef HAL_RAMECC_StartMonitor (RAMECC_HandleTypeDef *hramecc)
 Starts the RAMECC latching error information.
HAL_StatusTypeDef HAL_RAMECC_StopMonitor (RAMECC_HandleTypeDef *hramecc)
 Stop the RAMECC latching error information.
HAL_StatusTypeDef HAL_RAMECC_EnableNotification (RAMECC_HandleTypeDef *hramecc, uint32_t Notifications)
 Enable the RAMECC error interrupts.
HAL_StatusTypeDef HAL_RAMECC_DisableNotification (RAMECC_HandleTypeDef *hramecc, uint32_t Notifications)
 Disable the RAMECC error interrupts.
HAL_StatusTypeDef HAL_RAMECC_RegisterCallback (RAMECC_HandleTypeDef *hramecc, void(*pCallback)(RAMECC_HandleTypeDef *_hramecc))
 Register callbacks.
HAL_StatusTypeDef HAL_RAMECC_UnRegisterCallback (RAMECC_HandleTypeDef *hramecc)
 UnRegister callbacks.
void HAL_RAMECC_IRQHandler (RAMECC_HandleTypeDef *hramecc)
 Handles RAMECC interrupt request.

Detailed Description

monitoring operation functions

 ===============================================================================
                   #####  Monitoring operation functions  #####
 ===============================================================================
    [..]  This section provides functions allowing to:
      (+) Configure latching error information.
      (+) Configure RAMECC Global/Monitor interrupts.
      (+) Register and Unregister RAMECC callbacks
      (+) Handle RAMECC interrupt request


Function Documentation

HAL_StatusTypeDef HAL_RAMECC_DisableNotification ( RAMECC_HandleTypeDef hramecc,
uint32_t  Notifications 
)

Disable the RAMECC error interrupts.

Parameters:
hrameccPointer to a RAMECC_HandleTypeDef structure that contains the configuration information for the specified RAMECC Monitor.
NotificationsSelect the notification.
Return values:
HALstatus.

Definition at line 366 of file stm32h7xx_hal_ramecc.c.

References __HAL_RAMECC_DISABLE_IT, assert_param, __RAMECC_HandleTypeDef::ErrorCode, HAL_RAMECC_ERROR_BUSY, HAL_RAMECC_STATE_BUSY, HAL_RAMECC_STATE_READY, __RAMECC_HandleTypeDef::Instance, IS_RAMECC_INTERRUPT, and __RAMECC_HandleTypeDef::State.

HAL_StatusTypeDef HAL_RAMECC_EnableNotification ( RAMECC_HandleTypeDef hramecc,
uint32_t  Notifications 
)

Enable the RAMECC error interrupts.

Parameters:
hrameccPointer to a RAMECC_HandleTypeDef structure that contains the configuration information for the specified RAMECC Monitor.
NotificationsSelect the notification.
Return values:
HALstatus.

Definition at line 326 of file stm32h7xx_hal_ramecc.c.

References __HAL_RAMECC_ENABLE_IT, assert_param, __RAMECC_HandleTypeDef::ErrorCode, HAL_RAMECC_ERROR_BUSY, HAL_RAMECC_STATE_BUSY, HAL_RAMECC_STATE_READY, __RAMECC_HandleTypeDef::Instance, IS_RAMECC_INTERRUPT, and __RAMECC_HandleTypeDef::State.

Handles RAMECC interrupt request.

Parameters:
hrameccPointer to a RAMECC_HandleTypeDef structure that contains the configuration information for the specified RAMECC Monitor.
Return values:
None.

Definition at line 482 of file stm32h7xx_hal_ramecc.c.

References __HAL_RAMECC_CLEAR_FLAG, __RAMECC_HandleTypeDef::DetectErrorCallback, __RAMECC_HandleTypeDef::Instance, and RAMECC_IT_GLOBAL_ALL.

HAL_StatusTypeDef HAL_RAMECC_RegisterCallback ( RAMECC_HandleTypeDef hramecc,
void(*)(RAMECC_HandleTypeDef *_hramecc)  pCallback 
)

Register callbacks.

Parameters:
hrameccPointer to a RAMECC_HandleTypeDef structure that contains the configuration information for the specified RAMECC Monitor.
pCallbackpointer to private callbacsk function which has pointer to a RAMECC_HandleTypeDef structure as parameter.
Return values:
HALstatus.

Definition at line 407 of file stm32h7xx_hal_ramecc.c.

References assert_param, __RAMECC_HandleTypeDef::DetectErrorCallback, __RAMECC_HandleTypeDef::ErrorCode, HAL_RAMECC_ERROR_INVALID_CALLBACK, HAL_RAMECC_STATE_READY, __RAMECC_HandleTypeDef::Instance, and __RAMECC_HandleTypeDef::State.

HAL_StatusTypeDef HAL_RAMECC_StartMonitor ( RAMECC_HandleTypeDef hramecc)

Starts the RAMECC latching error information.

Parameters:
hrameccPointer to a RAMECC_HandleTypeDef structure that contains the configuration information for the specified RAMECC Monitor.
Return values:
HALstatus.

Definition at line 249 of file stm32h7xx_hal_ramecc.c.

References assert_param, __RAMECC_HandleTypeDef::ErrorCode, HAL_RAMECC_ERROR_BUSY, HAL_RAMECC_STATE_BUSY, HAL_RAMECC_STATE_READY, __RAMECC_HandleTypeDef::Instance, and __RAMECC_HandleTypeDef::State.

HAL_StatusTypeDef HAL_RAMECC_StopMonitor ( RAMECC_HandleTypeDef hramecc)

Stop the RAMECC latching error information.

Parameters:
hrameccPointer to a RAMECC_HandleTypeDef structure that contains the configuration information for the specified RAMECC Monitor.
Return values:
HALstatus.

Definition at line 287 of file stm32h7xx_hal_ramecc.c.

References assert_param, __RAMECC_HandleTypeDef::ErrorCode, HAL_RAMECC_ERROR_BUSY, HAL_RAMECC_STATE_BUSY, HAL_RAMECC_STATE_READY, __RAMECC_HandleTypeDef::Instance, and __RAMECC_HandleTypeDef::State.

HAL_StatusTypeDef HAL_RAMECC_UnRegisterCallback ( RAMECC_HandleTypeDef hramecc)

UnRegister callbacks.

Parameters:
hrameccPointer to a RAMECC_HandleTypeDef structure that contains the configuration information for the specified RAMECC Monitor.
Return values:
HALstatus.

Definition at line 449 of file stm32h7xx_hal_ramecc.c.

References assert_param, __RAMECC_HandleTypeDef::DetectErrorCallback, __RAMECC_HandleTypeDef::ErrorCode, HAL_RAMECC_ERROR_INVALID_CALLBACK, HAL_RAMECC_STATE_READY, __RAMECC_HandleTypeDef::Instance, and __RAMECC_HandleTypeDef::State.