SDL API Guide for J721E
ESM Enumerated Data Types

Introduction

===========================================================================


Typedefs

typedef int32_t SDL_Result
 

This enumerator defines the values for ESM interrupt types

More...
 
typedef uint32_t esmOperationMode_t
 ESM Operation Mode type. More...
 
typedef uint32_t esmIntrType_t
 ESM Interrupt Type to select level for interrupt. More...
 
typedef uint32_t esmIntrPriorityLvl_t
 ESM Interrupt Priority Levels. More...
 

Enumerations

enum  SDL_ESM_IntType { SDL_ESM_INT_TYPE_HI = 1, SDL_ESM_INT_TYPE_LO = 2, SDL_ESM_INT_TYPE_CFG = 3, SDL_ESM_INT_TYPE_MAX = 4 }
 
enum  SDL_ESM_CCM_IntSrc {
  SDL_ESM_CCM_OUTPUT_COMPARE_BLOCK_INT = 1, SDL_ESM_CCM_VIM_ERR_INT = 2, SDL_ESM_CCM_INACTIVITY_MONITOR_INT = 3, SDL_ESM_CCM_SELF_TEST_ERR_INT = 4,
  SDL_ESM_CCM_STAT_ERR_INT = 5
}
 

Defines the different SDL ESM interrupt sources

More...
 
enum  SDL_ESM_WDT_IntSrc { SDL_ESM_TIMER_ID_0 = 1, SDL_ESM_TIMER_ID_1 = 2 }
 

Defines the different Timer id events

More...
 
enum  SDL_ESM_Inst { SDL_ESM_INST_WKUP_ESM0 = 1, SDL_ESM_INST_MCU_ESM0 = 2, SDL_ESM_INST_MAIN_ESM0 = 3, SDL_ESM_INSTANCE_MAX =0xFFFF }
 

Defines the different ESM instance types

More...
 

Macros

#define ESM_NUMBER_OF_GROUP_REGS   (32u)
 ESM Operation Mode type. More...
 
#define ESM_OPERATION_MODE_NORMAL   0x0U
 defines to select the ESM Operation Mode. More...
 
#define ESM_OPERATION_MODE_ERROR_FORCE   0xAu
 
#define ESM_INTR_TYPE_CONFIG_ERROR   (0x0u)
 defines for ESM Hardware Requests for interrupt type. More...
 
#define ESM_INTR_TYPE_LOW_PRIO_ERROR   (0x1u)
 
#define ESM_INTR_TYPE_HIGH_PRIO_ERROR   (0x2u)
 
#define ESM_INTR_PRIORITY_LEVEL_LOW   (0x0u)
 defines to select level for interrupt. More...
 
#define ESM_INTR_PRIORITY_LEVEL_HIGH   (0x1u)
 

ESM ECC Error source type

typedef uint32_t sdlEsmEccErrorSource_t
 Source of the ECC error which maps to the ESM interrupt source. More...
 
#define SDL_ESM_ECC_PARAM_MCU_CPU0_SEC_ERROR   (1u)
 MCU CPU0 detected 1-bit ECC error source. More...
 
#define SDL_ESM_ECC_PARAM_MCU_CPU0_DED_ERROR   (2u)
 MCU CPU0 detected 2-bit ECC error source. More...
 
#define SDL_ESM_ECC_PARAM_MCU_CPU1_SEC_ERROR   (3u)
 MCU CPU1 detected 1-bit ECC error source. More...
 
#define SDL_ESM_ECC_PARAM_MCU_CPU1_DED_ERROR   (4u)
 MCU CPU1 detected 2-bit ECC error source. More...
 
#define SDL_ESM_ECC_PARAM_MCU_CBASS_SEC_ERROR   (5u)
 MCU CBASS detected 1-bit ECC error source. More...
 
#define SDL_ESM_ECC_PARAM_MCU_CBASS_DED_ERROR   (6u)
 MCU CBASS detected 2-bit ECC error source. More...
 

Macro Definition Documentation

◆ SDL_ESM_ECC_PARAM_MCU_CPU0_SEC_ERROR

#define SDL_ESM_ECC_PARAM_MCU_CPU0_SEC_ERROR   (1u)

MCU CPU0 detected 1-bit ECC error source.

◆ SDL_ESM_ECC_PARAM_MCU_CPU0_DED_ERROR

#define SDL_ESM_ECC_PARAM_MCU_CPU0_DED_ERROR   (2u)

MCU CPU0 detected 2-bit ECC error source.

◆ SDL_ESM_ECC_PARAM_MCU_CPU1_SEC_ERROR

#define SDL_ESM_ECC_PARAM_MCU_CPU1_SEC_ERROR   (3u)

MCU CPU1 detected 1-bit ECC error source.

