Go to the documentation of this file.
11 #ifndef _MACH_SHARPSL_PM
12 #define _MACH_SHARPSL_PM
30 #define SHARPSL_BATT_VOLT 1
31 #define SHARPSL_BATT_TEMP 2
32 #define SHARPSL_ACIN_VOLT 3
33 #define SHARPSL_STATUS_ACIN 4
34 #define SHARPSL_STATUS_LOCK 5
35 #define SHARPSL_STATUS_CHRGFULL 6
36 #define SHARPSL_STATUS_FATAL 7
76 #define CHRG_ERROR (-1)
82 #define SHARPSL_SUSPENDED (1 << 0)
83 #define SHARPSL_ALARM_ACTIVE (1 << 1)
84 #define SHARPSL_BL_LIMIT (1 << 2)
85 #define SHARPSL_APM_QUEUED (1 << 3)
86 #define SHARPSL_DO_OFFLINE_CHRG (1 << 4)
99 #define SHARPSL_LED_ERROR 2
100 #define SHARPSL_LED_ON 1
101 #define SHARPSL_LED_OFF 0
107 #define MAX1111_BATT_VOLT 4u
108 #define MAX1111_BATT_TEMP 2u
109 #define MAX1111_ACIN_VOLT 6u