71 EWM_Type * base = g_ewmBase[instance];
134 EWM_Type * base = g_ewmBase[instance];
static void EWM_HAL_SetPrescaler(EWM_Type *const base, uint8_t value)
Set the Clock Prescaler Value. This register can be only written once after a CPU reset and it must b...
#define FEATURE_EWM_CMPH_MAX_VALUE
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...
#define EWM_INSTANCE_COUNT
ewm_in_assert_logic_t assertLogic
static bool EWM_HAL_IsEnabled(const EWM_Type *const base)
Get the EWM enable bit.
static void EWM_HAL_Refresh(EWM_Type *const base)
Refresh EWM. This method needs to be called within the window period specified by the Compare Low and...
void INT_SYS_DisableIRQGlobal(void)
Disable system interrupt.
static EWM_Type *const g_ewmBase[]
status_t
Status return codes. Common error codes will be a unified enumeration (C enum) that will contain all ...
static void EWM_HAL_SetCompareLow(EWM_Type *const base, uint8_t value)
Set the Compare Low Value. This register can be only written once after a CPU reset. The user must make sure that the Compare High is greater than Compare Low value.
void INT_SYS_EnableIRQGlobal(void)
Enables system interrupt.
void EWM_DRV_GetDefaultConfig(ewm_init_config_t *config)
Init configuration structure to default values.
void EWM_HAL_Init(EWM_Type *const base, bool interruptEnable, ewm_in_assert_logic_t assertLogic, bool enable)
Init EWM. This method configures the EWM instance Control Register fields such as interrupt enable...
#define FEATURE_EWM_CMPL_MIN_VALUE
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...
static void EWM_HAL_SetCompareHigh(EWM_Type *const base, uint8_t value)
Set the Compare High Value. This register can be only written once after a CPU reset. The user must make sure that the Compare High is greater than Compare Low value Note: The maximum Compare High value is 0xFE.