WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
NotifierData.h
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5#pragma once
6
7#include "wpi/hal/Types.h"
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
20
22
24
25/**
26 * Gets detailed information about each notifier.
27 *
28 * @param arr array of information to be filled
29 * @param size size of arr
30 * @return Number of notifiers; note: may be larger than passed-in size
31 */
32int32_t HALSIM_GetNotifierInfo(struct HALSIM_NotifierInfo* arr, int32_t size);
33
34#ifdef __cplusplus
35} // extern "C"
36#endif
int32_t HALSIM_GetNumNotifiers(void)
uint64_t HALSIM_GetNextNotifierTimeout(void)
int32_t HALSIM_GetNotifierInfo(struct HALSIM_NotifierInfo *arr, int32_t size)
Gets detailed information about each notifier.
HAL_Handle HAL_NotifierHandle
Definition Types.h:43
Definition NotifierData.h:13
uint64_t alarmTime
Definition NotifierData.h:16
uint64_t intervalTime
Definition NotifierData.h:17
char name[64]
Definition NotifierData.h:15
HAL_NotifierHandle handle
Definition NotifierData.h:14
int32_t overrunCount
Definition NotifierData.h:18