STM32H735xx HAL User Manual
Functions
Error information functions
RAMECC Exported Functions | monitoring operation functions

Error information functions. More...

Functions

uint32_t HAL_RAMECC_GetFailingAddress (RAMECC_HandleTypeDef *hramecc)
 Return the RAMECC failing address.
uint32_t HAL_RAMECC_GetFailingDataLow (RAMECC_HandleTypeDef *hramecc)
 Return the RAMECC data low.
uint32_t HAL_RAMECC_GetFailingDataHigh (RAMECC_HandleTypeDef *hramecc)
 Return the RAMECC data high.
uint32_t HAL_RAMECC_GetHammingErrorCode (RAMECC_HandleTypeDef *hramecc)
 Return the RAMECC Hamming bits injected.
uint32_t HAL_RAMECC_IsECCSingleErrorDetected (RAMECC_HandleTypeDef *hramecc)
 Check if an ECC single error was occurred.
uint32_t HAL_RAMECC_IsECCDoubleErrorDetected (RAMECC_HandleTypeDef *hramecc)
 Check if an ECC double error was occurred.
HAL_RAMECC_StateTypeDef HAL_RAMECC_GetState (RAMECC_HandleTypeDef *hramecc)
 Get the RAMECC peripheral state.
uint32_t HAL_RAMECC_GetError (RAMECC_HandleTypeDef *hramecc)
 Get the RAMECC peripheral error code.

Detailed Description

Error information functions.

 ===============================================================================
                   #####  Error information functions  #####
 ===============================================================================
    [..]  This section provides functions allowing to:
      (+) Get failing address.
      (+) Get failing data low.
      (+) Get failing data high.
      (+) Get hamming bits injected.
      (+) Check single error flag.
      (+) Check double error flag.


Function Documentation

uint32_t HAL_RAMECC_GetError ( RAMECC_HandleTypeDef hramecc)

Get the RAMECC peripheral error code.

Parameters:
hramecc: Pointer to a RAMECC_HandleTypeDef structure that contains the configuration information for the specified RAMECC instance.
Return values:
RAMECCerror code.

Definition at line 666 of file stm32h7xx_hal_ramecc.c.

References __RAMECC_HandleTypeDef::ErrorCode.

Return the RAMECC failing address.

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

Definition at line 531 of file stm32h7xx_hal_ramecc.c.

References assert_param, and __RAMECC_HandleTypeDef::Instance.

Return the RAMECC data high.

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

Definition at line 565 of file stm32h7xx_hal_ramecc.c.

References assert_param, and __RAMECC_HandleTypeDef::Instance.

Return the RAMECC data low.

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

Definition at line 548 of file stm32h7xx_hal_ramecc.c.

References assert_param, and __RAMECC_HandleTypeDef::Instance.

Return the RAMECC Hamming bits injected.

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

Definition at line 582 of file stm32h7xx_hal_ramecc.c.

References assert_param, and __RAMECC_HandleTypeDef::Instance.

Get the RAMECC peripheral state.

Parameters:
hramecc: Pointer to a RAMECC_HandleTypeDef structure that contains the configuration information for the specified RAMECC instance.
Return values:
RAMECCstate.

Definition at line 653 of file stm32h7xx_hal_ramecc.c.

References __RAMECC_HandleTypeDef::State.

Check if an ECC double error was occurred.

Parameters:
hrameccPointer to a RAMECC_HandleTypeDef structure that contains the configuration information for the specified RAMECC Monitor.
Return values:
Stateof bit (1 or 0).

Definition at line 614 of file stm32h7xx_hal_ramecc.c.

References assert_param, and __RAMECC_HandleTypeDef::Instance.

Check if an ECC single error was occurred.

Parameters:
hrameccPointer to a RAMECC_HandleTypeDef structure that contains the configuration information for the specified RAMECC Monitor.
Return values:
Stateof bit (1 or 0).

Definition at line 598 of file stm32h7xx_hal_ramecc.c.

References assert_param, and __RAMECC_HandleTypeDef::Instance.