10 #ifndef __FRC_ROBORIO__
12 #include "NotifyListener.h"
19 void HALSIM_ResetSPIAccelerometerData(int32_t index);
20 int32_t HALSIM_RegisterSPIAccelerometerActiveCallback(
21 int32_t index, HAL_NotifyCallback callback,
void* param,
22 HAL_Bool initialNotify);
23 void HALSIM_CancelSPIAccelerometerActiveCallback(int32_t index, int32_t uid);
24 HAL_Bool HALSIM_GetSPIAccelerometerActive(int32_t index);
25 void HALSIM_SetSPIAccelerometerActive(int32_t index, HAL_Bool active);
27 int32_t HALSIM_RegisterSPIAccelerometerRangeCallback(
28 int32_t index, HAL_NotifyCallback callback,
void* param,
29 HAL_Bool initialNotify);
30 void HALSIM_CancelSPIAccelerometerRangeCallback(int32_t index, int32_t uid);
31 int32_t HALSIM_GetSPIAccelerometerRange(int32_t index);
32 void HALSIM_SetSPIAccelerometerRange(int32_t index, int32_t range);
34 int32_t HALSIM_RegisterSPIAccelerometerXCallback(int32_t index,
35 HAL_NotifyCallback callback,
37 HAL_Bool initialNotify);
38 void HALSIM_CancelSPIAccelerometerXCallback(int32_t index, int32_t uid);
39 double HALSIM_GetSPIAccelerometerX(int32_t index);
40 void HALSIM_SetSPIAccelerometerX(int32_t index,
double x);
42 int32_t HALSIM_RegisterSPIAccelerometerYCallback(int32_t index,
43 HAL_NotifyCallback callback,
45 HAL_Bool initialNotify);
46 void HALSIM_CancelSPIAccelerometerYCallback(int32_t index, int32_t uid);
47 double HALSIM_GetSPIAccelerometerY(int32_t index);
48 void HALSIM_SetSPIAccelerometerY(int32_t index,
double y);
50 int32_t HALSIM_RegisterSPIAccelerometerZCallback(int32_t index,
51 HAL_NotifyCallback callback,
53 HAL_Bool initialNotify);
54 void HALSIM_CancelSPIAccelerometerZCallback(int32_t index, int32_t uid);
55 double HALSIM_GetSPIAccelerometerZ(int32_t index);
56 void HALSIM_SetSPIAccelerometerZ(int32_t index,
double z);
58 void HALSIM_RegisterSPIAccelerometerAllCallbcaks(int32_t index,
59 HAL_NotifyCallback callback,
61 HAL_Bool initialNotify);