/*********************************************************************
*
* Compiler specifics like clockspeed and portIOs.
*
*********************************************************************
* FileName: $HeadURL: https://svn.auml.se/svn/HomeAutomation/branches/modules/EmbeddedSoftware/PIC/canNode/Include/compiler.h $
* Last changed: $LastChangedDate: 2006-11-18 14:34:39 +0100 (Sat, 18 Nov 2006) $
* By: $LastChangedBy: johboh $
* Revision: $Revision: 120 $
********************************************************************/
#ifndef COMPILER_H
#define COMPILER_H
#include <p18cxxx.h>
#define CLOCK_FREQ (40000000) // Hz
#define INSTR_FREQ (CLOCK_FREQ/4)
#define CLOCK_FOSC (40) // MHz
#define LED0_TRIS (TRISCbits.TRISC1)
#define LED0_IO (PORTCbits.RC1)
#endif //compiler.h