18 #ifndef _XENOMAI_ALCHEMY_ALARM_H 19 #define _XENOMAI_ALCHEMY_ALARM_H 22 #include <alchemy/timer.h> 23 #include <alchemy/compat.h> 34 typedef struct RT_ALARM RT_ALARM;
51 char name[XNOBJECT_NAME_LEN];
66 void (*handler)(
void *arg),
int rt_alarm_inquire(RT_ALARM *alarm, RT_ALARM_INFO *info)
Query alarm status.
Definition: alarm.c:392
int rt_alarm_stop(RT_ALARM *alarm)
Stop an alarm.
Definition: alarm.c:352
unsigned long expiries
Number of past expiries.
Definition: alarm.h:47
Alarm status descriptor.
Definition: alarm.h:43
int rt_alarm_start(RT_ALARM *alarm, RTIME value, RTIME interval)
Start an alarm.
Definition: alarm.c:313
char name[XNOBJECT_NAME_LEN]
Name of alarm object.
Definition: alarm.h:51
int rt_alarm_create(RT_ALARM *alarm, const char *name, void(*handler)(void *arg), void *arg)
Create an alarm object.
Definition: alarm.c:173
int active
Active flag.
Definition: alarm.h:55
int rt_alarm_delete(RT_ALARM *alarm)
Delete an alarm.
Definition: alarm.c:250