WPILibC++
2018.4.1-20180926150325-1206-g8b1274d
|
Functions | |
HAL_CompressorHandle | HAL_InitializeCompressor (int32_t module, int32_t *status) |
Initializes a compressor on the given PCM module. More... | |
HAL_Bool | HAL_CheckCompressorModule (int32_t module) |
Gets if a compressor module is valid. More... | |
HAL_Bool | HAL_GetCompressor (HAL_CompressorHandle compressorHandle, int32_t *status) |
Gets the compressor state (on or off). More... | |
void | HAL_SetCompressorClosedLoopControl (HAL_CompressorHandle compressorHandle, HAL_Bool value, int32_t *status) |
Sets the compressor to closed loop mode. More... | |
HAL_Bool | HAL_GetCompressorClosedLoopControl (HAL_CompressorHandle compressorHandle, int32_t *status) |
Gets if the compressor is in closed loop mode. More... | |
HAL_Bool | HAL_GetCompressorPressureSwitch (HAL_CompressorHandle compressorHandle, int32_t *status) |
Gets the compressor pressure switch state. More... | |
double | HAL_GetCompressorCurrent (HAL_CompressorHandle compressorHandle, int32_t *status) |
Gets the compressor current. More... | |
HAL_Bool | HAL_GetCompressorCurrentTooHighFault (HAL_CompressorHandle compressorHandle, int32_t *status) |
Gets if the compressor is faulted because of too high of current. More... | |
HAL_Bool | HAL_GetCompressorCurrentTooHighStickyFault (HAL_CompressorHandle compressorHandle, int32_t *status) |
Gets if a sticky fauly is triggered because of too high of current. More... | |
HAL_Bool | HAL_GetCompressorShortedStickyFault (HAL_CompressorHandle compressorHandle, int32_t *status) |
Gets if a sticky fauly is triggered because of a short. More... | |
HAL_Bool | HAL_GetCompressorShortedFault (HAL_CompressorHandle compressorHandle, int32_t *status) |
Gets if the compressor is faulted because of a short. More... | |
HAL_Bool | HAL_GetCompressorNotConnectedStickyFault (HAL_CompressorHandle compressorHandle, int32_t *status) |
Gets if a sticky fault is triggered of the compressor not connected. More... | |
HAL_Bool | HAL_GetCompressorNotConnectedFault (HAL_CompressorHandle compressorHandle, int32_t *status) |
Gets if the compressor is not connected. More... | |
HAL_Bool HAL_CheckCompressorModule | ( | int32_t | module | ) |
Gets if a compressor module is valid.
module | the module number |
HAL_Bool HAL_GetCompressor | ( | HAL_CompressorHandle | compressorHandle, |
int32_t * | status | ||
) |
Gets the compressor state (on or off).
compressorHandle | the compressor handle |
HAL_Bool HAL_GetCompressorClosedLoopControl | ( | HAL_CompressorHandle | compressorHandle, |
int32_t * | status | ||
) |
Gets if the compressor is in closed loop mode.
compressorHandle | the compressor handle |
double HAL_GetCompressorCurrent | ( | HAL_CompressorHandle | compressorHandle, |
int32_t * | status | ||
) |
Gets the compressor current.
compressorHandle | the compressor handle |
HAL_Bool HAL_GetCompressorCurrentTooHighFault | ( | HAL_CompressorHandle | compressorHandle, |
int32_t * | status | ||
) |
Gets if the compressor is faulted because of too high of current.
compressorHandle | the compressor handle |
HAL_Bool HAL_GetCompressorCurrentTooHighStickyFault | ( | HAL_CompressorHandle | compressorHandle, |
int32_t * | status | ||
) |
Gets if a sticky fauly is triggered because of too high of current.
compressorHandle | the compressor handle |
HAL_Bool HAL_GetCompressorNotConnectedFault | ( | HAL_CompressorHandle | compressorHandle, |
int32_t * | status | ||
) |
Gets if the compressor is not connected.
compressorHandle | the compressor handle |
HAL_Bool HAL_GetCompressorNotConnectedStickyFault | ( | HAL_CompressorHandle | compressorHandle, |
int32_t * | status | ||
) |
Gets if a sticky fault is triggered of the compressor not connected.
compressorHandle | the compressor handle |
HAL_Bool HAL_GetCompressorPressureSwitch | ( | HAL_CompressorHandle | compressorHandle, |
int32_t * | status | ||
) |
Gets the compressor pressure switch state.
compressorHandle | the compressor handle |
HAL_Bool HAL_GetCompressorShortedFault | ( | HAL_CompressorHandle | compressorHandle, |
int32_t * | status | ||
) |
Gets if the compressor is faulted because of a short.
compressorHandle | the compressor handle |
HAL_Bool HAL_GetCompressorShortedStickyFault | ( | HAL_CompressorHandle | compressorHandle, |
int32_t * | status | ||
) |
Gets if a sticky fauly is triggered because of a short.
compressorHandle | the compressor handle |
HAL_CompressorHandle HAL_InitializeCompressor | ( | int32_t | module, |
int32_t * | status | ||
) |
Initializes a compressor on the given PCM module.
module | the module number |
void HAL_SetCompressorClosedLoopControl | ( | HAL_CompressorHandle | compressorHandle, |
HAL_Bool | value, | ||
int32_t * | status | ||
) |
Sets the compressor to closed loop mode.
compressorHandle | the compressor handle |
value | true for closed loop mode, false for off |