|
AM243x MCU+ SDK
08.06.00
|
|
Go to the documentation of this file.
74 #ifndef INCLUDE_SDL_ESM_H_
75 #define INCLUDE_SDL_ESM_H_
79 #include <sdl/esm/soc/sdl_esm_soc.h>
81 #include <sdl/esm/sdlr_esm.h>
107 #define SDL_ESM_INTNUMBER_INVALID (0xffffffffu)
110 #define SDL_ESM_INST_INVALID (0xfffffffeu)
113 #define SDL_ESM_ERRORADDR_INVALID (0xffffffffu)
116 #define SDL_ESM_ERRORRAMID_INVALID (0xffffffffu)
119 #define SDL_ESM_ERRORBITOFFSET_INVALID (0xffffffffffffffffu)
122 #define SDL_ESM_ERRORBITGROUP_INVALID (0xffffffffu)
125 #define SDL_ESM_MAX_EVENT_MAP_NUM_WORDS (32u)
138 #define SDL_ESM_ECC_PARAM_MCU_CPU0_SEC_ERROR (1u)
140 #define SDL_ESM_ECC_PARAM_MCU_CPU0_DED_ERROR (2u)
142 #define SDL_ESM_ECC_PARAM_MCU_CPU1_SEC_ERROR (3u)
144 #define SDL_ESM_ECC_PARAM_MCU_CPU1_DED_ERROR (4u)
146 #define SDL_ESM_ECC_PARAM_MCU_CBASS_SEC_ERROR (5u)
148 #define SDL_ESM_ECC_PARAM_MCU_CBASS_DED_ERROR (6u)
153 #define SDL_ESM_ECC_PARAM_MAIN_MSMC_AGGR0_SEC_ERROR (10001u)
155 #define SDL_ESM_ECC_PARAM_MAIN_MSMC_AGGR0_DED_ERROR (10002u)
157 #define SDL_ESM_ECC_PARAM_MAIN_A72_AGGR0_SEC_ERROR (10003u)
159 #define SDL_ESM_ECC_PARAM_MAIN_A72_AGGR0_DED_ERROR (10004u)
169 typedef struct SDL_ESM_Errorconfig_s
183 typedef struct SDL_ESM_InitConfig_s
ESM error configuration.
Definition: sdl_esm.h:170
SDL_ESM_IntType
Definition: sdl_esm.h:94
int32_t SDL_ESM_registerECCCallback(SDL_ESM_Inst instance, uint32_t eventBitMap[], SDL_ESM_applicationCallback eccCallback, void *callbackArg)
There are modules within SDL which will generate ESM errors intentionally in the course of running se...
uint32_t sdlEsmEccErrorSource_t
Source of the ECC error which maps to the ESM interrupt source.
Definition: sdl_esm.h:135
ESM init configuration.
Definition: sdl_esm.h:184
uint16_t index
Definition: tisci_rm_proxy.h:3
@ SDL_ESM_INT_TYPE_CFG
Definition: sdl_esm.h:99
ESM static registers list.
Definition: sdl/esm/v0/esm.h:209
@ SDL_ESM_INT_TYPE_LO
Definition: sdl_esm.h:97
int32_t SDL_Result
Definition: sdl_esm.h:87
int32_t SDL_ESM_registerCCMCallback(SDL_ESM_Inst instance, uint32_t eventBitMap[], SDL_ESM_applicationCallback ccmCallback, void *callbackArg)
There are modules within SDL which will generate ESM errors intentionally in the course of running se...
int32_t SDL_ESM_clrNError(SDL_ESM_Inst instance)
SDL ESM API to clear the nError pin for the specified ESM instance.
int32_t SDL_ESM_getNErrorStatus(SDL_ESM_Inst instance, uint32_t *pStatus)
SDL ESM API to get the status of the nError pin for the specified ESM instance.
uint32_t pinmininterval
Definition: sdl_esm.h:196
void SDL_ESM_hiInterruptHandler(void *arg)
Esm Hi Interrupt Handler for MCU Esm Instance.
void SDL_ESM_loInterruptHandler(void *arg)
Esm Lo Interrupt Handler for MCU Esm Instance.
void SDL_ESM_configInterruptHandler(void *arg)
Esm Config Interrupt Handler for MCU Instance.
int32_t SDL_ESM_getIntNumber(SDL_ESM_Inst esmInstType, SDL_ESM_IntType esmIntType)
Esm get Interrupt Number corresponding to the input interrupt type.
int32_t SDL_ESM_getStaticRegisters(SDL_ESM_Inst instance, SDL_ESM_staticRegs *pStaticRegs)
SDL ESM API to read the static registers. The API reads and returns the static register configuration...
#define SDL_ESM_MAX_EVENT_MAP_NUM_WORDS
Maximum number of EVENT words.
Definition: sdl_esm.h:125
int32_t SDL_ESM_verifyConfig(SDL_ESM_Inst instance, const SDL_ESM_config *pConfig)
SDL ESM API to verify the written configuration of the ESM module. The API verifies the written confi...
int32_t SDL_ESM_setNError(SDL_ESM_Inst instance)
SDL ESM API to set the nError pin for the specified ESM instance.
int32_t(* SDL_ESM_applicationCallback)(SDL_ESM_Inst instance, SDL_ESM_IntType intrType, uint32_t grpChannel, uint32_t index, uint32_t intSrc, void *arg)
Definition: sdl_esm.h:161
SDL_ESM_ErrorConfig_t esmErrorConfig
Definition: sdl_esm.h:185
int32_t SDL_ESM_init(SDL_ESM_Inst instance, const SDL_ESM_config *pConfig, SDL_ESM_applicationCallback applicationCallback, void *appArg)
SDL ESM API to initialize an ESM instance. The API initializes the specified ESM instance with the pr...
@ SDL_ESM_INT_TYPE_HI
Definition: sdl_esm.h:95
@ SDL_ESM_INT_TYPE_MAX
Definition: sdl_esm.h:101
uint32_t bitNumber
Definition: sdl_esm.h:173
uint32_t groupNumber
Definition: sdl_esm.h:171
This file contains the prototypes of the APIs present in the device abstraction layer file of ESM....