esp-idf/components
michael 0f10d12b81 mcpwm: fix the fault handling and capture issues
1. The fault signal 3 for unit 2 is corrected to the right value

2. Now `mcpwm_fault_set_oneshot_mode` will clear the status before, no
need to reset the peripheral.

3. The capture feature relies on the prescaler, but it's only
initialized in the mcpwm_init funciton, which is used to initialize a
PWM channel. This means, the capture may not work correctly if no PWM
channel is enabled.

   Now the prescaler is also updated when `mcpwm_capture_enable` is
called.
2020-02-15 18:39:28 +08:00
..
2019-07-07 01:51:45 +00:00
2019-06-21 19:53:29 +08:00
2019-12-06 10:54:12 +08:00
2019-06-21 19:53:29 +08:00
2019-06-21 19:53:29 +08:00
2019-06-21 19:53:29 +08:00
2020-02-13 14:36:11 +08:00
2019-06-21 19:53:29 +08:00
2019-06-21 19:53:29 +08:00