//////////////////////////////////////////////////////////////////////////////////////////// // File: config.h // This code is provided by Dr. Robert Reese. // We thank him for the use of it. // // //////////////////////////////////////////////////////////////////////////////////////////// __CONFIG(1,HSPLL); __CONFIG(2, BORDIS & PWRTDIS & WDTDIS); __CONFIG(4, DEBUGDIS & LVPDIS); // some common defines #define bitset(var,bitno) ((var) |= (1 << (bitno))) #define bitclr(var,bitno) ((var) &= ~(1 << (bitno))) #define bittst(var,bitno) (var & (1 << (bitno)))