Subversion Repositories Code-Repo

Rev

Rev 156 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
156 Kevin 1
#ifndef INTERRUPTS_H
2
#define INTERRUPTS_H
119 Kevin 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
 
154 Kevin 14
// Enable the interrupts (high and low priority)
151 Kevin 15
void Interrupt_Enable(void);
16
void Interrupt_Disable(void);
119 Kevin 17
 
18
#endif