blob: f6b4720928db469e83d1e42f7a1834e6a2eefaf3 [file] [log] [blame]
Brian Silvermanf7f267a2017-02-04 16:16:08 -08001/*----------------------------------------------------------------------------*/
2/* Copyright (c) FIRST 2011-2017. All Rights Reserved. */
3/* Open Source Software - may be modified and shared by FRC teams. The code */
4/* must be accompanied by the FIRST BSD license file in the root directory of */
5/* the project. */
6/*----------------------------------------------------------------------------*/
7
8#pragma once
9
10namespace frc {
11
12class ControllerPower {
13 public:
14 static double GetInputVoltage();
15 static double GetInputCurrent();
16 static double GetVoltage3V3();
17 static double GetCurrent3V3();
18 static bool GetEnabled3V3();
19 static int GetFaultCount3V3();
20 static double GetVoltage5V();
21 static double GetCurrent5V();
22 static bool GetEnabled5V();
23 static int GetFaultCount5V();
24 static double GetVoltage6V();
25 static double GetCurrent6V();
26 static bool GetEnabled6V();
27 static int GetFaultCount6V();
28};
29
30} // namespace frc