Logo
Explore Help
Register Sign In
Team2890/allwpilib
4
0
Fork 0
You've already forked allwpilib
mirror of https://github.com/wpilibsuite/allwpilib synced 2026-06-21 01:01:43 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
c2ecffe7086b5889c8ad35a6230e2b4e7affcf52
allwpilib/hal/include/HAL/Notifier.hpp

12 lines
299 B
C++
Raw Normal View History

Reverting back to static .a files for C++ and fixing lots of other assorted items
2014-05-02 17:54:01 -04:00
#pragma once
#include <stdint.h>
extern "C"
{
HAL: Add support for multiple Notifiers. This is a poor man's version of the multi-instance Notifier support in the higher level languages. It's intended primarily so that notifiers can be created internal to the HAL. One benefit of this change is that the current FPGA timestamp is passed as the first parameter to the ProcessQueue function (rather than the useless interrupt mask). Caution for other languages wrapping the HAL: this adds a parameter to initializeNotifier(). An atexit hook is used for safe cleanup at program termination. Change-Id: I782b3a74c10215588ae9b7191906fb4186a81028
2015-11-21 22:17:11 -08:00
void* initializeNotifier(void (*ProcessQueue)(uint32_t, void*), void* param, int32_t *status);
Reverting back to static .a files for C++ and fixing lots of other assorted items
2014-05-02 17:54:01 -04:00
void cleanNotifier(void* notifier_pointer, int32_t *status);
void updateNotifierAlarm(void* notifier_pointer, uint32_t triggerTime, int32_t *status);
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 51ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API