AM62Ax MCU+ SDK  09.02.00
SAFETY_CHECKERS PM checkers APIs

Introduction

Functions

int32_t SafetyCheckers_pmGetPscRegCfg (uintptr_t *pscRegCfg, uint32_t size)
 API to get register configuration for PSC module. E.g. When the PSC register config is requested, SafetyCheckers_pmGetPscRegCfg API collects the PSC configuration for devices present on the given platform. Register configuration includes PDSTAT and MDSTAT register values. The collected configuration will be stored in pscRegCfg array. More...
 
int32_t SafetyCheckers_pmVerifyPscRegCfg (const uintptr_t *pscRegCfg, uint32_t size)
 API to read back and compares the current register configuration for PSC module. E.g. When the PSC register verify is requested, SafetyCheckers_pmVerifyPscRegCfg API collects the PSC configuration for devices present on the given platform and compares with the received register configuration. More...
 
int32_t SafetyCheckers_pmGetPllRegCfg (uintptr_t *pllRegCfg, uint32_t size)
 API to get register configuration for PLL module. E.g. When the PLL register config is requested, SafetyCheckers_pmGetPllRegCfg API collects the PLL configuration for devices present on the given platform. Register configuration includes PLL register values. The collected configuration will be stored in pllRegCfg array. More...
 
int32_t SafetyCheckers_pmVerifyPllRegCfg (const uintptr_t *pllRegCfg, uint32_t size)
 API to read back and compares the current register configuration for PLL module. E.g. When the PLL register verify is requested, SafetyCheckers_pmVerifyPllRegCfg API collects the PLL configuration for devices present on the given platform and compares with the received register configuration. More...
 
int32_t SafetyCheckers_pmRegisterLock (void)
 API to lock the PLL control module registers. E.g. When the PLL register lock is requested, SafetyCheckers_pmRegisterLock API performs write operations to KICK registers which prevents the stray writes to PLL control module registers. More...
 

Function Documentation

◆ SafetyCheckers_pmGetPscRegCfg()

int32_t SafetyCheckers_pmGetPscRegCfg ( uintptr_t *  pscRegCfg,
uint32_t  size 
)

API to get register configuration for PSC module. E.g. When the PSC register config is requested, SafetyCheckers_pmGetPscRegCfg API collects the PSC configuration for devices present on the given platform. Register configuration includes PDSTAT and MDSTAT register values. The collected configuration will be stored in pscRegCfg array.

Parameters
pscRegCfg[IN/OUT] Pointer to store the PSC Register configuration
size[IN] Size of register configuration memory
Returns
SAFETY_CHECKERS_SOK in case of success, else failure.

◆ SafetyCheckers_pmVerifyPscRegCfg()

int32_t SafetyCheckers_pmVerifyPscRegCfg ( const uintptr_t *  pscRegCfg,
uint32_t  size 
)

API to read back and compares the current register configuration for PSC module. E.g. When the PSC register verify is requested, SafetyCheckers_pmVerifyPscRegCfg API collects the PSC configuration for devices present on the given platform and compares with the received register configuration.

Parameters
pscRegCfg[IN/OUT] Pointer to store the PSC golden register configuration
size[IN] Size of golden configuration memory
Returns
SAFETY_CHECKERS_SOK in case of success, else failure.

◆ SafetyCheckers_pmGetPllRegCfg()

int32_t SafetyCheckers_pmGetPllRegCfg ( uintptr_t *  pllRegCfg,
uint32_t  size 
)

API to get register configuration for PLL module. E.g. When the PLL register config is requested, SafetyCheckers_pmGetPllRegCfg API collects the PLL configuration for devices present on the given platform. Register configuration includes PLL register values. The collected configuration will be stored in pllRegCfg array.

Parameters
pllRegCfg[IN/OUT] Pointer to store the PLL Register configuration
size[IN] Size of register configuration memory
Returns
SAFETY_CHECKERS_SOK in case of success, else failure.

◆ SafetyCheckers_pmVerifyPllRegCfg()

int32_t SafetyCheckers_pmVerifyPllRegCfg ( const uintptr_t *  pllRegCfg,
uint32_t  size 
)

API to read back and compares the current register configuration for PLL module. E.g. When the PLL register verify is requested, SafetyCheckers_pmVerifyPllRegCfg API collects the PLL configuration for devices present on the given platform and compares with the received register configuration.

Parameters
pllRegCfg[IN/OUT] Pointer to store the PLL golden register configuration
size[IN] Size of golden configuration memory
Returns
SAFETY_CHECKERS_SOK in case of success, else failure.

◆ SafetyCheckers_pmRegisterLock()

int32_t SafetyCheckers_pmRegisterLock ( void  )

API to lock the PLL control module registers. E.g. When the PLL register lock is requested, SafetyCheckers_pmRegisterLock API performs write operations to KICK registers which prevents the stray writes to PLL control module registers.

Returns
SAFETY_CHECKERS_SOK in case of success, else failure.