blob: b430c1eb84afeb86ab515e71ea539daf4ab9e58d [file] [log] [blame]
Brian Silverman26e4e522015-12-17 01:56:40 -05001#pragma once
2
3#include <stdint.h>
4
5extern "C"
6{
7 float getVinVoltage(int32_t *status);
8 float getVinCurrent(int32_t *status);
9 float getUserVoltage6V(int32_t *status);
10 float getUserCurrent6V(int32_t *status);
11 bool getUserActive6V(int32_t *status);
12 int getUserCurrentFaults6V(int32_t *status);
13 float getUserVoltage5V(int32_t *status);
14 float getUserCurrent5V(int32_t *status);
15 bool getUserActive5V(int32_t *status);
16 int getUserCurrentFaults5V(int32_t *status);
17 float getUserVoltage3V3(int32_t *status);
18 float getUserCurrent3V3(int32_t *status);
19 bool getUserActive3V3(int32_t *status);
20 int getUserCurrentFaults3V3(int32_t *status);
21}