MCPWM generator handle, allocated by `mcpwm_new_generator()`
ev_act
MCPWM timer event action list, must be terminated by `MCPWM_GEN_TIMER_EVENT_ACTION_END()`
Return value
- ESP_OK: Set generator actions successfully - ESP_ERR_INVALID_ARG: Set generator actions failed because of invalid argument - ESP_ERR_INVALID_STATE: Set generator actions failed because of timer is not connected to operator - ESP_FAIL: Set generator actions failed because of other error
Notes
This is an aggregation version of `mcpwm_generator_set_action_on_timer_event`, which allows user to set multiple actions in one call.
Related Functions
Found 14 other functions taking a mcpwm_gen_t
argument: