47 #ifndef INCLUDE_SDL_CCM_H_ 48 #define INCLUDE_SDL_CCM_H_ 50 #include <src/sdl/sdl_types.h> 51 #include <src/sdl/tistdtypes.h> 54 #if defined (SOC_J721E) 58 #if defined (SOC_J7200) 59 #include <src/sdl/r5/j7200/sdl_soc_ccm.h> 62 #if defined (SOC_J721S2) 63 #include <src/sdl/r5/j721s2/sdl_soc_ccm.h> 66 #if defined (SOC_J784S4) 67 #include <src/sdl/r5/j784s4/sdl_soc_ccm.h> 157 typedef struct SDL_CCM_ErrorStatus_s
224 uint32_t polarityInversionMask, uint32_t timeoutCnt);
CCM Static Register.
Definition: sdl_ccm.h:146
Definition: sdl_ccm.h:106
Structure for CCM error status.
Definition: sdl_ccm.h:157
Definition: sdl_ccm.h:123
bool compareErrorFlag
Definition: sdl_ccm.h:159
Definition: sdl_ccm.h:108
volatile uint32_t CCMKEYR3
Definition: sdl_ccm.h:149
Definition: sdl_ccm.h:110
SDL_CCM_SelfTestType
This enumerator defines the type of CCM Self-test type.
Definition: sdl_ccm.h:122
int32_t SDL_CCM_init(SDL_CCM_Inst instance)
Initialization API for CCM module.
Definition: sdl_ccm.h:125
uint32_t SDL_CCM_Inst
Definition: sdl_soc_ccm.h:80
bool selfTestErrorFlag
Definition: sdl_ccm.h:161
SDL_CCM_MonitorType
This enumerator defines the type of CCM Monitor type.
Definition: sdl_ccm.h:105
int32_t SDL_CCM_clearError(SDL_CCM_Inst instance, SDL_CCM_MonitorType monitorType)
Clears the compare error for the selected monitor type.
Definition: sdl_ccm.h:127
bool selfTestErrorTypeFlag
Definition: sdl_ccm.h:163
int32_t SDL_CCM_selfTest(SDL_CCM_Inst instance, SDL_CCM_MonitorType monitorType, SDL_CCM_SelfTestType testType, uint32_t polarityInversionMask, uint32_t timeoutCnt)
Executes a self-test of the CCM module. The types of self-tests supported are described in detail in ...
volatile uint32_t CCMKEYR1
Definition: sdl_ccm.h:147
Definition: sdl_ccm.h:112
int32_t SDL_CCM_getErrorType(SDL_CCM_Inst instance, uint32_t intSrc, SDL_CCM_MonitorType *monitorType)
Gets the monitor type for which the CCM error was generated. Takes the ESM interrupt source as input.
Definition: sdl_ccm.h:129
This file contains SOC specific defintions.
int32_t SDL_CCM_verifyConfig(SDL_CCM_Inst instance)
Verifies the configuration done as part of SDL_CCM_init is as expected.
volatile uint32_t CCMPOLCNTRL
Definition: sdl_ccm.h:150
volatile uint32_t CCMKEYR2
Definition: sdl_ccm.h:148
int32_t SDL_CCM_getStaticRegisters(SDL_CCM_Inst instance, SDL_CCM_staticRegs *pStaticRegs)
Retrieves the static register configuration. The values returned in staticRegs can be saved by the ap...
Definition: sdl_ccm.h:114
int32_t SDL_CCM_injectError(SDL_CCM_Inst instance, SDL_CCM_MonitorType monitorType)
Forces an error to be generated for the selected monitor type. After injecting the error,...