mcpwm_operator_apply_carrier() function
Apply carrier feature for MCPWM operator
Arguments
oper
MCPWM operator, allocated by `mcpwm_new_operator()`
config
MCPWM carrier specific configuration
Return value
- ESP_OK: Set carrier for operator successfully - ESP_ERR_INVALID_ARG: Set carrier for operator failed because of invalid argument - ESP_FAIL: Set carrier for operator failed because of other error
mcpwm_operator_apply_carrier() calls 10 functions:
![]()
mcpwm_operator_apply_carrier()
mcpwm_operator_apply_carrier() reads 19 variables:
![]()
mcpwm_operator_apply_carrier()