Subversion Repositories Code-Repo

Rev

Rev 119 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 119 Rev 151
Line 7... Line 7...
7
//       with the call sleep_high_interrupt_if_okay() which is defined
7
//       with the call sleep_high_interrupt_if_okay() which is defined
8
//       in msg_queues.h -- init_queues() MUST be called prior to
8
//       in msg_queues.h -- init_queues() MUST be called prior to
9
//       enabling interrupts if sleep_high_interrupt_if_okay() is called!
9
//       enabling interrupts if sleep_high_interrupt_if_okay() is called!
10
 
10
 
11
// Initialize the interrupts
11
// Initialize the interrupts
12
void interrupt_init(void);
12
void Interrupt_Init(void);
13
 
13
 
14
// enable the interrupts (high and low priority)
14
// enable the interrupts (high and low priority)
15
void interrupt_enable(void);
15
void Interrupt_Enable(void);
16
 
16
 
17
// Are we calling from a high-priority interrupt?
-
 
18
int interrupt_in_high_interrupt_routine(void);
-
 
19
 
-
 
20
// Is a low-priority interrupt active?
-
 
21
int interrupt_low_int_active(void);
17
void Interrupt_Disable(void);
22
 
-
 
23
// Are we calling from a low-priority interrupt?
-
 
24
int interrupt_in_low_interrupt_routine(void);
-
 
25
 
-
 
26
// Are we calling this from the "main" routine (i.e., not an interrrupt handler?)
-
 
27
int interrupt_in_main_routine(void);
-
 
28
 
18
 
29
#endif
19
#endif