12 #ifndef HAL_USE_LABVIEW
14 #include "hal/Accelerometer.h"
15 #include "hal/AnalogAccumulator.h"
16 #include "hal/AnalogGyro.h"
17 #include "hal/AnalogInput.h"
18 #include "hal/AnalogOutput.h"
19 #include "hal/AnalogTrigger.h"
21 #include "hal/Compressor.h"
22 #include "hal/Constants.h"
23 #include "hal/Counter.h"
25 #include "hal/DriverStation.h"
26 #include "hal/Errors.h"
28 #include "hal/Interrupts.h"
29 #include "hal/Notifier.h"
32 #include "hal/Ports.h"
33 #include "hal/Power.h"
34 #include "hal/Relay.h"
36 #include "hal/SerialPort.h"
37 #include "hal/Solenoid.h"
39 #endif // HAL_USE_LABVIEW
41 #include "hal/Types.h"
44 #include "UsageReporting.h"
50 HAL_ENUM(HAL_RuntimeType) { HAL_Athena, HAL_Mock };
63 const char* HAL_GetErrorMessage(int32_t code);
72 int32_t HAL_GetFPGAVersion(int32_t* status);
84 int64_t HAL_GetFPGARevision(int32_t* status);
86 HAL_RuntimeType HAL_GetRuntimeType(
void);
93 HAL_Bool HAL_GetFPGAButton(int32_t* status);
100 HAL_Bool HAL_GetSystemActive(int32_t* status);
107 HAL_Bool HAL_GetBrownedOut(int32_t* status);
117 void HAL_BaseInitialize(int32_t* status);
119 #ifndef HAL_USE_LABVIEW
129 HAL_PortHandle HAL_GetPort(int32_t channel);
143 HAL_PortHandle HAL_GetPortWithModule(int32_t module, int32_t channel);
151 uint64_t HAL_GetFPGATime(int32_t* status);
177 HAL_Bool HAL_Initialize(int32_t timeout, int32_t mode);
190 int64_t HAL_Report(int32_t resource, int32_t instanceNumber,
191 int32_t context = 0,
const char* feature =
nullptr);
203 int64_t HAL_Report(int32_t resource, int32_t instanceNumber, int32_t context,
204 const char* feature);
207 #endif // HAL_USE_LABVIEW
Definition: UsageReporting.h:18