S32 SDK
ewm_driver.h File Reference
#include "device_registers.h"
#include "status.h"

Go to the source code of this file.

Data Structures

struct  ewm_init_config_t
 

Enumerations

enum  ewm_in_assert_logic_t { EWM_IN_ASSERT_DISABLED = 0x00U, EWM_IN_ASSERT_ON_LOGIC_ZERO = 0x01U, EWM_IN_ASSERT_ON_LOGIC_ONE = 0x02U }
 

Functions

EWM Driver API
status_t EWM_DRV_Init (uint32_t instance, const ewm_init_config_t *config)
 Init EWM. This method initializes EWM instance to the configuration from the passed structure. The user must make sure that the clock is enabled. This is the only method needed to be called to start the module. More...
 
void EWM_DRV_GetDefaultConfig (ewm_init_config_t *config)
 Init configuration structure to default values. More...
 
void EWM_DRV_Refresh (uint32_t instance)
 Refresh EWM. This method needs to be called within the window period specified by the Compare Low and Compare High registers. More...
 
ewm_in_assert_logic_t EWM_DRV_GetInputPinAssertLogic (uint32_t instance)
 Get the Input pin assert logic. More...