Home | History | Annotate | Download | only in m68hc11

Lines Matching defs:interrupts

0 /* interrupts.h -- 68HC11 Interrupts Emulation
23 /* Definition of 68HC11 interrupts. These enum are used as an index
84 This is used to understand in which order interrupts were
100 /* Information and control of pending interrupts. */
114 /* Management of 68HC11 interrupts:
115 - We use a table of 'interrupt_def' to describe the interrupts that must be
117 - We keep a mask of pending interrupts. This mask is refreshed by
121 first it maintains a min/max count of CPU cycles between which interrupts
122 are masked; second it checks for pending interrupts and raise one if
123 interrupts are enabled. */
124 struct interrupts {
127 /* Mask of current pending interrupts. */
134 /* Priority order of interrupts. This is controlled by setting the HPRIO
137 struct interrupt interrupts[M6811_INT_NUMBER];
141 /* - Max/Min number of CPU cycles executed with interrupts masked. */
153 /* - Total number of interrupts raised. */
156 /* Interrupt history to help understand which interrupts
163 extern void interrupts_reset (struct interrupts* interrupts);
164 extern void interrupts_update_pending (struct interrupts* interrupts);
165 extern int interrupts_get_current (struct interrupts* interrupts);
166 extern int interrupts_process (struct interrupts* interrupts);
167 extern void interrupts_raise (struct interrupts* interrupts,
171 struct interrupts* interrupts);