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

📄 io.h

📁 用c语言实现对单片机端口的设置
💻 H
📖 第 1 页 / 共 2 页
字号:
//****************************************************************************
// @Module        Parallel Ports
// @Filename      IO.C
// @Project       PORT3.dav
//----------------------------------------------------------------------------
// @Controller    Infineon XC167CI-32F40
//
// @Compiler      Keil
//
// @Codegenerator 2.5
//
// @Description   This file contains all function prototypes and macros for 
//                the IO module.
//
//----------------------------------------------------------------------------
// @Date          2007-4-3 11:53:23
//
//****************************************************************************

// USER CODE BEGIN (IO_Header,1)

// USER CODE END



#ifndef _IO_H_
#define _IO_H_

//****************************************************************************
// @Project Includes
//****************************************************************************

// USER CODE BEGIN (IO_Header,2)

// USER CODE END


//****************************************************************************
// @Macros
//****************************************************************************

// USER CODE BEGIN (IO_Header,3)

// USER CODE END


//****************************************************************************
// @Defines
//****************************************************************************

//----------------------------------------------------------------------------
// Defines for the parameter PinName
//----------------------------------------------------------------------------

//   
#define IO_P0H_0 P0H_P0

//   
#define IO_P0H_1 P0H_P1

//   
#define IO_P0H_2 P0H_P2

//   
#define IO_P0H_3 P0H_P3

//   
#define IO_P0H_4 P0H_P4

//   
#define IO_P0H_5 P0H_P5

//   
#define IO_P0H_6 P0H_P6

//   
#define IO_P0H_7 P0H_P7


//   
#define IO_P0L_0 P0L_P0

//   
#define IO_P0L_1 P0L_P1

//   
#define IO_P0L_2 P0L_P2

//   
#define IO_P0L_3 P0L_P3

//   
#define IO_P0L_4 P0L_P4

//   
#define IO_P0L_5 P0L_P5

//   
#define IO_P0L_6 P0L_P6

//   
#define IO_P0L_7 P0L_P7


//   
#define IO_P1H_0 P1H_P0

//   
#define IO_P1H_1 P1H_P1

//   
#define IO_P1H_2 P1H_P2

//   
#define IO_P1H_3 P1H_P3

//   
#define IO_P1H_4 P1H_P4

//   
#define IO_P1H_5 P1H_P5

//   
#define IO_P1H_6 P1H_P6

//   
#define IO_P1H_7 P1H_P7


//   
#define IO_P1L_0 P1L_P0

//   
#define IO_P1L_1 P1L_P1

//   
#define IO_P1L_2 P1L_P2

//   
#define IO_P1L_3 P1L_P3

//   
#define IO_P1L_4 P1L_P4

//   
#define IO_P1L_5 P1L_P5

//   
#define IO_P1L_6 P1L_P6

//   
#define IO_P1L_7 P1L_P7


//   
#define IO_P2_8 P2_P8

//   
#define IO_P2_9 P2_P9

//   
#define IO_P2_10 P2_P10

//   
#define IO_P2_11 P2_P11

//   
#define IO_P2_12 P2_P12

//   
#define IO_P2_13 P2_P13

//   
#define IO_P2_14 P2_P14

//   
#define IO_P2_15 P2_P15


//   
#define IO_P3_0 P3_P0

//   
#define IO_P3_1 P3_P1

//   
#define IO_P3_2 P3_P2

//   
#define IO_P3_3 P3_P3

//   
#define IO_P3_4 P3_P4

//   
#define IO_P3_5 P3_P5

//   
#define IO_P3_6 P3_P6

//   
#define IO_P3_7 P3_P7

//   
#define IO_P3_8 P3_P8

//   
#define IO_P3_9 P3_P9

//   
#define IO_P3_10 P3_P10

//   
#define IO_P3_11 P3_P11

//   
#define IO_P3_12 P3_P12

//   
#define IO_P3_13 P3_P13

//   
#define IO_P3_15 P3_P15


//   
#define IO_P4_0 P4_P0

//   
#define IO_P4_1 P4_P1

//   
#define IO_P4_2 P4_P2

//   
#define IO_P4_3 P4_P3

//   
#define IO_P4_4 P4_P4

//   
#define IO_P4_5 P4_P5

//   
#define IO_P4_6 P4_P6

//   
#define IO_P4_7 P4_P7


//   
#define IO_P5_0 P5_P0

//   
#define IO_P5_1 P5_P1

//   
#define IO_P5_2 P5_P2

//   
#define IO_P5_3 P5_P3

//   
#define IO_P5_4 P5_P4

//   
#define IO_P5_5 P5_P5

//   
#define IO_P5_6 P5_P6

//   
#define IO_P5_7 P5_P7

//   
#define IO_P5_8 P5_P8

//   
#define IO_P5_9 P5_P9

//   
#define IO_P5_10 P5_P10

//   
#define IO_P5_11 P5_P11

//   
#define IO_P5_12 P5_P12

//   
#define IO_P5_13 P5_P13

//   
#define IO_P5_14 P5_P14

//   
#define IO_P5_15 P5_P15


//   
#define IO_P6_0 P6_P0

//   
#define IO_P6_1 P6_P1

//   
#define IO_P6_2 P6_P2

//   
#define IO_P6_3 P6_P3

//   
#define IO_P6_4 P6_P4

//   
#define IO_P6_5 P6_P5

//   
#define IO_P6_6 P6_P6

//   
#define IO_P6_7 P6_P7


//   
#define IO_P7_4 P7_P4

//   
#define IO_P7_5 P7_P5

//   
#define IO_P7_6 P7_P6

//   
#define IO_P7_7 P7_P7


//   
#define IO_P9_0 P9_P0

//   
#define IO_P9_1 P9_P1

//   
#define IO_P9_2 P9_P2

//   
#define IO_P9_3 P9_P3

//   
#define IO_P9_4 P9_P4

//   
#define IO_P9_5 P9_P5


//   
#define IO_P20_0 P20_P0

//   
#define IO_P20_1 P20_P1

//   
#define IO_P20_2 P20_P2

//   
#define IO_P20_4 P20_P4

//   
#define IO_P20_5 P20_P5

//   
#define IO_P20_12 P20_P12


⌨️ 快捷键说明

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