Closed
Description
Description
- Type: Enhancement
Enhancement
Reason to enhance or problem with existing solution
SerialBase locking deep sleep when attaching to an irq prevents effective use of low power uarts and possibly even normal uarts. Some of these peripherals are perfectly capable of generating interrupts when in deep sleep to wake up the processor.
However, I don't know if this is the case for all mcu series, this is why i didn't simply create a PR because I can't oversee the effects.
Suggested enhancement
Provide a way to attach without locking deep sleep. Either with an additional parameter or function, with a define that disables the locking or remove the locking altogether.
Pros
The possibility to go more low power while still maintaining serial communications.
Metadata
Metadata
Assignees
Labels
No labels