10 #ifndef __FRC_ROBORIO__
12 #include "NotifyListener.h"
13 #include "hal/Types.h"
19 void HALSIM_ResetPDPData(int32_t index);
20 int32_t HALSIM_RegisterPDPInitializedCallback(int32_t index,
21 HAL_NotifyCallback callback,
23 HAL_Bool initialNotify);
24 void HALSIM_CancelPDPInitializedCallback(int32_t index, int32_t uid);
25 HAL_Bool HALSIM_GetPDPInitialized(int32_t index);
26 void HALSIM_SetPDPInitialized(int32_t index, HAL_Bool initialized);
28 int32_t HALSIM_RegisterPDPTemperatureCallback(int32_t index,
29 HAL_NotifyCallback callback,
31 HAL_Bool initialNotify);
32 void HALSIM_CancelPDPTemperatureCallback(int32_t index, int32_t uid);
33 double HALSIM_GetPDPTemperature(int32_t index);
34 void HALSIM_SetPDPTemperature(int32_t index,
double temperature);
36 int32_t HALSIM_RegisterPDPVoltageCallback(int32_t index,
37 HAL_NotifyCallback callback,
38 void* param, HAL_Bool initialNotify);
39 void HALSIM_CancelPDPVoltageCallback(int32_t index, int32_t uid);
40 double HALSIM_GetPDPVoltage(int32_t index);
41 void HALSIM_SetPDPVoltage(int32_t index,
double voltage);
43 int32_t HALSIM_RegisterPDPCurrentCallback(int32_t index, int32_t channel,
44 HAL_NotifyCallback callback,
45 void* param, HAL_Bool initialNotify);
46 void HALSIM_CancelPDPCurrentCallback(int32_t index, int32_t channel,
48 double HALSIM_GetPDPCurrent(int32_t index, int32_t channel);
49 void HALSIM_SetPDPCurrent(int32_t index, int32_t channel,
double current);
51 void HALSIM_RegisterPDPAllNonCurrentCallbacks(int32_t index, int32_t channel,
52 HAL_NotifyCallback callback,
54 HAL_Bool initialNotify);