WPILibC++ 2023.4.3
|
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... | |
double | HAL_GetBrownoutVoltage (int32_t *status) |
Get the current brownout voltage setting. More... | |
void | HAL_SetBrownoutVoltage (double voltage, int32_t *status) |
Set the voltage the roboRIO will brownout and disable all outputs. More... | |
double HAL_GetBrownoutVoltage | ( | int32_t * | status | ) |
Get the current brownout voltage setting.
[out] | status | the error code, or 0 for success |
HAL_Bool HAL_GetUserActive3V3 | ( | int32_t * | status | ) |
Gets the active state of the 3V3 rail.
[out] | status | the error code, or 0 for success |
HAL_Bool HAL_GetUserActive5V | ( | int32_t * | status | ) |
Gets the active state of the 5V rail.
[out] | status | the error code, or 0 for success |
HAL_Bool HAL_GetUserActive6V | ( | int32_t * | status | ) |
Gets the active state of the 6V rail.
[out] | status | the error code, or 0 for success |
double HAL_GetUserCurrent3V3 | ( | int32_t * | status | ) |
Gets the 3V3 rail current.
[out] | status | the error code, or 0 for success |
double HAL_GetUserCurrent5V | ( | int32_t * | status | ) |
Gets the 5V rail current.
[out] | status | the error code, or 0 for success |
double HAL_GetUserCurrent6V | ( | int32_t * | status | ) |
Gets the 6V rail current.
[out] | status | the error code, or 0 for success |
int32_t HAL_GetUserCurrentFaults3V3 | ( | int32_t * | status | ) |
Gets the fault count for the 3V3 rail.
[out] | status | the error code, or 0 for success |
int32_t HAL_GetUserCurrentFaults5V | ( | int32_t * | status | ) |
Gets the fault count for the 5V rail.
[out] | status | the error code, or 0 for success |
int32_t HAL_GetUserCurrentFaults6V | ( | int32_t * | status | ) |
Gets the fault count for the 6V rail.
[out] | status | the error code, or 0 for success |
double HAL_GetUserVoltage3V3 | ( | int32_t * | status | ) |
Gets the 3V3 rail voltage.
[out] | status | the error code, or 0 for success |
double HAL_GetUserVoltage5V | ( | int32_t * | status | ) |
Gets the 5V rail voltage.
[out] | status | the error code, or 0 for success |
double HAL_GetUserVoltage6V | ( | int32_t * | status | ) |
Gets the 6V rail voltage.
[out] | status | the error code, or 0 for success |
double HAL_GetVinCurrent | ( | int32_t * | status | ) |
Gets the roboRIO input current.
[out] | status | the error code, or 0 for success |
double HAL_GetVinVoltage | ( | int32_t * | status | ) |
Gets the roboRIO input voltage.
[out] | status | the error code, or 0 for success |
void HAL_SetBrownoutVoltage | ( | double | voltage, |
int32_t * | status | ||
) |
Set the voltage the roboRIO will brownout and disable all outputs.
Note that this only does anything on the roboRIO 2. On the roboRIO it is a no-op.
[in] | voltage | The brownout voltage |
[out] | status | the error code, or 0 for success |