8 #ifndef __HAL_COMPRESSOR_H__
9 #define __HAL_COMPRESSOR_H__
12 void *initializeCompressor(uint8_t module);
13 bool checkCompressorModule(uint8_t module);
15 bool getCompressor(
void *pcm_pointer, int32_t *status);
17 void setClosedLoopControl(
void *pcm_pointer,
bool value, int32_t *status);
18 bool getClosedLoopControl(
void *pcm_pointer, int32_t *status);
20 bool getPressureSwitch(
void *pcm_pointer, int32_t *status);
21 float getCompressorCurrent(
void *pcm_pointer, int32_t *status);
23 bool getCompressorCurrentTooHighFault(
void *pcm_pointer, int32_t *status);
24 bool getCompressorCurrentTooHighStickyFault(
void *pcm_pointer, int32_t *status);
25 bool getCompressorShortedStickyFault(
void *pcm_pointer, int32_t *status);
26 bool getCompressorShortedFault(
void *pcm_pointer, int32_t *status);
27 bool getCompressorNotConnectedStickyFault(
void *pcm_pointer, int32_t *status);
28 bool getCompressorNotConnectedFault(
void *pcm_pointer, int32_t *status);
29 void clearAllPCMStickyFaults(
void *pcm_pointer, int32_t *status);