⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 target.h

📁 lm3s下lwip的udp
💻 H
字号:
/****************************************Copyright (c)****************************************************
**                               Guangzhou ZHIYUAN electronics Co.,LTD.
**                                     
**                                 http://www.embedtools.com
**
**--------------File Info---------------------------------------------------------------------------------
** File Name:               Target.h
** Last modified Date:      2008.8.25
** Last Version:            v1.0
** Description:             Header file of the target board  目标板头文件
** 
**--------------------------------------------------------------------------------------------------------
** Created By:             任海波
** Created date:           2008.8.25
** Version:                 v1.0
** Descriptions:            The original 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_8MHZ	                        /*  external clock 外部时钟     */     
#define  PLL_EN      	    1                                           /*  1:Enable PLL  使能PLL      */
#define  CCLK_DIV           SYSCTL_SYSDIV_4                             /*  CCLK divider CCLK分频系数   */

/*********************************************************************************************************
  用于TCP定时器的时间常数的定义
*********************************************************************************************************/

#define SYSTICKHZ               100
#define SYSTICKMS               (1000 / SYSTICKHZ)
#define SYSTICKUS               (1000000 / SYSTICKHZ)
#define SYSTICKNS               (1000000000 / SYSTICKHZ)

/*********************************************************************************************************
** 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 + -