12 #include "hal/Types.h"
25 HAL_Trigger_kInWindow = 0,
26 HAL_Trigger_kState = 1,
27 HAL_Trigger_kRisingPulse = 2,
28 HAL_Trigger_kFallingPulse = 3
43 HAL_AnalogInputHandle portHandle, int32_t* status);
50 HAL_DutyCycleHandle dutyCycleHandle, int32_t* status);
71 int32_t lower, int32_t upper,
84 HAL_AnalogTriggerHandle analogTriggerHandle,
double lower,
double upper,
87 void HAL_SetAnalogTriggerLimitsDutyCycle(
88 HAL_AnalogTriggerHandle analogTriggerHandle,
double lower,
double upper,
104 HAL_Bool useAveragedValue, int32_t* status);
120 HAL_Bool useFilteredValue, int32_t* status);
131 HAL_AnalogTriggerHandle analogTriggerHandle, int32_t* status);
144 HAL_AnalogTriggerHandle analogTriggerHandle, int32_t* status);
154 HAL_AnalogTriggerType type,
164 HAL_AnalogTriggerHandle analogTriggerHandle, int32_t* status);
void HAL_SetAnalogTriggerLimitsVoltage(HAL_AnalogTriggerHandle analogTriggerHandle, double lower, double upper, int32_t *status)
Sets the upper and lower limits of the analog trigger.
void HAL_CleanAnalogTrigger(HAL_AnalogTriggerHandle analogTriggerHandle, int32_t *status)
Frees an analog trigger.
HAL_Bool HAL_GetAnalogTriggerInWindow(HAL_AnalogTriggerHandle analogTriggerHandle, int32_t *status)
Returns the InWindow output of the analog trigger.
HAL_ENUM(HAL_AnalogTriggerType)
The type of analog trigger to trigger on.
Definition: AnalogTrigger.h:24
int32_t HAL_GetAnalogTriggerFPGAIndex(HAL_AnalogTriggerHandle analogTriggerHandle, int32_t *status)
Get the FPGA index for the AnlogTrigger.
void HAL_SetAnalogTriggerLimitsRaw(HAL_AnalogTriggerHandle analogTriggerHandle, int32_t lower, int32_t upper, int32_t *status)
Sets the raw ADC upper and lower limits of the analog trigger.
HAL_AnalogTriggerHandle HAL_InitializeAnalogTriggerDutyCycle(HAL_DutyCycleHandle dutyCycleHandle, int32_t *status)
Initializes an analog trigger with a Duty Cycle input.
void HAL_SetAnalogTriggerFiltered(HAL_AnalogTriggerHandle analogTriggerHandle, HAL_Bool useFilteredValue, int32_t *status)
Configures the analog trigger to use a filtered value.
void HAL_SetAnalogTriggerAveraged(HAL_AnalogTriggerHandle analogTriggerHandle, HAL_Bool useAveragedValue, int32_t *status)
Configures the analog trigger to use the averaged vs.
HAL_Bool HAL_GetAnalogTriggerOutput(HAL_AnalogTriggerHandle analogTriggerHandle, HAL_AnalogTriggerType type, int32_t *status)
Gets the state of the analog trigger output.
HAL_AnalogTriggerHandle HAL_InitializeAnalogTrigger(HAL_AnalogInputHandle portHandle, int32_t *status)
Initializes an analog trigger.
HAL_Bool HAL_GetAnalogTriggerTriggerState(HAL_AnalogTriggerHandle analogTriggerHandle, int32_t *status)
Returns the TriggerState output of the analog trigger.