hardware.h File Reference

This file contains basic hardware definitions as for example the clock frequency of the used hardware. More...

Go to the source code of this file.

Defines

#define KHz   *1e+3
#define MHz   *1e+6
#define CPU_CLOCK_MHZ   96
 main clock frequency in MHz.
#define CPUDIV   2
 this check CONFIG1L CPUDIV1:CPUDIV0
#define FOSC_SCALE   (4*CPUDIV)


Detailed Description

This file contains basic hardware definitions as for example the clock frequency of the used hardware.

Definition in file hardware.h.


Define Documentation

#define CPU_CLOCK_MHZ   96
 

main clock frequency in MHz.

This may depend on the implementation of your mother board and the configuration this is either 20Mhz for an external clock or 96Mhz for the internal PLL.

Definition at line 36 of file hardware.h.


Generated on Mon Sep 29 19:56:48 2008 for mKernel by  doxygen 1.4.6