12 #include "hal/AnalogTrigger.h"
13 #include "hal/Types.h"
19 typedef void (*HAL_InterruptHandlerFunction)(uint32_t interruptAssertedMask,
28 HAL_InterruptHandle HAL_InitializeInterrupts(HAL_Bool watcher, int32_t* status);
37 void* HAL_CleanInterrupts(HAL_InterruptHandle interruptHandle, int32_t* status);
48 int64_t HAL_WaitForInterrupt(HAL_InterruptHandle interruptHandle,
49 double timeout, HAL_Bool ignorePrevious,
61 void HAL_EnableInterrupts(HAL_InterruptHandle interruptHandle, int32_t* status);
68 void HAL_DisableInterrupts(HAL_InterruptHandle interruptHandle,
79 double HAL_ReadInterruptRisingTimestamp(HAL_InterruptHandle interruptHandle,
90 double HAL_ReadInterruptFallingTimestamp(HAL_InterruptHandle interruptHandle,
101 void HAL_RequestInterrupts(HAL_InterruptHandle interruptHandle,
102 HAL_Handle digitalSourceHandle,
103 HAL_AnalogTriggerType analogTriggerType,
116 void HAL_AttachInterruptHandler(HAL_InterruptHandle interruptHandle,
117 HAL_InterruptHandlerFunction handler,
118 void* param, int32_t* status);
130 void HAL_AttachInterruptHandlerThreaded(HAL_InterruptHandle interruptHandle,
131 HAL_InterruptHandlerFunction handler,
132 void* param, int32_t* status);
143 void HAL_SetInterruptUpSourceEdge(HAL_InterruptHandle interruptHandle,
144 HAL_Bool risingEdge, HAL_Bool fallingEdge,