⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.h

📁 LPC21XX系列开发板测试原代码,包括FLASH电源管理MODEMKEY等驱动程序
💻 H
字号:
/*******************************************************************************************************
**                                     西安傅立叶电子科技
**                                Xian FFT Electornic Technology
**                                   http://www.fftchina.com
********************************************************************************************************/

#ifndef __CONFIG_H 
#define __CONFIG_H

#ifndef TRUE
#define TRUE  1
#endif

#ifndef FALSE
#define FALSE 0
#endif

typedef unsigned char  uint8;
typedef signed   char  int8;
typedef unsigned short uint16;
typedef signed   short int16;
typedef unsigned int   uint32;
typedef signed   int   int32;
typedef float          fp32;
typedef double         fp64;

#include    "LPC2294.h"

/* System configuration .Fosc、Fcclk、Fcco、Fpclk must be defined */

#define Fosc            11059200                    // Crystal frequence,10MHz~25MHz,should be the same as actual status. 
#define Fcclk           (Fosc * 4)                  // System frequence,should be (1~32)multiples of Fosc,and should be equal or less  than 60MHz. 
#define Fcco            (Fcclk * 4)                 // CCO frequence,should be 2、4、8、16 multiples of Fcclk, ranged from 156MHz to 320MHz. 
#define Fpclk           (Fcclk / 4) * 1             // VPB clock frequence , must be 1、2、4 multiples of (Fcclk / 4).

#include    "target.h"															// This line may not be deleted
#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -