mcpwm_operator_recover_from_fault() is only used within ESP-IDF.
 
Symbols
loading (2/5)...
Files
loading (4/5)...
SummarySyntaxArgumentsRelatedReferencesCall TreeData Use

Return value

- ESP_OK: Recover from fault successfully - ESP_ERR_INVALID_ARG: Recover from fault failed because of invalid argument - ESP_ERR_INVALID_STATE: Recover from fault failed because the fault source is still active - ESP_FAIL: Recover from fault failed because of other error

Notes

To recover from fault or escape from trip, you make sure the fault signal has disappeared already. Otherwise the recovery can't succeed.

References