File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -208,15 +208,21 @@ def hibernation_threshold(self, threshold_percent):
208
208
def hibernate (self ):
209
209
"""Setup thresholds for hibernation to go into hibernation mode immediately.
210
210
211
- See datasheet: HIBRT Register (0x0A) To disable hibernate mode, set HIBRT = 0x0000. To
212
- always use hibernate mode, set HIBRT = 0xFFFF. Can check status with :py:attr:`hibernating`"""
211
+ See datasheet: HIBRT Register (0x0A) To disable hibernate mode, set
212
+ HIBRT = 0x0000. To always use hibernate mode, set HIBRT = 0xFFFF.
213
+ Can check status with :py:attr:`hibernating`
214
+ """
215
+
213
216
self ._hibrt_hibthr = 0xFF
214
217
self ._hibrt_actthr = 0xFF
215
218
216
219
def wake (self ):
217
220
"""Setup thresholds for hibernation to leave hibernation mode immediately.
218
221
219
- See datasheet: HIBRT Register (0x0A) To disable hibernate mode, set HIBRT = 0x0000. To
220
- always use hibernate mode, set HIBRT = 0xFFFF. Can check status with :py:attr:`hibernating`"""
222
+ See datasheet: HIBRT Register (0x0A) To disable hibernate mode, set
223
+ HIBRT = 0x0000. To always use hibernate mode, set HIBRT = 0xFFFF.
224
+ Can check status with :py:attr:`hibernating`
225
+ """
226
+
221
227
self ._hibrt_hibthr = 0
222
228
self ._hibrt_actthr = 0
You can’t perform that action at this time.
0 commit comments