target.h
来自「LPC2102的keil vendor code」· C头文件 代码 · 共 43 行
H
43 行
/*****************************************************************************
* target.h: Header file for NXP LPC210x Family Microprocessors
*
* Copyright(C) 2006, NXP Semiconductor
* All rights reserved.
*
* History
* 2005.10.01 ver 1.00 Prelimnary version, first Release
*
******************************************************************************/
#ifndef __TARGET_H
#define __TARGET_H
#ifdef __cplusplus
extern "C" {
#endif
/* System configuration: Fosc, Fcclk, Fcco, Fpclk must be defined */
/* Crystal frequence,10MHz~25MHz should be the same as actual status. */
#define Fosc 12000000
/* System frequence,should be (1~32)multiples of Fosc,and should be equal or
less than 60MHz. */
#define Fcclk (Fosc * 5)
/* CCO frequence,should be 2/4/8/16 multiples of Fcclk, ranged from 156MHz to
320MHz. */
#define Fcco (Fcclk * 4)
/* VPB clock frequence , must be 1/2/4 multiples of (Fcclk / 4). */
#define Fpclk (Fcclk / 4) * 1
extern void TargetInit(void);
#ifdef __cplusplus
}
#endif
#endif /* end __TARGET_H */
/******************************************************************************
** End Of File
******************************************************************************/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?