/*********************************************************************
*
* Compiler specifics like clockspeed and portIOs.
*
*********************************************************************
* FileName: $HeadURL: https://svn.auml.se/svn/HomeAutomation/branches/hwid/EmbeddedSoftware/PIC/canIRtrans/Include/compiler.h $
* Last changed: $LastChangedDate: 2006-11-20 17:54:03 +0100 (Mon, 20 Nov 2006) $
* By: $LastChangedBy: johboh $
* Revision: $Revision: 129 $
********************************************************************/
#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