📄 config.h
字号:
/*******************************************************************************************************
** 西安傅立叶电子科技
** Xian FFT Electornic Technology
** http://www.fftchina.com
********************************************************************************************************/
// Descriptions: User Configurable File
#ifndef __CONFIG_H
#define __CONFIG_H
//This segment should not be modified
#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;
#define USER_USING_MODE 0x10 /* User mode ,ARM 32BITS CODE */
/* Chosen one from 0x10,0x30,0x1f,0x3f.*/
#include "Includes.h"
//This segment should not be modify
#include "LPC2294.h"
//This segment could be modified as needed.
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include <setjmp.h>
#include <rt_misc.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"
#include "..\Arm_Pc\pc.h"
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -