Commit Graph

8 Commits

Author SHA1 Message Date
morris
15471b450d Merge branch 'feature/mcpwm_cap_not_reset_io_at_exit_v5.0' into 'release/v5.0'
mcpwm: support not reset GPIO config at exit (v5.0)

See merge request espressif/esp-idf!22023
2023-02-18 15:03:13 +08:00
Cao Sen Miao
256dd53120 mcpwm: modify wrong config name 2023-02-15 17:55:55 +08:00
morris
5aa55ffc34 mcpwm: support not reset GPIO config at exit
By default, the driver will reset the GPIO used by the MCPWM capture
channel at exit. But in some special use cases, the same gpio may also
be used by another device, which shares the same gpio configuration,
resetting the gpio is not expected.

Closes https://github.com/espressif/esp-idf/issues/10327
2023-01-16 11:22:58 +08:00
morris
0db5909b47 mcpwm: new function to fetch capture resolution 2022-10-21 07:37:36 +00:00
morris
54813cc19b mcpwm: make set_compare_value iram safe
Closes https://github.com/espressif/esp-idf/issues/9793
2022-10-12 08:41:58 +00:00
morris
d8c2f67d63 mcpwm: added enable/disable functions
Closes https://github.com/espressif/esp-idf/pull/9523
2022-08-18 10:57:13 +08:00
morris
88ee33bf4c unity_utils: added helper function to disable cache and run user function 2022-08-18 10:57:12 +08:00
morris
1571417679 mcpwm: new driver implementation 2022-07-27 15:22:24 +08:00