AM62Px MCU+ SDK  09.02.00
safety_checkers_rm.h File Reference

Introduction

This file contains RM safety checkers library interfaces and related data structures.

Go to the source code of this file.

Data Structures

struct  SafetyCheckers_RmRegData
 Structure to hold the base address and the register details of RM control module registers. More...
 

Macros

#define SAFETY_CHECKERS_RM_MAX_REG_PER_GROUP   (20U)
 Maximum number of registers in a register group. More...
 

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...