Home
last modified time | relevance | path

Searched refs:dac_config (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/dac/
Ddac_mcux_lpdac.c32 dac_config_t dac_config; in mcux_lpdac_channel_setup() local
49 DAC_GetDefaultConfig(&dac_config); in mcux_lpdac_channel_setup()
50 dac_config.referenceVoltageSource = config->ref_voltage; in mcux_lpdac_channel_setup()
52 dac_config.enableLowerLowPowerMode = config->low_power; in mcux_lpdac_channel_setup()
54 dac_config.enableLowPowerMode = config->low_power; in mcux_lpdac_channel_setup()
56 DAC_Init(config->base, &dac_config); in mcux_lpdac_channel_setup()
Ddac_mcux_dac.c32 dac_config_t dac_config; in mcux_dac_channel_setup() local
49 DAC_GetDefaultConfig(&dac_config); in mcux_dac_channel_setup()
50 dac_config.enableLowPowerMode = config->low_power; in mcux_dac_channel_setup()
51 dac_config.referenceVoltageSource = config->reference; in mcux_dac_channel_setup()
53 DAC_Init(config->base, &dac_config); in mcux_dac_channel_setup()
/Zephyr-latest/drivers/sensor/nxp/mcux_lpcmp/
Dmcux_lpcmp.c38 lpcmp_dac_config_t dac_config; member
105 data->dac_config.enableLowPowerMode = (bool)val1; in mcux_lpcmp_attr_set()
106 LPCMP_SetDACConfig(config->base, &data->dac_config); in mcux_lpcmp_attr_set()
114 data->dac_config.referenceVoltageSource = val1; in mcux_lpcmp_attr_set()
115 LPCMP_SetDACConfig(config->base, &data->dac_config); in mcux_lpcmp_attr_set()
123 data->dac_config.DACValue = val1; in mcux_lpcmp_attr_set()
124 LPCMP_SetDACConfig(config->base, &data->dac_config); in mcux_lpcmp_attr_set()
227 val->val1 = (int32_t)(data->dac_config.enableLowPowerMode); in mcux_lpcmp_attr_get()
230 val->val1 = (int32_t)(data->dac_config.referenceVoltageSource); in mcux_lpcmp_attr_get()
233 val->val1 = (int32_t)(data->dac_config.DACValue); in mcux_lpcmp_attr_get()
/Zephyr-latest/drivers/comparator/
Dcomparator_mcux_acmp.c216 const struct comp_mcux_acmp_dac_config dac_config; member
576 ret = comp_mcux_acmp_set_dac_config(dev, &config->dac_config); in mcux_acmp_init()
633 .dac_config = MCUX_ACMP_DT_INST_DAC_CONFIG_INIT(inst), \