morris
1ce7be11fa
fix(mcpwm): reset GPIO used by generator after delete
...
Closes https://github.com/espressif/esp-idf/issues/12980
2024-02-01 17:49:53 +08:00
Chen Jichang
01c5d8d72e
feature(MCPWM): Add MCPWM trigger driver and test
...
Each MCPWM operator has two Trigger (named T0 and T1), and they can be
routed to GPIO fault signal or timer sync event.Generator can be set up
to perform different action on Trigger event.
This commit add a trigger driver and a test for the driver.
fix(mcpwm): fault trigger test forget connect timer and operator
2023-11-09 21:52:37 +08:00
morris
0187f3b4e3
feat(mcpwm): support update timer period dynamically
...
Implement the requirement asked in
https://www.esp32.com/viewtopic.php?f=13&t=35919
2023-10-24 10:08:29 +08:00
morris
2bec2de36e
Merge branch 'feature/mcpwm_interrupt_priority_v5.0' into 'release/v5.0'
...
feat(MCPWM): Support set interrupt priority(v5.0)
See merge request espressif/esp-idf!25522
2023-09-19 10:41:58 +08:00
morris
d6df3b7758
Merge branch 'feature/add_mcpwm_carrier_clk_source_v5.0' into 'release/v5.0'
...
feat(MCPWM): Add mcpwm carrier clk source(v5.0)
See merge request espressif/esp-idf!25523
2023-09-19 10:24:25 +08:00
morris
358b408753
feat(mcpwm): default clock source setting can leave empty
2023-08-25 10:26:36 +08:00
Chen Jichang
615222f1c2
feat(MCPWM): Support set interrupt priority(v5.0)
2023-08-24 19:56:42 +08:00
Chen Jichang
2a88fb9e81
feat(MCPWM): Add mcpwm carrier clk source
...
The MCPWM carrier is part of the operator and can work independently
without the MCPWM timer being enabled. This commit add the MCPWM
carrier clk source.
2023-08-24 11:45:28 +08:00
morris
a87a04992e
feat(mcpwm): support open drain output for generator IO
...
Closes https://github.com/espressif/esp-idf/issues/11877
2023-07-19 16:13:12 +08:00
Anne Brondijk
bf5c09aacd
feat(mcpwm): Allow for pull up/down to be configurable on generators
2023-07-19 16:13:11 +08:00
morris
49c83f112d
mcpwm: can't apply the same delay module to multiple generators
...
This is a hardware limitation, one delay module can only be used by one generator at one time.
Closes https://github.com/espressif/esp-idf/issues/11327
2023-05-10 10:10:16 +08:00
morris
3f68b61f3e
Merge branch 'feature/mcpwm_non_varg_version_api_v5.0' into 'release/v5.0'
...
mcpwm: support non-vararg version of generator functions (v5.0)
See merge request espressif/esp-idf!21951
2023-02-18 15:04:17 +08:00
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
ae7c8de4a7
mcpwm: support non-varg version of generator functions
...
Closes https://github.com/espressif/esp-idf/issues/10449
2023-01-09 15:09:40 +08:00
morris
0db5909b47
mcpwm: new function to fetch capture resolution
2022-10-21 07:37:36 +00:00
morris
e2e97a5a33
mcpwm: allow compare equals to period
2022-10-12 08:41:58 +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
70ee85d38b
mcpwm: check sync direction is valid
2022-09-15 19:07:31 +08:00
morris
50ff1b0efd
mcpwm: don't use keyword operator
...
Closes https://github.com/espressif/esp-idf/issues/9510
2022-08-18 10:59:42 +08: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
5020fbce1c
driver: add doc on how to unregister event callbacks
...
Closes https://github.com/espressif/esp-idf/pull/9523
2022-08-18 10:57:13 +08:00
morris
4701d95052
driver: specify the interrupt priority
...
Closes https://github.com/espressif/esp-idf/issues/9520
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
998451c60a
driver: remove -Wno-format flag
2022-08-18 10:57:12 +08:00
morris
480f80868a
mcpwm: test iram safe interrupt
2022-08-02 23:07:06 +08:00
morris
1571417679
mcpwm: new driver implementation
2022-07-27 15:22:24 +08:00