Searched refs:compare_value (Results 1 – 4 of 4) sorted by relevance
36 #define PWM_NRFX_CH_VALUE(compare_value, inverted) \ argument37 (compare_value | (inverted ? 0 : PWM_NRFX_CH_POLARITY_MASK))129 uint16_t compare_value; in pwm_nrfx_set_cycles() local149 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()
95 uint32_t compare_value) in set_compare_value() argument101 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()
162 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()
85 #define IS_EQ_PROP_OR(inst, prop, default_value, compare_value) \ argument86 IS_EQ(DT_INST_PROP_OR(inst, prop, default_value), compare_value) ||