mcpwm_capture_timer_get_resolution() function
Get MCPWM capture timer resolution, in Hz
Arguments
cap_timer
MCPWM capture timer, allocated by `mcpwm_new_capture_timer()`
out_resolution
Returned capture timer resolution, in Hz
Return value
- ESP_OK: Get capture timer resolution successfully - ESP_ERR_INVALID_ARG: Get capture timer resolution failed because of invalid argument - ESP_FAIL: Get capture timer resolution failed because of other error