![]() |
WPILibC++ 2025.3.2
|
Go to the source code of this file.
Functions | |
| HAL_InterruptHandle | HAL_InitializeInterrupts (int32_t *status) |
| Initializes an interrupt. | |
| void | HAL_CleanInterrupts (HAL_InterruptHandle interruptHandle) |
| Frees an interrupt. | |
| int64_t | HAL_WaitForInterrupt (HAL_InterruptHandle interruptHandle, double timeout, HAL_Bool ignorePrevious, int32_t *status) |
| Waits for the defined interrupt to occur. | |
| int64_t | HAL_WaitForMultipleInterrupts (HAL_InterruptHandle interruptHandle, int64_t mask, double timeout, HAL_Bool ignorePrevious, int32_t *status) |
| Waits for any interrupt covered by the mask to occur. | |
| int64_t | HAL_ReadInterruptRisingTimestamp (HAL_InterruptHandle interruptHandle, int32_t *status) |
| Returns the timestamp for the rising interrupt that occurred most recently. | |
| int64_t | HAL_ReadInterruptFallingTimestamp (HAL_InterruptHandle interruptHandle, int32_t *status) |
| Returns the timestamp for the falling interrupt that occurred most recently. | |
| void | HAL_RequestInterrupts (HAL_InterruptHandle interruptHandle, HAL_Handle digitalSourceHandle, HAL_AnalogTriggerType analogTriggerType, int32_t *status) |
| Requests interrupts on a specific digital source. | |
| void | HAL_SetInterruptUpSourceEdge (HAL_InterruptHandle interruptHandle, HAL_Bool risingEdge, HAL_Bool fallingEdge, int32_t *status) |
| Sets the edges to trigger the interrupt on. | |
| void | HAL_ReleaseWaitingInterrupt (HAL_InterruptHandle interruptHandle, int32_t *status) |
| Releases a waiting interrupt. | |