30 #define POWER_OVERFLOW 0x7FFFFFFF
31 #define POWER_UNDERFLOW 0x80000000
33 #define POWER_12V_CUR 0
34 #define POWER_1V_CUR 1
35 #define POWER_1V8_CUR 2
36 #define POWER_2V5_CUR 3
37 #define POWER_3V3_CUR 4
38 #define POWER_5V_CUR 5
39 #define POWER_3V3PMT_CUR 6
40 #define POWER_VLED_CUR 7
41 #define POWER_VLED_LVL 8
42 #define POWER_12V_LVL 9
43 #define POWER_TEMP_LVL 10
44 #define POWER_1V_LVL 11
45 #define POWER_1V8_LVL 12
46 #define POWER_2V5_LVL 13
47 #define POWER_3V3_LVL 14
48 #define POWER_5V_LVL 15
49 #define POWER_3V3PMT_LVL 16
50 #define POWER_DACCTL_LVL 17
52 #define POWER_COUNT 18
54 #define POWER_VLED_MAX_MV 30026
bool pwrMeasureAll(uint16_t *results)
Initiates a conversion for the given channel.
bool pwrInit()
Initializes the powerboard.
bool pwrSetLED(uint32_t mv)
Set the LED output in millivolts.