Subversion Repositories Code-Repo

Rev

Rev 119 | Rev 154 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef __interrupts_h
#define __interrupts_h

// Note: As the interrupt system is currently setup, at the end
//       of each high-priority interrupt, the system will check to
//       see if the processor may be put to sleep.  This is done
//       with the call sleep_high_interrupt_if_okay() which is defined
//       in msg_queues.h -- init_queues() MUST be called prior to
//       enabling interrupts if sleep_high_interrupt_if_okay() is called!

// Initialize the interrupts
void Interrupt_Init(void);

// enable the interrupts (high and low priority)
void Interrupt_Enable(void);

void Interrupt_Disable(void);

#endif