12 #include "hal/Types.h"
79 void HAL_SetSolenoid(HAL_SolenoidHandle solenoidPortHandle, HAL_Bool value,
128 int32_t durMS, int32_t* status);
137 void HAL_FireOneShot(HAL_SolenoidHandle solenoidPortHandle, int32_t* status);
HAL_Bool HAL_CheckSolenoidModule(int32_t module)
Checks if a solenoid module is in the valid range.
void HAL_SetOneShotDuration(HAL_SolenoidHandle solenoidPortHandle, int32_t durMS, int32_t *status)
Sets the one shot duration on a solenoid channel.
void HAL_SetAllSolenoids(int32_t module, int32_t state, int32_t *status)
Sets all channels on a specific module.
void HAL_SetSolenoid(HAL_SolenoidHandle solenoidPortHandle, HAL_Bool value, int32_t *status)
Sets a solenoid output value.
void HAL_FreeSolenoidPort(HAL_SolenoidHandle solenoidPortHandle)
Frees a solenoid port.
HAL_SolenoidHandle HAL_InitializeSolenoidPort(HAL_PortHandle portHandle, int32_t *status)
Initializes a solenoid port.
void HAL_FireOneShot(HAL_SolenoidHandle solenoidPortHandle, int32_t *status)
Fires a single pulse on a solenoid channel.
void HAL_ClearAllPCMStickyFaults(int32_t module, int32_t *status)
Clears all faults on a module.
int32_t HAL_GetPCMSolenoidBlackList(int32_t module, int32_t *status)
Gets the channels blacklisted from being enabled on a module.
HAL_Bool HAL_GetPCMSolenoidVoltageFault(int32_t module, int32_t *status)
Gets if a specific module has an over or under voltage fault.
int32_t HAL_GetAllSolenoids(int32_t module, int32_t *status)
Gets the status of all solenoids on a specific module.
HAL_Bool HAL_CheckSolenoidChannel(int32_t channel)
Checks if a solenoid channel is in the valid range.
HAL_Bool HAL_GetPCMSolenoidVoltageStickyFault(int32_t module, int32_t *status)
Gets if a specific module has an over or under voltage sticky fault.
HAL_Bool HAL_GetSolenoid(HAL_SolenoidHandle solenoidPortHandle, int32_t *status)
Gets the current solenoid output value.