64 ERM_Type * base = g_ermBase[instance];
71 for (i = 0U; i < channelCnt; i++)
87 ERM_Type * base = g_ermBase[instance];
107 ERM_Type * base = g_ermBase[instance];
129 const ERM_Type * base = g_ermBase[instance];
150 ERM_Type * base = g_ermBase[instance];
166 uint32_t * addressPtr)
171 const ERM_Type * base = g_ermBase[instance];
static bool ERM_HAL_IsEventInterruptEnabled(const ERM_Type *const base, uint8_t channel, erm_ecc_event_t eccEvent)
Checks if the Memory n interrupt event is enabled.
static void ERM_HAL_EnableEventInterrupt(ERM_Type *const base, uint8_t channel, erm_ecc_event_t eccEvent, bool enable)
Enables Memory n interrupt event.
erm_ecc_event_t ERM_DRV_GetErrorDetail(uint32_t instance, uint8_t channel, uint32_t *addressPtr)
Gets the address of the last ECC event in Memory n and ECC event.
void ERM_HAL_Init(ERM_Type *const base)
Initializes the ERM module.
ERM interrupt notification configuration structure Implements : erm_interrupt_config_t_Class.
void ERM_DRV_GetInterruptConfig(uint32_t instance, uint8_t channel, erm_interrupt_config_t *const interruptPtr)
Gets interrupt notification.
ERM user configuration structure Implements : erm_user_config_t_Class.
bool enableNonCorrectable
erm_ecc_event_t
ERM types of ECC events Implements : erm_ecc_event_t_Class.
#define ERM_INSTANCE_COUNT
void ERM_DRV_ClearEvent(uint32_t instance, uint8_t channel, erm_ecc_event_t eccEvent)
Clears error event and the corresponding interrupt notification.
ERM_Type *const g_ermBase[]
Table of base addresses for ERM instances.
static void ERM_HAL_ClearEvent(ERM_Type *const base, uint8_t channel, erm_ecc_event_t eccEvent)
Clears error event and the corresponding interrupt notification.
void ERM_DRV_Init(uint32_t instance, uint8_t channelCnt, const erm_user_config_t *userConfigArr)
Initializes the ERM module.
erm_ecc_event_t ERM_HAL_GetErrorDetail(const ERM_Type *const base, uint8_t channel, uint32_t *addressPtr)
Gets the address of the last ECC event in Memory n and ECC event.
void ERM_DRV_SetInterruptConfig(uint32_t instance, uint8_t channel, erm_interrupt_config_t interruptCfg)
Sets interrupt notification.
void ERM_DRV_Deinit(uint32_t instance)
Sets the default configuration.
bool enableSingleCorrection