Lines Matching refs:capture_data
54 struct capture_data { struct
69 struct capture_data capture_data[SKIP_IRQ_NUM]; argument
493 capture->capture_data[capture->skip_irq].value = in mcpwm_esp32_isr()
495 capture->capture_data[capture->skip_irq].edge = in mcpwm_esp32_isr()
508 capture->capture_data[0].edge == MCPWM_NEG_EDGE in mcpwm_esp32_isr()
509 ? (capture->capture_data[2].value - capture->capture_data[0].value) in mcpwm_esp32_isr()
510 : (capture->capture_data[3].value - capture->capture_data[1].value) in mcpwm_esp32_isr()
511 : capture->capture_data[0].edge == MCPWM_POS_EDGE in mcpwm_esp32_isr()
512 ? (capture->capture_data[2].value - capture->capture_data[0].value) in mcpwm_esp32_isr()
513 : (capture->capture_data[3].value - capture->capture_data[1].value); in mcpwm_esp32_isr()
516 capture->capture_data[0].edge == MCPWM_NEG_EDGE in mcpwm_esp32_isr()
517 ? (capture->capture_data[1].value - capture->capture_data[0].value) in mcpwm_esp32_isr()
518 : (capture->capture_data[2].value - capture->capture_data[1].value) in mcpwm_esp32_isr()
519 : capture->capture_data[0].edge == MCPWM_POS_EDGE in mcpwm_esp32_isr()
520 ? (capture->capture_data[1].value - capture->capture_data[0].value) in mcpwm_esp32_isr()
521 : (capture->capture_data[2].value - capture->capture_data[1].value); in mcpwm_esp32_isr()