target.h
Go to the documentation of this file.
00001 /*****************************************************************************
00002  *   target.h:  Header file for Philips LPC214x Family Microprocessors
00003  *
00004  *   Copyright(C) 2006, Philips Semiconductor
00005  *   All rights reserved.
00006  *
00007  *   History
00008  *   2005.10.01  ver 1.00    Prelimnary version, first Release
00009  *
00010 ******************************************************************************/
00011 #ifndef __TARGET_H 
00012 #define __TARGET_H
00013 
00014 #ifdef __cplusplus
00015    extern "C" {
00016 #endif
00017 
00018 /* System configuration: Fosc, Fcclk, Fcco, Fpclk must be defined */
00019 /* Crystal frequence,10MHz~25MHz should be the same as actual status. */
00020 #define Fosc    12000000
00021 
00022 /* System frequence,should be (1~32)multiples of Fosc,and should be equal or 
00023 less than 60MHz. */
00024 #define Fcclk   (Fosc * 5)
00025 
00026 /* CCO frequence,should be 2/4/8/16 multiples of Fcclk, ranged from 156MHz to 
00027 320MHz. */
00028 #define Fcco    (Fcclk * 4)
00029 
00030 /* VPB clock frequence , must be 1/2/4 multiples of (Fcclk / 4). */
00031 #define Fpclk   (Fcclk / 4) * 1
00032 
00033 extern void TargetInit(void);
00034 extern void TargetResetInit(void);
00035 
00036 #ifdef __cplusplus
00037    }
00038 #endif
00039  
00040 #endif /* end __TARGET_H */
00041 /******************************************************************************
00042 **                            End Of File
00043 ******************************************************************************/


asctec_hl_firmware
Author(s): Markus Achtelik, Michael Achtelik, Stephan Weiss, Laurent Kneip
autogenerated on Tue Dec 17 2013 11:39:27