Subversion Repositories HomeAutomation

Rev

Rev 141 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 141 Rev 359
Line 2... Line 2...
2
 *
2
 *
3
 *                  Compiler specifics like clockspeed and portIOs.
3
 *                  Compiler specifics like clockspeed and portIOs.
4
 *
4
 *
5
 *********************************************************************
5
 *********************************************************************
6
 * FileName:        $HeadURL: https://svn.auml.se/svn/HomeAutomation/trunk/EmbeddedSoftware/PIC/canFreezer/Include/compiler.h $
6
 * FileName:        $HeadURL: https://svn.auml.se/svn/HomeAutomation/trunk/EmbeddedSoftware/PIC/canFreezer/Include/compiler.h $
7
 * Last changed:    $LastChangedDate: 2006-11-21 10:57:15 +0100 (Tue, 21 Nov 2006) $
7
 * Last changed:    $LastChangedDate: 2007-03-04 15:13:16 +0100 (Sun, 04 Mar 2007) $
8
 * By:              $LastChangedBy: johboh $
8
 * By:              $LastChangedBy: johboh $
9
 * Revision:        $Revision: 141 $
9
 * Revision:        $Revision: 359 $
10
 ********************************************************************/
10
 ********************************************************************/
11
 
11
 
12
#ifndef COMPILER_H
12
#ifndef COMPILER_H
13
#define COMPILER_H
13
#define COMPILER_H
-
 
14
 
-
 
15
#define APP_VERSION 0x0001
14
 
16
 
15
#include <p18cxxx.h>
17
#include <p18cxxx.h>
16
#define CLOCK_FREQ      (40000000)      // Hz
18
#define CLOCK_FREQ      (40000000)      // Hz
17
#define INSTR_FREQ          (CLOCK_FREQ/4)
19
#define INSTR_FREQ          (CLOCK_FREQ/4)
18
#define CLOCK_FOSC      (40)      // MHz
20
#define CLOCK_FOSC      (40)      // MHz