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) 55 #include <src/sdl/r5/j721e/sdl_soc_ccm.h> 58 #if defined (SOC_J7200) 149 typedef struct SDL_CCM_ErrorStatus_s
216 uint32_t polarityInversionMask, uint32_t timeoutCnt);
CCM Static Register.
Definition: sdl_ccm.h:138
Structure for CCM error status.
Definition: sdl_ccm.h:149
Definition: sdl_ccm.h:115
bool compareErrorFlag
Definition: sdl_ccm.h:151
Definition: sdl_ccm.h:100
volatile uint32_t CCMKEYR3
Definition: sdl_ccm.h:141
Definition: sdl_ccm.h:102
SDL_CCM_SelfTestType
This enumerator defines the type of CCM Self-test type.
Definition: sdl_ccm.h:114
int32_t SDL_CCM_init(SDL_CCM_Inst instance)
Initialization API for CCM module.
Definition: sdl_ccm.h:117
uint32_t SDL_CCM_Inst
Definition: sdl_soc_ccm.h:79
bool selfTestErrorFlag
Definition: sdl_ccm.h:153
SDL_CCM_MonitorType
This enumerator defines the type of CCM Monitor type.
Definition: sdl_ccm.h:97
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:119
bool selfTestErrorTypeFlag
Definition: sdl_ccm.h:155
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:139
Definition: sdl_ccm.h:104
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:121
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:142
volatile uint32_t CCMKEYR2
Definition: sdl_ccm.h:140
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:106
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...