mcpwm_new_gpio_sync_src() function
Create MCPWM GPIO sync source
Arguments
config
MCPWM GPIO sync source configuration
ret_sync
Returned MCPWM GPIO sync handle
Return value
- ESP_OK: Create MCPWM GPIO sync source successfully - ESP_ERR_INVALID_ARG: Create MCPWM GPIO sync source failed because of invalid argument - ESP_ERR_NO_MEM: Create MCPWM GPIO sync source failed because out of memory - ESP_ERR_NOT_FOUND: Create MCPWM GPIO sync source failed because can't find free resource - ESP_FAIL: Create MCPWM GPIO sync source failed because of other error
Examples
mcpwm_new_gpio_sync_src() is referenced by 1 libraries and example projects: