blob: 18367b5acec91ae765c51650767d1df4261a5d91 [file] [log] [blame]
Brian Silverman26e4e522015-12-17 01:56:40 -05001/*----------------------------------------------------------------------------*/
Brian Silverman1a675112016-02-20 20:42:49 -05002/* Copyright (c) FIRST 2011-2016. All Rights Reserved. */
Brian Silverman26e4e522015-12-17 01:56:40 -05003/* Open Source Software - may be modified and shared by FRC teams. The code */
Brian Silverman1a675112016-02-20 20:42:49 -05004/* must be accompanied by the FIRST BSD license file in the root directory of */
5/* the project. */
Brian Silverman26e4e522015-12-17 01:56:40 -05006/*----------------------------------------------------------------------------*/
7
8#ifndef __CONTROLLER_POWER_H__
9#define __CONTROLLER_POWER_H__
10
11class ControllerPower {
12 public:
13 static double GetInputVoltage();
14 static double GetInputCurrent();
15 static double GetVoltage3V3();
16 static double GetCurrent3V3();
17 static bool GetEnabled3V3();
18 static int GetFaultCount3V3();
19 static double GetVoltage5V();
20 static double GetCurrent5V();
21 static bool GetEnabled5V();
22 static int GetFaultCount5V();
23 static double GetVoltage6V();
24 static double GetCurrent6V();
25 static bool GetEnabled6V();
26 static int GetFaultCount6V();
27};
28#endif