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
Copy file name to clipboardExpand all lines: components/esp_driver_i2s/include/driver/i2s_common.h
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ extern "C" {
26
26
.dma_frame_num = 240, \
27
27
.auto_clear_after_cb = false, \
28
28
.auto_clear_before_cb = false, \
29
-
.backup_before_sleep = false, \
29
+
.allow_pd = false, \
30
30
.intr_priority = 0, \
31
31
}
32
32
@@ -74,9 +74,10 @@ typedef struct {
74
74
boolauto_clear_before_cb; /*!< Set to auto clear DMA TX buffer before `on_sent` callback, I2S will always send zero automatically if no data to send
75
75
* So that user can access data in the callback that just finished to send.
76
76
*/
77
-
boolbackup_before_sleep; /*!< If set, the driver will backup/restore the I2S registers before/after entering/exist sleep mode.
78
-
By this approach, the system can power off I2S's power domain.
79
-
This can save power, but at the expense of more RAM being consumed */
77
+
boolallow_pd; /*!< Set to allow power down. When this flag set, the driver will backup/restore the I2S registers before/after entering/exist sleep mode.
78
+
* By this approach, the system can power off I2S's power domain.
79
+
* This can save power, but at the expense of more RAM being consumed.
80
+
*/
80
81
intintr_priority; /*!< I2S interrupt priority, range [0, 7], if set to 0, the driver will try to allocate an interrupt with a relative low priority (1,2,3) */
0 commit comments