AM62x MCU+ SDK  09.02.01
SAFETY_CHECKERS RM checkers APIs

Introduction

Functions

int32_t SafetyCheckers_rmGetRegCfg (uintptr_t *rmRegCfg, uint32_t size)
 API to get the register value for all the RM control modules E.g. When the RM register configuration is requested, SafetyCheckers_rmGetRegCfg collects the register configuration values for all the RM control module by getting the base address and the length from the structure. The collected dump shall be considered as a golden sample and shall be returned to the application. Register values from the RM control modules IR, IA, RA and DMA are used for taking the register dump. More...
 
int32_t SafetyCheckers_rmVerifyRegCfg (const uintptr_t *rmRegCfg, uint32_t size)
 API to read back and compare the RM control module registers data
E.g. When the RM verify register dump is requested, SafetyCheckers_rmVerifyRegCfg API collects the value for RM registers and compares with the received register values. Register values from the RM control modules IR, IA, RA and DMA are used for verifying the register dump. More...
 

Function Documentation

◆ SafetyCheckers_rmGetRegCfg()

int32_t SafetyCheckers_rmGetRegCfg ( uintptr_t *  rmRegCfg,
uint32_t  size 
)

API to get the register value for all the RM control modules E.g. When the RM register configuration is requested, SafetyCheckers_rmGetRegCfg collects the register configuration values for all the RM control module by getting the base address and the length from the structure. The collected dump shall be considered as a golden sample and shall be returned to the application. Register values from the RM control modules IR, IA, RA and DMA are used for taking the register dump.

Parameters
rmRegCfg[IN/OUT] Pointer to store the Register configuration
size[IN] Size of reg cfg array
Returns
SAFETY_CHECKERS_SOK in case of success,else failure.

◆ SafetyCheckers_rmVerifyRegCfg()

int32_t SafetyCheckers_rmVerifyRegCfg ( const uintptr_t *  rmRegCfg,
uint32_t  size 
)

API to read back and compare the RM control module registers data
E.g. When the RM verify register dump is requested, SafetyCheckers_rmVerifyRegCfg API collects the value for RM registers and compares with the received register values. Register values from the RM control modules IR, IA, RA and DMA are used for verifying the register dump.

Parameters
rmRegCfg[IN] Pointer of the golden sample
size[IN] Size of reg dump pointer
Returns
SAFETY_CHECKERS_SOK in case of success else failure