core/system/target.h File Reference

Go to the source code of this file.

Defines

#define Fosc   12000000
#define Fcclk   (Fosc*5)
#define Fcco   (Fcclk*4)
#define Fpclk   ((Fcclk/4)*4)
#define TARGET_END_OF_RAM   0x40007fff

Functions

void target_init (void)

Detailed Description

System configuration, definitions for Fosc, Fcclk, Fcco & Fpclk.

Definition in file target.h.


Define Documentation

#define Fcclk   (Fosc*5)

System frequency, instruction clock (CCLK). Must be a multiple of Fosc (1-32) and should be <=60 MHz.

Definition at line 40 of file target.h.

#define Fcco   (Fcclk*4)

CCO frequency, PLL output. Must be a multiple of Fcclk (2,4,8 or 16) and in the range of 156-320 MHz.

Definition at line 46 of file target.h.

#define Fosc   12000000

Crystal frequency, must be in range 10-25 MHz.

Definition at line 34 of file target.h.

#define Fpclk   ((Fcclk/4)*4)

VPB clock frequency (PCLK). Must be a multiple of Fcclk/4 (1,2 or 4).

lpcusb library requires that Fpclk be 60 MHz. A lower frequency (15 MHz) would allow for lower power consumption.

Definition at line 55 of file target.h.

#define TARGET_END_OF_RAM   0x40007fff

This is the end of the heap.

Definition at line 60 of file target.h.


Function Documentation

void target_init ( void   ) 

Initialise the processor.

Initialize the target (the processor, get it?).

Definition at line 12 of file target.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Defines

Generated by  doxygen 1.6.2