mcpwm_capture_timer_start() function
Start MCPWM capture timer
Arguments
cap_timer
MCPWM capture timer, allocated by `mcpwm_new_capture_timer()`
Return value
- ESP_OK: Start MCPWM capture timer successfully - ESP_ERR_INVALID_ARG: Start MCPWM capture timer failed because of invalid argument - ESP_FAIL: Start MCPWM capture timer failed because of other error
Examples
mcpwm_capture_timer_start() is referenced by 2 libraries and example projects: