Subversion Repositories Code-Repo

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 Kevin 1
#ifndef __interrupts_h
2
#define __interrupts_h
3
 
4
// Note: As the interrupt system is currently setup, at the end
5
//       of each high-priority interrupt, the system will check to
6
//       see if the processor may be put to sleep.  This is done
7
//       with the call sleep_high_interrupt_if_okay() which is defined
8
//       in msg_queues.h -- init_queues() MUST be called prior to
9
//       enabling interrupts if sleep_high_interrupt_if_okay() is called!
10
 
11
// Initialize the interrupts
151 Kevin 12
void Interrupt_Init(void);
119 Kevin 13
 
14
// enable the interrupts (high and low priority)
151 Kevin 15
void Interrupt_Enable(void);
119 Kevin 16
 
151 Kevin 17
void Interrupt_Disable(void);
119 Kevin 18
 
19
#endif