Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/pwm/
Dpwm_nrfx.c36 #define PWM_NRFX_CH_VALUE(compare_value, inverted) \ argument
37 (compare_value | (inverted ? 0 : PWM_NRFX_CH_POLARITY_MASK))
129 uint16_t compare_value; in pwm_nrfx_set_cycles() local
149 compare_value = 0; in pwm_nrfx_set_cycles()
153 compare_value = PWM_NRFX_CH_COMPARE_MASK; in pwm_nrfx_set_cycles()
163 compare_value = (uint16_t)(pulse_cycles >> data->prescaler); in pwm_nrfx_set_cycles()
167 data->seq_values[channel] = PWM_NRFX_CH_VALUE(compare_value, inverted); in pwm_nrfx_set_cycles()
/Zephyr-Core-3.5.0/drivers/counter/
Dcounter_gd32_timer.c95 uint32_t compare_value) in set_compare_value() argument
101 TIMER_CH0CV(config->reg) = compare_value; in set_compare_value()
104 TIMER_CH1CV(config->reg) = compare_value; in set_compare_value()
107 TIMER_CH2CV(config->reg) = compare_value; in set_compare_value()
110 TIMER_CH3CV(config->reg) = compare_value; in set_compare_value()
Dcounter_ifx_cat1.c162 data->counter_cfg.compare_value = 0; in ifx_cat1_counter_init()
415 data->counter_cfg.compare_value = val; in ifx_cat1_counter_set_alarm()
433 data->counter_cfg.compare_value; in ifx_cat1_counter_set_alarm()
/Zephyr-Core-3.5.0/drivers/adc/
Dadc_stm32.c85 #define IS_EQ_PROP_OR(inst, prop, default_value, compare_value) \ argument
86 IS_EQ(DT_INST_PROP_OR(inst, prop, default_value), compare_value) ||