WPILibC++  2020.3.2-23-gf6df921
Power Functions

Functions

double HAL_GetVinVoltage (int32_t *status)
 Gets the roboRIO input voltage. More...
 
double HAL_GetVinCurrent (int32_t *status)
 Gets the roboRIO input current. More...
 
double HAL_GetUserVoltage6V (int32_t *status)
 Gets the 6V rail voltage. More...
 
double HAL_GetUserCurrent6V (int32_t *status)
 Gets the 6V rail current. More...
 
HAL_Bool HAL_GetUserActive6V (int32_t *status)
 Gets the active state of the 6V rail. More...
 
int32_t HAL_GetUserCurrentFaults6V (int32_t *status)
 Gets the fault count for the 6V rail. More...
 
double HAL_GetUserVoltage5V (int32_t *status)
 Gets the 5V rail voltage. More...
 
double HAL_GetUserCurrent5V (int32_t *status)
 Gets the 5V rail current. More...
 
HAL_Bool HAL_GetUserActive5V (int32_t *status)
 Gets the active state of the 5V rail. More...
 
int32_t HAL_GetUserCurrentFaults5V (int32_t *status)
 Gets the fault count for the 5V rail. More...
 
double HAL_GetUserVoltage3V3 (int32_t *status)
 Gets the 3V3 rail voltage. More...
 
double HAL_GetUserCurrent3V3 (int32_t *status)
 Gets the 3V3 rail current. More...
 
HAL_Bool HAL_GetUserActive3V3 (int32_t *status)
 Gets the active state of the 3V3 rail. More...
 
int32_t HAL_GetUserCurrentFaults3V3 (int32_t *status)
 Gets the fault count for the 3V3 rail. More...
 

Detailed Description

Function Documentation

◆ HAL_GetUserActive3V3()

HAL_Bool HAL_GetUserActive3V3 ( int32_t *  status)

Gets the active state of the 3V3 rail.

Returns
true if the rail is active, otherwise false

◆ HAL_GetUserActive5V()

HAL_Bool HAL_GetUserActive5V ( int32_t *  status)

Gets the active state of the 5V rail.

Returns
true if the rail is active, otherwise false

◆ HAL_GetUserActive6V()

HAL_Bool HAL_GetUserActive6V ( int32_t *  status)

Gets the active state of the 6V rail.

Returns
true if the rail is active, otherwise false

◆ HAL_GetUserCurrent3V3()

double HAL_GetUserCurrent3V3 ( int32_t *  status)

Gets the 3V3 rail current.

Returns
the 3V3 rail current (amps)

◆ HAL_GetUserCurrent5V()

double HAL_GetUserCurrent5V ( int32_t *  status)

Gets the 5V rail current.

Returns
the 5V rail current (amps)

◆ HAL_GetUserCurrent6V()

double HAL_GetUserCurrent6V ( int32_t *  status)

Gets the 6V rail current.

Returns
the 6V rail current (amps)

◆ HAL_GetUserCurrentFaults3V3()

int32_t HAL_GetUserCurrentFaults3V3 ( int32_t *  status)

Gets the fault count for the 3V3 rail.

Returns
the number of 3V3 fault counts

◆ HAL_GetUserCurrentFaults5V()

int32_t HAL_GetUserCurrentFaults5V ( int32_t *  status)

Gets the fault count for the 5V rail.

Returns
the number of 5V fault counts

◆ HAL_GetUserCurrentFaults6V()

int32_t HAL_GetUserCurrentFaults6V ( int32_t *  status)

Gets the fault count for the 6V rail.

Returns
the number of 6V fault counts

◆ HAL_GetUserVoltage3V3()

double HAL_GetUserVoltage3V3 ( int32_t *  status)

Gets the 3V3 rail voltage.

Returns
the 3V3 rail voltage (volts)

◆ HAL_GetUserVoltage5V()

double HAL_GetUserVoltage5V ( int32_t *  status)

Gets the 5V rail voltage.

Returns
the 5V rail voltage (volts)

◆ HAL_GetUserVoltage6V()

double HAL_GetUserVoltage6V ( int32_t *  status)

Gets the 6V rail voltage.

Returns
the 6V rail voltage (volts)

◆ HAL_GetVinCurrent()

double HAL_GetVinCurrent ( int32_t *  status)

Gets the roboRIO input current.

Returns
the input current (amps)

◆ HAL_GetVinVoltage()

double HAL_GetVinVoltage ( int32_t *  status)

Gets the roboRIO input voltage.

Returns
the input voltage (volts)