S32 SDK
erm_driver.c File Reference
#include "erm_driver.h"

Go to the source code of this file.

Functions

void ERM_DRV_Init (uint32_t instance, uint8_t channelCnt, const erm_user_config_t *userConfigArr)
 Initializes the ERM module. More...
 
void ERM_DRV_Deinit (uint32_t instance)
 Sets the default configuration. More...
 
void ERM_DRV_SetInterruptConfig (uint32_t instance, uint8_t channel, erm_interrupt_config_t interruptCfg)
 Sets interrupt notification. More...
 
void ERM_DRV_GetInterruptConfig (uint32_t instance, uint8_t channel, erm_interrupt_config_t *const interruptPtr)
 Gets interrupt notification. More...
 
void ERM_DRV_ClearEvent (uint32_t instance, uint8_t channel, erm_ecc_event_t eccEvent)
 Clears error event and the corresponding interrupt notification. More...
 
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. More...
 

Variables

ERM_Type *const g_ermBase [] = ERM_BASE_PTRS
 Table of base addresses for ERM instances. More...