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

📄 externio.c

📁 通过车载终端采集GPS数据
💻 C
字号:
/*************************************************
*定义扩展IO接口
*************************************************/
#include "typedef.h"

//D12扩展接口定义
Uchar volatile xdata D12_Y0 _at_ 0xc000;
idata Uchar D17CS;//D12_Y0的寄存器

Uchar volatile xdata D12_Y1 _at_ 0xc100;
idata Uchar D16CS;//D12_Y1的寄存器

Uchar volatile xdata D12_Y2 _at_ 0xc200;//D19 CS

Uchar volatile xdata D12_Y3 _at_ 0xc300;//Flash wr/rd

Uchar volatile xdata D12_Y4 _at_ 0xc800;//cs msm9841

Uchar volatile xdata D12_Y5 _at_ 0xc900;
idata Uchar D18CS;//D12_Y5的寄存器

//
Uchar volatile xdata D23_Y0 _at_ 0x8400;
idata Uchar D27CSA;//D23_Y0的寄存器

Uchar volatile xdata D23_Y1 _at_ 0x8500;
idata Uchar D27CSB;//D23_Y1的寄存器

Uchar volatile xdata D23_Y2 _at_ 0x8600;
idata Uchar D27CSC;//D23_Y2的寄存器

Uchar volatile xdata D23_Y3 _at_ 0x8700;
idata Uchar D27CSD;//D23_Y3的寄存器 

Uchar volatile xdata D23_Y4 _at_ 0x8c00;

⌨️ 快捷键说明

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