Home
last modified time | relevance | path

Searched refs:filter_config (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/sensor/nxp/mcux_lpcmp/
Dmcux_lpcmp.c39 lpcmp_filter_config_t filter_config; member
134 data->filter_config.enableSample = (bool)val1; in mcux_lpcmp_attr_set()
135 LPCMP_SetFilterConfig(config->base, &data->filter_config); in mcux_lpcmp_attr_set()
142 data->filter_config.filterSampleCount = val1; in mcux_lpcmp_attr_set()
143 LPCMP_SetFilterConfig(config->base, &data->filter_config); in mcux_lpcmp_attr_set()
147 data->filter_config.filterSamplePeriod = val1; in mcux_lpcmp_attr_set()
148 LPCMP_SetFilterConfig(config->base, &data->filter_config); in mcux_lpcmp_attr_set()
238 val->val1 = (int32_t)(data->filter_config.enableSample); in mcux_lpcmp_attr_get()
241 val->val1 = (int32_t)(data->filter_config.filterSampleCount); in mcux_lpcmp_attr_get()
244 val->val1 = (int32_t)(data->filter_config.filterSamplePeriod); in mcux_lpcmp_attr_get()
/Zephyr-latest/drivers/comparator/
Dcomparator_mcux_acmp.c215 const struct comp_mcux_acmp_filter_config filter_config; member
570 ret = comp_mcux_acmp_set_filter_config(dev, &config->filter_config); in mcux_acmp_init()
632 .filter_config = MCUX_ACMP_DT_INST_FILTER_CONFIG_INIT(inst), \