?? link.h
字號(hào):
/*
* link.h
*
* 電路接線描述(每個(gè)模塊都要有自己的接線描述文件)
*
*
*
* 陳真勇(SA01010010)
* w3wind@sina.com or
* zychen@ustc.edu.cn
* 中國(guó)科學(xué)技術(shù)大學(xué)自動(dòng)化系
* 2002/6/12
*/
/*
修改:王占成
zcwang@mail.ustc.edu.cn
2003.4.27
*/
#ifndef _LINK_H_
#define _LINK_H_
#include <reg52.h>
sbit WDSCK = P1^2;
sbit WDSI = P1^1;
sbit CANLAMP=P1^6;/* this pin wired to a LED. when communication through CAN bus,it will be lightened.*/
/* 有的板子接的是P1^4 */
/* AD7703相關(guān)的連線 */
sbit ADCAL1=P1^5;
sbit ADSCLK1=P3^1;
sbit ADSDATA1=P3^0;
sbit ADDRDY1=P1^4;
sbit ADCAL2 = P2^0;
sbit ADSCLK2 = P1^0;
sbit ADSDATA2 = P1^3;
sbit ADDRDY2 = P2^1;
sbit JDQ1 = P3^4;
sbit JDQ2 = P3^5;
sbit CANCS=P2^7;
sbit DQ = P1^7;
#endif /* _LINK_H_ */
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -