Searched refs:acmp_dm_config (Results 1 – 1 of 1) sorted by relevance
495 acmp_discrete_mode_config_t acmp_dm_config; in comp_mcux_acmp_set_dm_config() local497 acmp_dm_config.enablePositiveChannelDiscreteMode = config->enable_positive_channel; in comp_mcux_acmp_set_dm_config()498 acmp_dm_config.enableNegativeChannelDiscreteMode = config->enable_negative_channel; in comp_mcux_acmp_set_dm_config()499 acmp_dm_config.enableResistorDivider = config->enable_resistor_divider; in comp_mcux_acmp_set_dm_config()500 acmp_dm_config.clockSource = (acmp_discrete_clock_source_t)config->clock_source; in comp_mcux_acmp_set_dm_config()501 acmp_dm_config.sampleTime = (acmp_discrete_sample_time_t)config->sample_time; in comp_mcux_acmp_set_dm_config()502 acmp_dm_config.phase1Time = (acmp_discrete_phase_time_t)config->phase1_time; in comp_mcux_acmp_set_dm_config()503 acmp_dm_config.phase2Time = (acmp_discrete_phase_time_t)config->phase2_time; in comp_mcux_acmp_set_dm_config()505 ACMP_SetDiscreteModeConfig(dev_config->base, &acmp_dm_config); in comp_mcux_acmp_set_dm_config()