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

📄 definedmcupin.h

📁 it is drive code for testing all function about ad5498
💻 H
字号:



#ifndef 	definedMCUPin
#define 	definedMCUPin


//低3位是选模式,接着4位选用数据
#define UserOrder   P0
//define DDS address or data control signal rout to MCU pin
//the sequence number is opposite to MCU pin's
#define AdrOrData   P1


sbit cpOrder=P0^7;
//control DDS update data to output vawe
sbit UpdatePin=P3^7;
//control count operate up or down mode
sbit shk=P2^1;

//control DDS adjust up or down mode 
sbit fbh=P2^2;

//control DDS operating read regist data from it 
//and low level available
sbit rd=P2^3;

//control DDS operating write regist data to it 
//and low level available
sbit wr=P2^4;

//control buffer operating refresh data to it's output 
//according it's input data as DDS operating data
sbit cpdata=P2^7;

//control DDS using reset pin to reset DDS output
sbit reset=P2^6;

//control buffer operating refresh data to it's output 
//according it's input data as DDS operating address
sbit cpadr=P2^5;

sbit P1_2= P1^2;
sbit P3_7=P3^7;

sbit LineUpClk=P3^7;
sbit LineUpClkC=P3^6;
#endif

⌨️ 快捷键说明

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