WPILibC++  unspecified
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
ControllerPower.h
1 /*----------------------------------------------------------------------------*/
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 
10 namespace frc {
11 
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
static int GetFaultCount5V()
Get the count of the total current faults on the 5V rail since the controller has booted...
Definition: ControllerPower.cpp:135
static double GetCurrent3V3()
Get the current output of the 3.3V rail.
Definition: ControllerPower.cpp:159
static double GetInputCurrent()
Get the input current to the robot controller.
Definition: ControllerPower.cpp:35
static bool GetEnabled3V3()
Get the enabled state of the 3.3V rail.
Definition: ControllerPower.cpp:172
static double GetInputVoltage()
Get the input voltage to the robot controller.
Definition: ControllerPower.cpp:23
static bool GetEnabled6V()
Get the enabled state of the 6V rail.
Definition: ControllerPower.cpp:72
static double GetCurrent6V()
Get the current output of the 6V rail.
Definition: ControllerPower.cpp:59
static double GetCurrent5V()
Get the current output of the 5V rail.
Definition: ControllerPower.cpp:109
Definition: ControllerPower.h:12
static int GetFaultCount6V()
Get the count of the total current faults on the 6V rail since the controller has booted...
Definition: ControllerPower.cpp:85
static double GetVoltage6V()
Get the voltage of the 6V rail.
Definition: ControllerPower.cpp:47
static int GetFaultCount3V3()
Get the count of the total current faults on the 3.3V rail since the controller has booted...
Definition: ControllerPower.cpp:185
static double GetVoltage5V()
Get the voltage of the 5V rail.
Definition: ControllerPower.cpp:97
static bool GetEnabled5V()
Get the enabled state of the 5V rail.
Definition: ControllerPower.cpp:122
static double GetVoltage3V3()
Get the voltage of the 3.3V rail.
Definition: ControllerPower.cpp:147