Developer World
Spresense Arduino Library v3.3.0-b2e6327
LowPower.h File Reference

Spresense Arduino Low Power library. More...

#include <Arduino.h>
#include <arch/chip/pm.h>
Include dependency graph for LowPower.h:

Go to the source code of this file.

Classes

class  LowPowerClass
 This provides the features fo the power saving. More...
 

Enumerations

enum  bootcause_e {
  POR_SUPPLY = 0 , WDT_REBOOT = 1 , WDT_RESET = 2 , DEEP_WKUPL = 3 ,
  DEEP_WKUPS = 4 , DEEP_RTC = 5 , DEEP_USB_ATTACH = 6 , DEEP_OTHERS = 7 ,
  COLD_SCU_INT = 8 , COLD_RTC_ALM0 = 9 , COLD_RTC_ALM1 = 10 , COLD_RTC_ALM2 = 11 ,
  COLD_RTC_ALMERR = 12 , COLD_GPIO_IRQ36 = 16 , COLD_GPIO_IRQ37 = 17 , COLD_GPIO_IRQ38 = 18 ,
  COLD_GPIO_IRQ39 = 19 , COLD_GPIO_IRQ40 = 20 , COLD_GPIO_IRQ41 = 21 , COLD_GPIO_IRQ42 = 22 ,
  COLD_GPIO_IRQ43 = 23 , COLD_GPIO_IRQ44 = 24 , COLD_GPIO_IRQ45 = 25 , COLD_GPIO_IRQ46 = 26 ,
  COLD_GPIO_IRQ47 = 27 , COLD_SEN_INT = 28 , COLD_PMIC_INT = 29 , COLD_USB_DETACH = 30 ,
  COLD_USB_ATTACH = 31 , POR_NORMAL = 32
}
 
enum  clockmode_e { CLOCK_MODE_156MHz = 0 , CLOCK_MODE_32MHz = 1 , CLOCK_MODE_8MHz = 2 }
 

Variables

LowPowerClass LowPower
 

Detailed Description

Spresense Arduino Low Power library.

Author
Sony Semiconductor Solutions Corporation

The Low Power library can manage the low power states of Spresense.