23 #ifndef M4_ADV_R_ADV_TRIGGER_H 24 #define M4_ADV_R_ADV_TRIGGER_H 26 #include "m4/m4_types.h" 27 #include "m4/adv_r/adv.h" 31 constexpr
int NO_TRIGGER = -1;
32 constexpr
int TENTH_SECOND = 6;
33 constexpr
int MAX_TIMERS = 32;
36 int32 _time_q[MAX_TIMERS];
37 int32 _time_trigger_q[MAX_TIMERS];
38 int32 _time_q_end = 0;
40 int32 _sound_trigger_q[MAX_TIMERS];
55 int32 kernel_trigger_create_mode(int32 trigger_num, int32 desired_mode);
64 bool kernel_trigger_dispatch_now(int32 trigger_num);
65 void kernel_timing_trigger(int32 ticks, int16 trigger,
const char *name =
nullptr);
66 void kernel_timing_trigger_daemon(int32 ticks, int16 trigger);
67 void kernel_timing_trigger(int32 ticks, int16 trigger,
68 KernelTriggerType preMode, KernelTriggerType postMode);
70 void cisco_dispatch_triggers();
71 void cisco_clear_triggers();
72 void kernel_service_timing_trigger_q();
bool kernel_trigger_dispatchx(int32 trigger_num)
Definition: database.h:28
Definition: adv_trigger.h:35
int32 kernel_trigger_create(int32 trigger_num)