S32 SDK
eim_hal.h File Reference
#include <stdbool.h>
#include "device_registers.h"

Go to the source code of this file.

Macros

#define POS_MSB_EIM_EICHEN   (31U)
 The position of the most significant bit in Error Injection Channel Enable register. More...
 

Functions

EIM HAL API
void EIM_HAL_Init (EIM_Type *const base)
 Resets for the registers of EIM descriptor. More...
 
static void EIM_HAL_Enable (EIM_Type *const base)
 Enables EIM module. More...
 
static void EIM_HAL_Disable (EIM_Type *const base)
 Disables the EIM module. More...
 
static void EIM_HAL_EnableChannelCmd (EIM_Type *const base, uint8_t channel, bool enable)
 Enables or disables EIM channel operation. More...
 
static bool EIM_HAL_IsChannelEnabled (const EIM_Type *const base, uint8_t channel)
 Checks whether EIM channel is enabled. More...
 
static void EIM_HAL_SetCheckBitMask (EIM_Type *const base, uint8_t channel, uint8_t checkBitMask)
 Sets check bit mask for EIM channel. More...
 
static uint8_t EIM_HAL_GetCheckBitMask (const EIM_Type *const base, uint8_t channel)
 Gets check bit mask of EIM channel. More...
 
static void EIM_HAL_SetDataMask (EIM_Type *const base, uint8_t channel, uint32_t dataMask)
 Sets data mask for EIM channel. More...
 
static uint32_t EIM_HAL_GetDataMask (const EIM_Type *const base, uint8_t channel)
 Gets data mask of EIM channel. More...