Table of Contents

Class Power

Namespace
nanoFramework.Hardware.GiantGecko
Assembly
nanoFramework.Hardware.GiantGecko.dll

Provides methods to control power mode of the target CPU.

public static class Power
Inheritance
Power
Inherited Members

Remarks

This API is available only for Silabs Giant Gecko targets.

Methods

EnterHibernateMode()

Sets the target device to enter Gecko EFM32 "EM4 Hibernate" mode.

public static void EnterHibernateMode()

Remarks

If no wakeup sources configured then it will be a indefinite sleep. This call never returns. After the device enters standby a wakeup source will wake the device and the execution will start as if it was a reset. Keep in mind that the execution WILL NOT continue after the call to this method.

EnterShutoffMode()

Sets the target device to enter Gecko EFM32 "EM4 Shutoff" mode.

public static void EnterShutoffMode()

Remarks

If no wakeup sources configured then it will be a indefinite sleep. This call never returns. After the device enters standby a wakeup source will wake the device and the execution will start as if it was a reset. Keep in mind that the execution WILL NOT continue after the call to this method.