psocgpioint.h

来自「Application Note Abstract This Applicat」· C头文件 代码 · 共 46 行

H
46
字号
/*
*   PSoCGPIOINT.h
*   Data: 04 June, 2002
*   Copyright Cypress MicroSystems 2002
*
*  This file is generated by the Device Editor on Application Generation.
*  It contains equates that are useful in writing code relating to GPIO
*  related values.
*  
*  DO NOT EDIT THIS FILE MANUALLY, AS IT IS OVERWRITTEN!!!
*  Edits to this file will not be preserved.
*/
#include <m8c.h>
// Port_1_0 address and mask defines
#pragma	ioport	Port_1_0_Bypass_ADDR:	0x6
BYTE			Port_1_0_Bypass_ADDR;
#pragma	ioport	Port_1_0_Data_ADDR:	0x4
BYTE			Port_1_0_Data_ADDR;
#pragma	ioport	Port_1_0_DriveMode_0_ADDR:	0x104
BYTE			Port_1_0_DriveMode_0_ADDR;
#pragma	ioport	Port_1_0_DriveMode_1_ADDR:	0x105
BYTE			Port_1_0_DriveMode_1_ADDR;
#pragma	ioport	Port_1_0_IntCtrl_0_ADDR:	0x106
BYTE			Port_1_0_IntCtrl_0_ADDR;
#pragma	ioport	Port_1_0_IntCtrl_1_ADDR:	0x107
BYTE			Port_1_0_IntCtrl_1_ADDR;
#pragma	ioport	Port_1_0_IntEn_ADDR:	0x5
BYTE			Port_1_0_IntEn_ADDR;
#define Port_1_0_MASK 0x1
// Port_0_0 address and mask defines
#pragma	ioport	Port_0_0_Bypass_ADDR:	0x2
BYTE			Port_0_0_Bypass_ADDR;
#pragma	ioport	Port_0_0_Data_ADDR:	0x0
BYTE			Port_0_0_Data_ADDR;
#pragma	ioport	Port_0_0_DriveMode_0_ADDR:	0x100
BYTE			Port_0_0_DriveMode_0_ADDR;
#pragma	ioport	Port_0_0_DriveMode_1_ADDR:	0x101
BYTE			Port_0_0_DriveMode_1_ADDR;
#pragma	ioport	Port_0_0_IntCtrl_0_ADDR:	0x102
BYTE			Port_0_0_IntCtrl_0_ADDR;
#pragma	ioport	Port_0_0_IntCtrl_1_ADDR:	0x103
BYTE			Port_0_0_IntCtrl_1_ADDR;
#pragma	ioport	Port_0_0_IntEn_ADDR:	0x1
BYTE			Port_0_0_IntEn_ADDR;
#define Port_0_0_MASK 0x1

⌨️ 快捷键说明

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