WPILibC++  unspecified
ControllerPower.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) 2011-2017 FIRST. 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
Definition: Timer.cpp:18
static int GetFaultCount5V()
Get the count of the total current faults on the 5V rail since the controller has booted...
Definition: ControllerPower.cpp:136
static double GetCurrent3V3()
Get the current output of the 3.3V rail.
Definition: ControllerPower.cpp:160
static double GetInputCurrent()
Get the input current to the robot controller.
Definition: ControllerPower.cpp:36
static bool GetEnabled3V3()
Get the enabled state of the 3.3V rail.
Definition: ControllerPower.cpp:173
static double GetInputVoltage()
Get the input voltage to the robot controller.
Definition: ControllerPower.cpp:24
static bool GetEnabled6V()
Get the enabled state of the 6V rail.
Definition: ControllerPower.cpp:73
static double GetCurrent6V()
Get the current output of the 6V rail.
Definition: ControllerPower.cpp:60
static double GetCurrent5V()
Get the current output of the 5V rail.
Definition: ControllerPower.cpp:110
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:86
static double GetVoltage6V()
Get the voltage of the 6V rail.
Definition: ControllerPower.cpp:48
static int GetFaultCount3V3()
Get the count of the total current faults on the 3.3V rail since the controller has booted...
Definition: ControllerPower.cpp:186
static double GetVoltage5V()
Get the voltage of the 5V rail.
Definition: ControllerPower.cpp:98
static bool GetEnabled5V()
Get the enabled state of the 5V rail.
Definition: ControllerPower.cpp:123
static double GetVoltage3V3()
Get the voltage of the 3.3V rail.
Definition: ControllerPower.cpp:148