config.h

来自「hreadx实时嵌入式操作系统源代码,ARM移植. threadx是一个很好的多」· C头文件 代码 · 共 39 行

H
39
字号
/**************************************************************************/ 
/*                                                                        */ 
/*      only for 32bit mode and dosn't support interrupt nesting          */
/*                                                                        */  
/* File name:               threadX_cpu.c								  */
/* Last modified Date:      2008-03-28									  */
/* Last Version:            0.01										  */
/* Descriptions:            											  */
/* QQ:                      307102293									  */
/* ENAIL:                   wodexinxiang1949@163.com                      */
/*                                                                        */
/**************************************************************************/
#ifndef __CONFIG_H
#define __CONFIG_H

/**************************************************************************/
/*      necessary header file                                             */ 
/**************************************************************************/
#include "2440addr.h"
#include "target.h"
#include "tx_api.h"
#include "threadX_cpu.h"
#include "stdio.h"

/**************************************************************************/
/*      CLOCK config                                                      */ 
/**************************************************************************/
#define OSC_CLK     11059200

#define FCCLK       (OSC_CLK    * 4)
#define FCLKO       (FCCLK      * 4)
#define FPCLK       (FCCLK      / 4)

#endif

/**************************************************************************/
/*     end of file                                                        */ 
/**************************************************************************/

⌨️ 快捷键说明

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