📄 config.c
字号:
#include<reg51.h>
#include<stdio.h>
#include"Config.h"
/*引脚定义*/
//录音/放音选择引脚
sbit RECD_PLAY = P0^0;
//LED指示引脚
sbit RecordGUD = P3^0;
sbit PlayGUD = P3^1;
//ZLG7289_KEY引脚
sbit ZLG7289CS = P0^1;
sbit ZLG7289CLK = P0^2;
sbit ZLG7289DIO = P0^3;
sbit ZLG7289INT = P3^2;
//ADC0809引脚
sbit ADCEOT = P3^3;
sbit ADCSTART = P3^4;
sbit ADCOE = P3^5;
//DAC0832引脚
sbit DACCS = P0^4;
//SRAM:IS61LV2568引脚
sbit SRAMCE = P0^7;
sbit SRAMWE = P3^6;
sbit SRAMOE = P3^7;
sbit A17 = P0^6;
sbit A16 = P0^5;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -