MCPWM generator handle, allocated by `mcpwm_new_generator()`
ev_act
MCPWM timer event action, can be constructed by `MCPWM_GEN_TIMER_EVENT_ACTION` helper macro
Return value
- ESP_OK: Set generator action successfully - ESP_ERR_INVALID_ARG: Set generator action failed because of invalid argument - ESP_ERR_INVALID_STATE: Set generator action failed because of timer is not connected to operator - ESP_FAIL: Set generator action failed because of other error
Related Functions
Found 14 other functions taking a mcpwm_gen_t
argument: