Questions on using the power down mode #163
-
Somewhat related to #161, but not necessarily an issue:
implies to me that the MCU will sleep for ~500ms (wake at 2 Hz).
Has that wrapper function been written yet, or is that still planned? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
@SpenceKonde answered these questions here: #161 (comment) |
Beta Was this translation helpful? Give feedback.
-
I wouldn't say I answered much there...
|
Beta Was this translation helpful? Give feedback.
-
@SpenceKonde, will SpenceKonde/megaTinyCore#158 apply to DxCore as well? |
Beta Was this translation helpful? Give feedback.
I wouldn't say I answered much there...
Yeah it looks like it - There's a
RTC_PERIOD_CYC32768_gc
option, and it looks to me like the RTC prescaler that can be set in RTC.CTRLA does effect the PIT clock...pinConfigure() provides a wrapper around disabling pins, the latest documentation also gives a quick description of the multipin configuration registers (no wrapper - it doesn't really lend itself to that) which can be used to disable inputs on large numbers of pins quickly and easily.