AM62x MCU+ SDK  09.02.01
safety_checkers_pm.h File Reference

Introduction

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

Go to the source code of this file.

Data Structures

struct  SafetyCheckers_PmPllData
 Structure to hold the base address and the length of PLLs. More...
 
struct  SafetyCheckers_PmPscData
 Structure to hold the base address and the number of Module Domain(MD) stat and Power Domain(PD) stat registers of PSC. More...
 

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