Searched full:channel_idx (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/drivers/pwm/ |
D | pwm_mc_esp32.c | 205 static int mcpwm_esp32_get_cycles_per_sec(const struct device *dev, uint32_t channel_idx, in mcpwm_esp32_get_cycles_per_sec() argument 209 struct mcpwm_esp32_channel_config *channel = &config->channel_config[channel_idx]; in mcpwm_esp32_get_cycles_per_sec() 213 LOG_ERR("Error getting channel %d", channel_idx); in mcpwm_esp32_get_cycles_per_sec() 235 static int mcpwm_esp32_set_cycles(const struct device *dev, uint32_t channel_idx, in mcpwm_esp32_set_cycles() argument 242 struct mcpwm_esp32_channel_config *channel = &config->channel_config[channel_idx]; in mcpwm_esp32_set_cycles() 245 LOG_ERR("Error getting channel %d", channel_idx); in mcpwm_esp32_set_cycles() 250 mcpwm_esp32_get_cycles_per_sec(dev, channel_idx, &clk_freq); in mcpwm_esp32_set_cycles() 288 static int mcpwm_esp32_configure_capture(const struct device *dev, uint32_t channel_idx, in mcpwm_esp32_configure_capture() argument 294 struct mcpwm_esp32_channel_config *channel = &config->channel_config[channel_idx]; in mcpwm_esp32_configure_capture() 298 LOG_ERR("Error getting channel %d", channel_idx); in mcpwm_esp32_configure_capture() [all …]
|
D | pwm_led_esp32.c | 261 uint32_t channel_idx, uint64_t *cycles) in pwm_led_esp32_get_cycles_per_sec() argument 263 struct pwm_ledc_esp32_channel_config *channel = get_channel_config(dev, channel_idx); in pwm_led_esp32_get_cycles_per_sec() 266 LOG_ERR("Error getting channel %d", channel_idx); in pwm_led_esp32_get_cycles_per_sec() 279 static int pwm_led_esp32_set_cycles(const struct device *dev, uint32_t channel_idx, in pwm_led_esp32_set_cycles() argument 286 struct pwm_ledc_esp32_channel_config *channel = get_channel_config(dev, channel_idx); in pwm_led_esp32_set_cycles() 289 LOG_ERR("Error getting channel %d", channel_idx); in pwm_led_esp32_set_cycles() 294 ret = pwm_led_esp32_get_cycles_per_sec(dev, channel_idx, &clk_freq); in pwm_led_esp32_set_cycles()
|
/Zephyr-latest/dts/bindings/pwm/ |
D | infineon,xmc4xxx-ccu4-pwm.yaml | 48 pwm_out_p{PORT}_{PIN}_ccu4{MODULE_IDX}_ch{CHANNEL_IDX}, where MODULE_IDX and 49 CHANNEL_IDX refers to specific pwm_ccu4x module and channel, respectively.
|
D | infineon,xmc4xxx-ccu8-pwm.yaml | 56 The 'pwm_out_p{PORT}_{PIN}_ccu8{MODULE_IDX}_ch{CHANNEL_IDX}_{HIGH_LOW}' 57 format is used for CCU8 pinctrl nodes. 'MODULE_IDX' and 'CHANNEL_IDX'
|
/Zephyr-latest/drivers/sensor/ |
D | default_rtio_sensor.c | 310 * @param[in] channel_idx The index of the channel 404 enum sensor_channel y, enum sensor_channel z, size_t channel_idx) in decode_three_axis() argument 413 rc = get_q31_value(header, values, (struct sensor_chan_spec){x, channel_idx}, in decode_three_axis() 418 rc = get_q31_value(header, values, (struct sensor_chan_spec){y, channel_idx}, in decode_three_axis() 423 rc = get_q31_value(header, values, (struct sensor_chan_spec){z, channel_idx}, in decode_three_axis() 457 * @param[in] channel_idx The index of the channel
|
D | sensor_shell.c | 722 for (size_t channel_idx = 0; channel_idx < ARRAY_SIZE(sensor_channel_name); in cmd_sensor_attr_get() local 723 ++channel_idx) { in cmd_sensor_attr_get() 727 sensor_channel_name[channel_idx], in cmd_sensor_attr_get()
|
/Zephyr-latest/drivers/display/ |
D | display_nrf_led_matrix.c | 292 uint8_t channel_idx) in prepare_pixel_pulse() argument 304 dev_config->pwm->PSEL.OUT[channel_idx] = col_psel; in prepare_pixel_pulse() 305 dev_data->seq[channel_idx] = pulse | (col_active_low ? 0 : BIT(15)); in prepare_pixel_pulse() 329 nrf_timer_cc_set(dev_config->timer, 1 + channel_idx, pulse); in prepare_pixel_pulse() 330 dev_config->gpiote.p_reg->CONFIG[dev_data->gpiote_ch[channel_idx]] = gpiote_cfg; in prepare_pixel_pulse()
|
/Zephyr-latest/drivers/adc/ |
D | adc_ifx_cat1.c | 64 data->adc_chan_obj[channel_id].channel_idx); in _cyhal_adc_event_callback()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | sensor.h | 480 * @return -ENOTSUP if the channel/channel_idx aren't found
|