📄 target.h
字号:
/****************************************Copyright (c)****************************************************
** Guangzhou ZHIYUAN electronics Co.,LTD.
**
** http://www.embedtools.com
**
**--------------File Info---------------------------------------------------------------------------------
** File Name: Target.h
** Last modified Date: 2007.12.12
** Last Version: v1.0
** Description: Header file of the target board 目标板头文件
**
**--------------------------------------------------------------------------------------------------------
** Created By: Steven Zhou 周绍刚
** Created date: 2007.12.12
** Version: v1.0
** Descriptions: The original version 初始版本
**
**--------------------------------------------------------------------------------------------------------
** Modified by: Kang qinhua
** Modified date: 2008.01.02
** Version: v1.1
** Description: The second version 第二版
**
*********************************************************************************************************/
#ifndef __TARGET_H
#define __TARGET_H
#ifdef __cplusplus
extern "C" {
#endif
/*********************************************************************************************************
System Clock(CCLK) Setting 系统时钟(CCLK) 设定
CCLK must be less than or equal to 20MHz/50MHz(depend on the max. cclk of the CPU)
CCLK必须小于或等于20MHz/50MHz(根据单片机的最大CCLK而定)
If PLL_EN=0, CCLK=EXT_CLK/CCLK_DIV, CCLK must <=20MHZ/50MHz
If PLL_EN>0, CCLK=200MHz/CCLK_DIV, CCLK must <=20MHZ/50MHz
*********************************************************************************************************/
#define EXT_CLK SYSCTL_XTAL_6MHZ /* external clock 外部时钟 */
#define PLL_EN 0 /* 1:Enable PLL 使能PLL */
#define CCLK_DIV SYSCTL_SYSDIV_1 /* CCLK divider CCLK分频系数 */
/*********************************************************************************************************
** Function name: tickISRHandler
** Descriptions: Timeout interrupt handler of system timer 系统定时器超时中断
** Input parameters: None 无
** Output parameters: None 无
** Returned value: None 无
** Created by: Steven Zhou 周绍刚
** Created Date: 2007.12.12
**--------------------------------------------------------------------------------------------------------
** Modified by:
** Modified date:
**--------------------------------------------------------------------------------------------------------
*********************************************************************************************************/
extern void tickISRHandler(void);
/*********************************************************************************************************
** Function name: targetInit
** Descriptions: Initialize the target board 初始化目标板
** Input parameters: None 无
** Output parameters: None 无
** Returned value: None 无
** Created by: Steven Zhou 周绍刚
** Created Date: 2007.12.12
**--------------------------------------------------------------------------------------------------------
** Modified by:
** Modified date:
**--------------------------------------------------------------------------------------------------------
*********************************************************************************************************/
extern void targetInit(void);
#ifdef __cplusplus
}
#endif
#endif
/*********************************************************************************************************
END FILE
*********************************************************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -