Subversion Repositories Code-Repo

Compare Revisions

Ignore whitespace Rev 119 → Rev 151

/PIC Stuff/PIC_27J13/interrupts.h/interrupts.h
9,21 → 9,11
// enabling interrupts if sleep_high_interrupt_if_okay() is called!
 
// Initialize the interrupts
void interrupt_init(void);
void Interrupt_Init(void);
 
// enable the interrupts (high and low priority)
void interrupt_enable(void);
void Interrupt_Enable(void);
 
// Are we calling from a high-priority interrupt?
int interrupt_in_high_interrupt_routine(void);
void Interrupt_Disable(void);
 
// Is a low-priority interrupt active?
int interrupt_low_int_active(void);
 
// Are we calling from a low-priority interrupt?
int interrupt_in_low_interrupt_routine(void);
 
// Are we calling this from the "main" routine (i.e., not an interrrupt handler?)
int interrupt_in_main_routine(void);
 
#endif