Subversion Repositories Code-Repo

Compare Revisions

Ignore whitespace Rev 156 → Rev 157

/PIC Stuff/PICX_27J13/interrupts.c
5,14 → 5,6
#include "i2c.h"
#include "timers.h"
 
//----------------------------------------------------------------------------
// Note: This code for processing interrupts is configured to allow for high and
// low priority interrupts. The high priority interrupt can interrupt the
// the processing of a low priority interrupt. However, only one of each type
// can be processed at the same time. It is possible to enable nesting of low
// priority interrupts, but this code is not setup for that and this nesting
// is not enabled.
 
void Interrupt_Init() {
// Peripheral interrupts can have their priority set to high or low
// Decide on the priority of the enabled peripheral interrupts (0 is low, 1 is high)