10 #ifndef __FRC_ROBORIO__
12 #include "NotifyListener.h"
19 void HALSIM_ResetPCMData(int32_t index);
20 int32_t HALSIM_RegisterPCMSolenoidInitializedCallback(
21 int32_t index, int32_t channel, HAL_NotifyCallback callback,
void* param,
22 HAL_Bool initialNotify);
23 void HALSIM_CancelPCMSolenoidInitializedCallback(int32_t index, int32_t channel,
25 HAL_Bool HALSIM_GetPCMSolenoidInitialized(int32_t index, int32_t channel);
26 void HALSIM_SetPCMSolenoidInitialized(int32_t index, int32_t channel,
27 HAL_Bool solenoidInitialized);
29 int32_t HALSIM_RegisterPCMSolenoidOutputCallback(int32_t index, int32_t channel,
30 HAL_NotifyCallback callback,
32 HAL_Bool initialNotify);
33 void HALSIM_CancelPCMSolenoidOutputCallback(int32_t index, int32_t channel,
35 HAL_Bool HALSIM_GetPCMSolenoidOutput(int32_t index, int32_t channel);
36 void HALSIM_SetPCMSolenoidOutput(int32_t index, int32_t channel,
37 HAL_Bool solenoidOutput);
39 int32_t HALSIM_RegisterPCMCompressorInitializedCallback(
40 int32_t index, HAL_NotifyCallback callback,
void* param,
41 HAL_Bool initialNotify);
42 void HALSIM_CancelPCMCompressorInitializedCallback(int32_t index, int32_t uid);
43 HAL_Bool HALSIM_GetPCMCompressorInitialized(int32_t index);
44 void HALSIM_SetPCMCompressorInitialized(int32_t index,
45 HAL_Bool compressorInitialized);
47 int32_t HALSIM_RegisterPCMCompressorOnCallback(int32_t index,
48 HAL_NotifyCallback callback,
50 HAL_Bool initialNotify);
51 void HALSIM_CancelPCMCompressorOnCallback(int32_t index, int32_t uid);
52 HAL_Bool HALSIM_GetPCMCompressorOn(int32_t index);
53 void HALSIM_SetPCMCompressorOn(int32_t index, HAL_Bool compressorOn);
55 int32_t HALSIM_RegisterPCMClosedLoopEnabledCallback(int32_t index,
56 HAL_NotifyCallback callback,
58 HAL_Bool initialNotify);
59 void HALSIM_CancelPCMClosedLoopEnabledCallback(int32_t index, int32_t uid);
60 HAL_Bool HALSIM_GetPCMClosedLoopEnabled(int32_t index);
61 void HALSIM_SetPCMClosedLoopEnabled(int32_t index, HAL_Bool closedLoopEnabled);
63 int32_t HALSIM_RegisterPCMPressureSwitchCallback(int32_t index,
64 HAL_NotifyCallback callback,
66 HAL_Bool initialNotify);
67 void HALSIM_CancelPCMPressureSwitchCallback(int32_t index, int32_t uid);
68 HAL_Bool HALSIM_GetPCMPressureSwitch(int32_t index);
69 void HALSIM_SetPCMPressureSwitch(int32_t index, HAL_Bool pressureSwitch);
71 int32_t HALSIM_RegisterPCMCompressorCurrentCallback(int32_t index,
72 HAL_NotifyCallback callback,
74 HAL_Bool initialNotify);
75 void HALSIM_CancelPCMCompressorCurrentCallback(int32_t index, int32_t uid);
76 double HALSIM_GetPCMCompressorCurrent(int32_t index);
77 void HALSIM_SetPCMCompressorCurrent(int32_t index,
double compressorCurrent);
79 void HALSIM_RegisterPCMAllNonSolenoidCallbacks(int32_t index,
80 HAL_NotifyCallback callback,
82 HAL_Bool initialNotify);
84 void HALSIM_RegisterPCMAllSolenoidCallbacks(int32_t index, int32_t channel,
85 HAL_NotifyCallback callback,
87 HAL_Bool initialNotify);