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
44 HAL_AnalogInputHandle portHandle, int32_t* index, int32_t* status);
64 int32_t lower, int32_t upper,
77 HAL_AnalogTriggerHandle analogTriggerHandle,
double lower,
double upper,
90 HAL_Bool useAveragedValue, int32_t* status);
104 HAL_Bool useFilteredValue, int32_t* status);
115 HAL_AnalogTriggerHandle analogTriggerHandle, int32_t* status);
128 HAL_AnalogTriggerHandle analogTriggerHandle, int32_t* status);
138 HAL_AnalogTriggerType type,
HAL_Bool HAL_GetAnalogTriggerInWindow(HAL_AnalogTriggerHandle analogTriggerHandle, int32_t *status)
Returns the InWindow output of the analog trigger.
HAL_Bool HAL_GetAnalogTriggerTriggerState(HAL_AnalogTriggerHandle analogTriggerHandle, int32_t *status)
Returns the TriggerState output of the analog trigger.
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.
void HAL_SetAnalogTriggerLimitsVoltage(HAL_AnalogTriggerHandle analogTriggerHandle, double lower, double upper, int32_t *status)
Sets the upper and lower limits of the analog trigger.
HAL_AnalogTriggerHandle HAL_InitializeAnalogTrigger(HAL_AnalogInputHandle portHandle, int32_t *index, int32_t *status)
Initializes an analog trigger.
HAL_Bool HAL_GetAnalogTriggerOutput(HAL_AnalogTriggerHandle analogTriggerHandle, HAL_AnalogTriggerType type, int32_t *status)
Gets the state of the analog trigger output.
void HAL_SetAnalogTriggerAveraged(HAL_AnalogTriggerHandle analogTriggerHandle, HAL_Bool useAveragedValue, int32_t *status)
Configures the analog trigger to use the averaged vs.
void HAL_SetAnalogTriggerFiltered(HAL_AnalogTriggerHandle analogTriggerHandle, HAL_Bool useFilteredValue, int32_t *status)
Configures the analog trigger to use a filtered value.
HAL_ENUM(HAL_AnalogTriggerType)
The type of analog trigger to trigger on.
Definition: AnalogTrigger.h:24
void HAL_CleanAnalogTrigger(HAL_AnalogTriggerHandle analogTriggerHandle, int32_t *status)
Frees an analog trigger.