ESP-IDF + 0/3 examples
SourceVu will show references to mcpwm_generator_set_force_level() from the following samples and libraries:
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

- ESP_OK: Set force level for MCPWM generator successfully - ESP_ERR_INVALID_ARG: Set force level for MCPWM generator failed because of invalid argument - ESP_FAIL: Set force level for MCPWM generator failed because of other error

Notes

The force level will be applied to the generator immediately, regardless any other events that would change the generator's behaviour. If the `hold_on` is true, the force level will retain forever, until user removes the force level by setting the force level to `-1`. If the `hold_on` is false, the force level can be overridden by the next event action. The force level set by this function can be inverted by GPIO matrix or dead-time module. So the level set here doesn't equal to the final output level.

References

from examples