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

📄 port.h

📁 Keil uVision2(8052芯片)下用C语言开发的串行菜单结构的简单数据采集系统
💻 H
字号:
/*------------------------------------------------------------------*-

   Port.H (v1.01)

  ------------------------------------------------------------------

  'Port Header' (see Chap 5) for project DATA_ACQ (see Chap 9)

   COPYRIGHT
   ---------

   This code is associated with the book:

   EMBEDDED C by Michael J. Pont 
   [Pearson Education, 2002: ISBN: 0-201-79523-X].

   This code is copyright (c) 2001 by Michael J. Pont.
 
   See book for copyright details and other information.

-*------------------------------------------------------------------*/

#ifndef _PORT_H
#define _PORT_H

#include "Main.H"

// ------ Menu_A.C ----------------------------------------------
// Uses whole of Port 1 and Port 2 for data acquisition 
#define Data_Port1 P1
#define Data_Port2 P2


// ------ PC_IO.C -----------------------------------------------
    
// Pins 3.0 and 3.1 used for RS-232 interface

#endif

/*------------------------------------------------------------------*-
  ---- END OF FILE -------------------------------------------------
-*------------------------------------------------------------------*/



⌨️ 快捷键说明

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