mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[ion] Power: add a comment to explain why standby use stopConfiguration
on N0100
This commit is contained in:
@@ -7,6 +7,10 @@ namespace Power {
|
||||
|
||||
void standby() {
|
||||
Device::Power::waitUntilOnOffKeyReleased();
|
||||
/* N0100 cannot use standby mode because the power key is not correctly wired
|
||||
* to a wake up pin in order to trigger a wake up event. If the device is in
|
||||
* standby, we won't be able to wake it up. Instead, we use the stop mode (as
|
||||
* it is the low power mode consuming less after standby mode). */
|
||||
Device::Power::stopConfiguration();
|
||||
Device::Board::shutdownPeripherals();
|
||||
Device::WakeUp::onOnOffKeyDown();
|
||||
|
||||
Reference in New Issue
Block a user