You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uint32_tresolution_hz; /*!< Resolution of capture timer */
25
+
struct {
26
+
uint32_tallow_pd: 1; /*!< Set to allow power down. When this flag set, the driver will backup/restore the MCPWM registers before/after entering/exist sleep mode.
27
+
By this approach, the system can power off MCPWM's power domain.
28
+
This can save power, but at the expense of more RAM being consumed.*/
29
+
} flags; /*!< Extra configuration flags for timer */
Copy file name to clipboardExpand all lines: components/esp_driver_mcpwm/include/driver/mcpwm_timer.h
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,9 @@ typedef struct {
40
40
struct {
41
41
uint32_tupdate_period_on_empty: 1; /*!< Whether to update period when timer counts to zero */
42
42
uint32_tupdate_period_on_sync: 1; /*!< Whether to update period on sync event */
43
+
uint32_tallow_pd: 1; /*!< Set to allow power down. When this flag set, the driver will backup/restore the MCPWM registers before/after entering/exist sleep mode.
44
+
By this approach, the system can power off MCPWM's power domain.
45
+
This can save power, but at the expense of more RAM being consumed. */
43
46
} flags; /*!< Extra configuration flags for timer */
0 commit comments