S32 SDK
eim_driver.h File Reference
#include <stddef.h>
#include "device_registers.h"

Go to the source code of this file.

Data Structures

struct  eim_user_channel_config_t
 EIM channel configuration structure. More...
 

Macros

#define EIM_CHECKBITMASK_DEFAULT   (0x01U)
 The value default of EIM check-bit mask. More...
 
#define EIM_DATAMASK_DEFAULT   (0x00U)
 The value default of EIM data mask. More...
 

Functions

EIM Driver API
void EIM_DRV_Init (uint32_t instance, uint8_t channelCnt, const eim_user_channel_config_t *channelConfigArr)
 Initializes the EIM module. More...
 
void EIM_DRV_Deinit (uint32_t instance)
 De-initializes the EIM module. More...
 
void EIM_DRV_ConfigChannel (uint32_t instance, const eim_user_channel_config_t *userChannelConfig)
 Configures the EIM channel. More...
 
void EIM_DRV_GetChannelConfig (uint32_t instance, uint8_t channel, eim_user_channel_config_t *channelConfig)
 Gets the EIM channel configuration. More...
 
void EIM_DRV_GetDefaultConfig (uint8_t channel, eim_user_channel_config_t *channelConfig)
 Gets the EIM channel configuration default. More...