michael 1fb2fd89de 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.
2019-11-25 00:36:30 +08:00
..
2019-11-21 20:31:34 +08:00
2019-11-25 00:36:30 +08:00
2019-10-29 20:06:39 +08:00
2019-11-20 11:17:27 +01:00
2019-11-22 11:44:46 +08:00
2019-11-21 20:34:07 +08:00
2019-11-21 10:40:49 +08:00
2019-11-21 16:25:22 +08:00
2019-11-18 14:35:46 +08:00
2019-06-28 11:34:49 +08:00
2019-11-20 10:54:21 +08:00
2019-11-21 10:40:49 +08:00
2019-11-22 11:44:46 +08:00
2019-04-12 02:24:28 +08:00