mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-04 03:11:43 +00:00
Renames all our .hpp HAL files to .h (#44)
Adds consistency, as the HAL was .hpp however all other code was .h.
This commit is contained in:
committed by
Peter Johnson
parent
248ca0c4a0
commit
8fc55c80a9
19
hal/include/HAL/Solenoid.h
Normal file
19
hal/include/HAL/Solenoid.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
extern "C" {
|
||||
void* initializeSolenoidPort(void* port_pointer, int32_t* status);
|
||||
void freeSolenoidPort(void* solenoid_port_pointer);
|
||||
bool checkSolenoidModule(uint8_t module);
|
||||
|
||||
bool getSolenoid(void* solenoid_port_pointer, int32_t* status);
|
||||
uint8_t getAllSolenoids(void* solenoid_port_pointer, int32_t* status);
|
||||
void setSolenoid(void* solenoid_port_pointer, bool value, int32_t* status);
|
||||
|
||||
int getPCMSolenoidBlackList(void* solenoid_port_pointer, int32_t* status);
|
||||
bool getPCMSolenoidVoltageStickyFault(void* solenoid_port_pointer,
|
||||
int32_t* status);
|
||||
bool getPCMSolenoidVoltageFault(void* solenoid_port_pointer, int32_t* status);
|
||||
void clearAllPCMStickyFaults_sol(void* solenoid_port_pointer, int32_t* status);
|
||||
}
|
||||
Reference in New Issue
Block a user