Lines Matching refs:capture_signal

60 	uint8_t capture_signal;  member
307 if (data->hal.dev->cap_chn_cfg[capture->capture_signal].capn_en) { in mcpwm_esp32_configure_capture()
318 capture->capture_signal = channel->idx - CAPTURE_CHANNEL_IDX; in mcpwm_esp32_configure_capture()
345 mcpwm_ll_capture_enable_channel(data->hal.dev, capture->capture_signal, false); in mcpwm_esp32_disable_capture()
346 mcpwm_ll_intr_enable(data->hal.dev, MCPWM_LL_EVENT_CAPTURE(capture->capture_signal), false); in mcpwm_esp32_disable_capture()
373 if (data->hal.dev->cap_chn_cfg[capture->capture_signal].capn_en) { in mcpwm_esp32_enable_capture()
392 mcpwm_ll_capture_enable_channel(data->hal.dev, capture->capture_signal, true); in mcpwm_esp32_enable_capture()
393 mcpwm_ll_capture_enable_negedge(data->hal.dev, capture->capture_signal, in mcpwm_esp32_enable_capture()
395 mcpwm_ll_capture_enable_posedge(data->hal.dev, capture->capture_signal, in mcpwm_esp32_enable_capture()
397 mcpwm_ll_capture_set_prescale(data->hal.dev, capture->capture_signal, in mcpwm_esp32_enable_capture()
400 mcpwm_ll_intr_enable(data->hal.dev, MCPWM_LL_EVENT_CAPTURE(capture->capture_signal), true); in mcpwm_esp32_enable_capture()
401 mcpwm_ll_intr_clear_status(data->hal.dev, MCPWM_LL_EVENT_CAPTURE(capture->capture_signal)); in mcpwm_esp32_enable_capture()
494 mcpwm_ll_capture_get_value(data->hal.dev, capture->capture_signal); in mcpwm_esp32_isr()
496 mcpwm_ll_capture_get_edge(data->hal.dev, capture->capture_signal) == in mcpwm_esp32_isr()
529 capture->callback(dev, capture->capture_signal + CAPTURE_CHANNEL_IDX, in mcpwm_esp32_isr()