SDL API Guide for J721E
|
Functions | |
int32_t | SDL_CCM_init (SDL_CCM_Inst instance) |
Initialization API for CCM module. More... | |
int32_t | SDL_CCM_verifyConfig (SDL_CCM_Inst instance) |
Verifies the configuration done as part of SDL_CCM_init is as expected. More... | |
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_SelfTestType. More... | |
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, an ESM error event is generated and the application will receive notification via ESM application callback. More... | |
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 application and periodically checked for changes. Note: This API should not be called while running any self-test or during error injection, as this will change the values of the static registers temporarily. It should be called only when in normal operating mode. More... | |
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. More... | |
int32_t | SDL_CCM_clearError (SDL_CCM_Inst instance, SDL_CCM_MonitorType monitorType) |
Clears the compare error for the selected monitor type. More... | |
int32_t SDL_CCM_init | ( | SDL_CCM_Inst | instance | ) |
Initialization API for CCM module.
============================================================================
instance | [IN] CCM Instance |
int32_t SDL_CCM_verifyConfig | ( | SDL_CCM_Inst | instance | ) |
Verifies the configuration done as part of SDL_CCM_init is as expected.
============================================================================
instance | [IN] CCM Instance |
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_SelfTestType.
============================================================================
instance | [IN] CCM Instance |
monitorType | [IN] Monitor type for which to run the self-test |
testType | [IN] Test type to run for the selected monitor type. |
polarityInversionMask | [IN] Mask used to invert polarity of selected signals. For meaning of signals, refer to hardware manuals. This parameter is used only for the polarity inversion self-test type |
timeoutCnt | [IN] Number of times to check for self-test completion in a loop before timing out |
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, an ESM error event is generated and the application will receive notification via ESM application callback.
============================================================================
instance | [IN] CCM Instance |
monitorType | [IN] Monitor type for which to inject the error |
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 application and periodically checked for changes. Note: This API should not be called while running any self-test or during error injection, as this will change the values of the static registers temporarily. It should be called only when in normal operating mode.
============================================================================
instance | [IN] CCM Instance |
pStaticRegs | [OUT] Pointer to the variable to store the static register information |
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.
============================================================================
instance | [IN] CCM Instance |
intSrc | [IN] ESM interrupt source used to check for monitorType that generated the error |
monitorType | [OUT] Monitor type which generated the error |
int32_t SDL_CCM_clearError | ( | SDL_CCM_Inst | instance, |
SDL_CCM_MonitorType | monitorType | ||
) |
Clears the compare error for the selected monitor type.
============================================================================
instance | [IN] CCM Instance |
monitorType | [IN] Monitor type for which to clear the error |