代码搜索:SPCE
找到约 5,520 项符合「SPCE」的源代码
代码结果 5,520
www.eeworm.com/read/462493/7200920
c main.c
#define C_SIOCLOCK 0x0010; // CPUCLOCK/8
#include "SPCE061V004.H"
/*unsigned int buff[]={0x1000,0x903e,0x5097,0x305c,0xb086,0x70ca,0xf0e0,0xf06e,0xf039,0xf06e,
0xf
www.eeworm.com/read/141217/13032416
asm key.asm
.INCLUDE SPCE061.INC
.RAM
.PUBLIC KeyBuf //保存键值
.VAR KeyBuf
.VAR KeyValue
.DATA
KeyTbl: //键盘编码表
.DW 0x007F,0x00BF,0x00DF,0x00EF //K1,K2,K3,K4
.DW 0x00F7,0x00FB,0x0
www.eeworm.com/read/230444/6353569
c main.c
#include "SPCE061V004.H"
#define y 0x80
#define x1 0x80
#define RE_L *P_IOB_Data&=0xffbf //IOB6
#define RE_H *P_IOB_Data|=0x0040 //IOB6
#define DE_L *P_IOB_Data&=0xffdf //IOB5
www.eeworm.com/read/348075/11613658
c main.c
#include"spce061a.h"
main()
{
*P_IOA_Dir=0Xff;
*P_IOA_Attrib=0Xff;
*P_IOA_Data=0X00;
*P_IOB_Dir=0X00;
*P_IOB_Attrib=0X00;
*P_IOB_Data=0X04;
*P_INT_Ctrl=C_IRQ3_EXT1;
__asm("I
www.eeworm.com/read/294359/8233367
c main.c
// LCD D0~D7接IOA0~IOA7
// LCD_CS 接高电平/接IOB2
// LCD_AO 接IOB5
// LCD_RW 接IOB6
// LCD_EP 接IOB7
//#include "LCD_Dis.h"
#include
#include"host.h"
#include "test.h"
www.eeworm.com/read/294359/8235240
c isr.c
#include
extern count;
extern key_scan();
unsigned int showval[4]={1,2,1,0};//要显示的值
unsigned int a[16]={0x0011,0x00d7,0x0049,0x0045,0x0087,0x0025,0x0021,0x0057,0x0001,
0x0005,0x00
www.eeworm.com/read/294359/8235368
c keykk.c
#include
unsigned int a[4]={0x007f,0x00bf,0x00df,0x00ef};
unsigned int b[4]={0x0007,0x000b,0x000d,0x000e};
unsigned int key_scan(void);
unsigned int get_keyval(void);
//void displ
www.eeworm.com/read/294359/8235369
c uart.c
//利用查询标志位来进行发送和接收数据。先是接收从计算机发来的数据然后再发送到计算机上。
//
#include
void Delay();
int main()
{
unsigned int Ret=0;
unsigned int uiData=0;
Set_IOB_Dir(0x0400);//IOB7-输入,IOB10-输出
Set
www.eeworm.com/read/294359/8236274
c main.c
#include
main()
{
*P_IOB_Dir=0xFFFF;
*P_IOB_Attrib=0xFFFF;
*P_IOB_Data=0x0000;
*P_TimerA_Data = 0xff61;
*P_TimerA_Ctrl = 0x03f0;//开始先关闭;设置TimerA,使IOB8输出38KHz的PWM波形,供
www.eeworm.com/read/294359/8236536
c led.c
#include
#include"bit.h"
void delay();
main()
{
unsigned int ii=0;
unsigned int jj=0;
//unsigned int bb[8]={0x017e,0x02bd,0x04db,0x08e7,0x10e7,0x20db,0x40bd,0x807e};
//un