board.h
来自「NXP LPC系列AMR7的开发程序源码(LCD」· C头文件 代码 · 共 41 行
H
41 行
/***************************************************************************
**
** This file defines the board specific definition
**
** Used with ARM IAR C/C++ Compiler and Assembler.
**
** (c) Copyright IAR Systems 2005
**
** $Revision: 7118 $
**
***************************************************************************/
#include "arm_comm.h"
#ifndef __BOARD_H
#define __BOARD_H
#define LPC2129
/* OSC [MHz] */
#define FOSC (14745600HZ)
/* Core clk [MHz] 24 MHz
When USB engine is used the Core clk must be more that 18MHz */
#define FCCLK (FOSC*2)
#define MAM_STATE TRUE
#define MAM_CONFIG MAM_FULL
#define MAM_CYCLES MAMCycle3
/* Time Precision time [us] */
#define TIMER_PRECISION 1
/* Sys timer tick per seconds */
#define TICK_PER_SECOND 100
#define TIM_0_RES 20UL
#define TIM0_PER(Val) (1000000UL/(Val*TIM_0_RES))
#endif /* __BOARD_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?