|
AM263x MCU+ SDK
09.02.00
|
|
Go to the documentation of this file.
56 #include "sdl/r5/v0/sdlr_vim.h"
66 #define SDL_VIM_MAX_INTR_GROUPS (32U)
68 #define SDL_VIM_NUM_INTRS_PER_GROUP (32U)
85 SDL_CCM_MONITOR_TYPE_TMU = 3,
87 SDL_CCM_MONITOR_TYPE_RL2 = 4,
129 volatile uint32_t CCMKEYR5;
130 volatile uint32_t CCMKEYR6;
138 typedef struct SDL_CCM_ErrorStatus_s
159 #define SDL_VIM_INTR_MAP_IRQ ((uint32_t)0U)
162 #define SDL_VIM_INTR_MAP_FIQ ((uint32_t)1U)
165 #define SDL_VIM_INTR_MAP_ALL ((uint32_t)2U)
176 #define SDL_VIM_INTR_TYPE_LEVEL ((uint32_t)0U)
179 #define SDL_VIM_INTR_TYPE_PULSE ((uint32_t)1U)
263 uint32_t polarityInversionMask, uint32_t timeoutCnt);
370 uint32_t intrNum, uint32_t pri,
int32_t SDL_VIM_getStaticRegs(SDL_vimRegs *pRegs, SDL_vimStaticRegs *pStaticRegs)
Read back of static registers for VIM.
bool selfTestErrorFlag
Definition: sdl_ip_ccm.h:142
int32_t SDL_VIM_verifyCfgIntr(SDL_vimRegs *pRegs, uint32_t intrNum, uint32_t pri, SDL_VimIntrMap intrMap, SDL_VimIntrType intrType, uint32_t vecAddr)
Read back Verify Configure a source interrupt.
@ SDL_CCM_MONITOR_TYPE_OUTPUT_COMPARE_BLOCK
Definition: sdl_ip_ccm.h:80
uint32_t SDL_VimIntrType
This enumerator defines the possible interrupt types. Each source interrupt is either an active high ...
Definition: sdl_ip_ccm.h:173
@ SDL_CCM_SELFTEST_TYPE_INVALID
Definition: sdl_ip_ccm.h:112
CCM Static Register.
Definition: sdl_ip_ccm.h:123
int32_t SDL_VIM_cfgIntr(SDL_vimRegs *pRegs, uint32_t intrNum, uint32_t pri, SDL_VimIntrMap intrMap, SDL_VimIntrType intrType, uint32_t vecAddr)
Configure a source interrupt using VIM.
bool compareErrorFlag
Definition: sdl_ip_ccm.h:140
int32_t SDL_CCM_init(SDL_CCM_Inst instance, uint32_t index)
Initialization API for CCM module.
#define SDL_VIM_NUM_INTRS_PER_GROUP
Definition: sdl_ip_ccm.h:68
volatile uint32_t CCMKEYR3
Definition: sdl_ip_ccm.h:126
SDL_CCM_SelfTestType
This enumerator defines the type of CCM Self-test type.
Definition: sdl_ip_ccm.h:105
bool selfTestErrorTypeFlag
Definition: sdl_ip_ccm.h:144
@ SDL_CCM_MONITOR_TYPE_VIM
Definition: sdl_ip_ccm.h:82
volatile uint32_t IRQVEC
Definition: sdl_ip_ccm.h:204
@ SDL_CCM_MONITOR_TYPE_INVALID
Definition: sdl_ip_ccm.h:96
volatile uint32_t INTR_EN_SET
Definition: sdl_ip_ccm.h:188
volatile uint32_t PID
Definition: sdl_ip_ccm.h:202
volatile uint32_t FIQVEC
Definition: sdl_ip_ccm.h:205
This structure defines the static register groups identified for VIM.
Definition: sdl_ip_ccm.h:198
volatile uint32_t DEDVEC
Definition: sdl_ip_ccm.h:206
volatile uint32_t CCMKEYR1
Definition: sdl_ip_ccm.h:124
volatile uint32_t INTTYPE
Definition: sdl_ip_ccm.h:191
Structure for CCM error status.
Definition: sdl_ip_ccm.h:139
@ SDL_CCM_MONITOR_TYPE_NONE
Definition: sdl_ip_ccm.h:78
volatile uint32_t CCMKEYR2
Definition: sdl_ip_ccm.h:125
@ SDL_CCM_SELFTEST_TYPE_NORMAL
Definition: sdl_ip_ccm.h:106
#define SDL_VIM_MAX_INTR_GROUPS
Definition: sdl_ip_ccm.h:66
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 ...
@ SDL_CCM_MONITOR_TYPE_INACTIVITY_MONITOR
Definition: sdl_ip_ccm.h:94
@ SDL_CCM_SELFTEST_POLARITY_INVERSION
Definition: sdl_ip_ccm.h:110
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.
This structure defines the group registers identified for VIM static registers.
Definition: sdl_ip_ccm.h:187
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...
uint32_t SDL_VimIntrMap
This enumerator defines the possible output interrupt types. Each source interrupt can be configured ...
Definition: sdl_ip_ccm.h:156
SDL_CCM_MonitorType
This enumerator defines the type of CCM Monitor type.
Definition: sdl_ip_ccm.h:77
int32_t SDL_CCM_verifyConfig(SDL_CCM_Inst instance)
Verifies the configuration done as part of SDL_CCM_init is as expected.
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,...
@ SDL_CCM_SELFTEST_TYPE_ERROR_FORCING
Definition: sdl_ip_ccm.h:108
int32_t SDL_CCM_clearError(SDL_CCM_Inst instance, SDL_CCM_MonitorType monitorType)
Clears the compare error for the selected monitor type.
volatile uint32_t INTMAP
Definition: sdl_ip_ccm.h:190
volatile uint32_t CCMPOLCNTRL
Definition: sdl_ip_ccm.h:127
volatile uint32_t INTR_EN_CLR
Definition: sdl_ip_ccm.h:189
uint32_t SDL_CCM_Inst
CCM Instance supported.
Definition: sdl_soc_ccm.h:68
volatile uint32_t INFO
Definition: sdl_ip_ccm.h:203