WPILibC++  unspecified
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
ControllerPower.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) FIRST 2011-2016. 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 #ifndef __CONTROLLER_POWER_H__
9 #define __CONTROLLER_POWER_H__
10 
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
static int GetFaultCount3V3()
Get the count of the total current faults on the 3.3V rail since the controller has booted...
Definition: ControllerPower.cpp:171
static int GetFaultCount6V()
Get the count of the total current faults on the 6V rail since the controller has booted...
Definition: ControllerPower.cpp:77
static bool GetEnabled5V()
Get the enabled state of the 5V rail.
Definition: ControllerPower.cpp:112
static double GetVoltage5V()
Get the voltage of the 5V rail.
Definition: ControllerPower.cpp:88
static double GetCurrent6V()
Get the current output of the 6V rail.
Definition: ControllerPower.cpp:52
Definition: ControllerPower.h:11
static double GetCurrent3V3()
Get the current output of the 3.3V rail.
Definition: ControllerPower.cpp:146
static double GetCurrent5V()
Get the current output of the 5V rail.
Definition: ControllerPower.cpp:99
static double GetVoltage3V3()
Get the voltage of the 3.3V rail.
Definition: ControllerPower.cpp:135
static double GetVoltage6V()
Get the voltage of the 6V rail.
Definition: ControllerPower.cpp:41
static double GetInputVoltage()
Get the input voltage to the robot controller.
Definition: ControllerPower.cpp:19
static double GetInputCurrent()
Get the input current to the robot controller.
Definition: ControllerPower.cpp:30
static bool GetEnabled6V()
Get the enabled state of the 6V rail.
Definition: ControllerPower.cpp:65
static bool GetEnabled3V3()
Get the enabled state of the 3.3V rail.
Definition: ControllerPower.cpp:159
static int GetFaultCount5V()
Get the count of the total current faults on the 5V rail since the controller has booted...
Definition: ControllerPower.cpp:124