Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/pwm/
Dpwm_mc_esp32.c42 #define CAPTURE_CHANNEL_IDX 6U macro
218 if (channel->idx >= CAPTURE_CHANNEL_IDX) { in mcpwm_esp32_get_cycles_per_sec()
302 if ((channel->idx < CAPTURE_CHANNEL_IDX) || (channel->idx > CAPTURE_CHANNEL_IDX + 2)) { in mcpwm_esp32_configure_capture()
318 capture->capture_signal = channel->idx - CAPTURE_CHANNEL_IDX; in mcpwm_esp32_configure_capture()
340 if ((channel->idx < CAPTURE_CHANNEL_IDX) || (channel->idx > CAPTURE_CHANNEL_IDX + 2)) { in mcpwm_esp32_disable_capture()
368 if ((channel->idx < CAPTURE_CHANNEL_IDX) || (channel->idx > CAPTURE_CHANNEL_IDX + 2)) { in mcpwm_esp32_enable_capture()
486 channel = &config->channel_config[CAPTURE_CHANNEL_IDX + cap_id]; in mcpwm_esp32_isr()
529 capture->callback(dev, capture->capture_signal + CAPTURE_CHANNEL_IDX, in mcpwm_esp32_isr()