◆ SDL_ESM_ECC_PARAM_MCU_CPU1_DED_ERROR

#define SDL_ESM_ECC_PARAM_MCU_CPU1_DED_ERROR   (4u)

MCU CPU1 detected 2-bit ECC error source.

◆ SDL_ESM_ECC_PARAM_MCU_CBASS_SEC_ERROR

#define SDL_ESM_ECC_PARAM_MCU_CBASS_SEC_ERROR   (5u)

MCU CBASS detected 1-bit ECC error source.

◆ SDL_ESM_ECC_PARAM_MCU_CBASS_DED_ERROR

#define SDL_ESM_ECC_PARAM_MCU_CBASS_DED_ERROR   (6u)

MCU CBASS detected 2-bit ECC error source.

◆ ESM_NUMBER_OF_GROUP_REGS

#define ESM_NUMBER_OF_GROUP_REGS   (32u)

ESM Operation Mode type.

◆ ESM_OPERATION_MODE_NORMAL

#define ESM_OPERATION_MODE_NORMAL   0x0U

defines to select the ESM Operation Mode.

Configure ESM operation mode to normal mode

◆ ESM_OPERATION_MODE_ERROR_FORCE

#define ESM_OPERATION_MODE_ERROR_FORCE   0xAu

Configure ESM operation mode to error force mode

◆ ESM_INTR_TYPE_CONFIG_ERROR

#define ESM_INTR_TYPE_CONFIG_ERROR   (0x0u)

defines for ESM Hardware Requests for interrupt type.

Configure interrupt to high level interrupt

◆ ESM_INTR_TYPE_LOW_PRIO_ERROR

#define ESM_INTR_TYPE_LOW_PRIO_ERROR   (0x1u)

Configure interrupt to high level interrupt

◆ ESM_INTR_TYPE_HIGH_PRIO_ERROR

#define ESM_INTR_TYPE_HIGH_PRIO_ERROR   (0x2u)

Configure interrupt to low level interrupt

◆ ESM_INTR_PRIORITY_LEVEL_LOW

#define ESM_INTR_PRIORITY_LEVEL_LOW   (0x0u)

defines to select level for interrupt.

Configure interrupt to low level interrupt

◆ ESM_INTR_PRIORITY_LEVEL_HIGH

#define ESM_INTR_PRIORITY_LEVEL_HIGH   (0x1u)

Configure interrupt to highlevel interrupt

Typedef Documentation

◆ SDL_Result

typedef int32_t SDL_Result

This enumerator defines the values for ESM interrupt types


◆ sdlEsmEccErrorSource_t

typedef uint32_t sdlEsmEccErrorSource_t

Source of the ECC error which maps to the ESM interrupt source.

◆ esmOperationMode_t

typedef uint32_t esmOperationMode_t

ESM Operation Mode type.

◆ esmIntrType_t

typedef uint32_t esmIntrType_t

ESM Interrupt Type to select level for interrupt.

◆ esmIntrPriorityLvl_t

typedef uint32_t esmIntrPriorityLvl_t

ESM Interrupt Priority Levels.

Enumeration Type Documentation

◆ SDL_ESM_IntType

Enumerator
SDL_ESM_INT_TYPE_HI 

Interrupt type Hi

SDL_ESM_INT_TYPE_LO 

Interrupt type Lo

SDL_ESM_INT_TYPE_CFG 

Interrupt type Config

SDL_ESM_INT_TYPE_MAX 

Interrupt type Max

◆ SDL_ESM_CCM_IntSrc

Defines the different SDL ESM interrupt sources


Enumerator
SDL_ESM_CCM_OUTPUT_COMPARE_BLOCK_INT 

CCM Interrupt source Output compare block

SDL_ESM_CCM_VIM_ERR_INT 

CCM Interrupt source VIM compare

SDL_ESM_CCM_INACTIVITY_MONITOR_INT 

CCM Interrupt source inactivity monitor

SDL_ESM_CCM_SELF_TEST_ERR_INT 

CCM Interrupt source Self test error

SDL_ESM_CCM_STAT_ERR_INT 

CCM Interrupt source self test or split mode interrupt

◆ SDL_ESM_WDT_IntSrc

Defines the different Timer id events


Enumerator
SDL_ESM_TIMER_ID_0 

Timer Id 0

SDL_ESM_TIMER_ID_1 

Timer Id 1

◆ SDL_ESM_Inst

Defines the different ESM instance types


Enumerator
SDL_ESM_INST_WKUP_ESM0 

MCU_ESM0 instance

SDL_ESM_INST_MCU_ESM0 

WKUP_ESM0 instance

SDL_ESM_INST_MAIN_ESM0 

ESM0 (Main domain) instance

SDL_ESM_INSTANCE_MAX