global.h

来自「使用JTAG口对AT91R40008芯片进行FLASH编程的程序」· C头文件 代码 · 共 54 行

H
54
字号
//*----------------------------------------------------------------------------
//*      ATMEL Microcontroller Software Support  -  ROUSSET  -
//*----------------------------------------------------------------------------
//* The software is delivered "AS IS" without warranty or condition of any
//* kind, either express, implied or statutory. This includes without
//* limitation any warranty or condition with respect to merchantability or
//* fitness for any particular purpose, or against the infringements of
//* intellectual property rights of others.
//*----------------------------------------------------------------------------
//*---------------------------------------------------------------------------
//* File Name           : global.h
//* Object              : global data definition
//*
//* 1.0 21/01/02 JPP    : Creation
//*---------------------------------------------------------------------------

#ifndef global_h
#define global_h

//* --------------------------- include file ----------------------------------
#include    <stdio.h>
#include    "drivers/com/com.h"
#include    "menu.h"
#include    "flash_menu.h"

//* --------------------------- Constant definition ---------------------------

//* ---------------------   global data definition ----------------------------
extern int		command;
extern char   	message[80];

/* Sources Descriptor */

extern ComDesc         	COM0;		//* for debug trace
extern ComDesc         	COM1;

#ifdef MAIN_CALL
//* affect global data
int		command;
char   	message[80];

/* Sources Descriptor */
ComDesc         	COM0;		//* for debug trace
ComDesc         	COM1;
#endif
/*---------------------------  Structure definition -------------------------*/


extern int Get_Command(const char * menu);


#endif //* global_h

⌨️ 快捷键说明

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