代码搜索:SPCE
找到约 5,520 项符合「SPCE」的源代码
代码结果 5,520
www.eeworm.com/read/233921/14127983
c hongwai.c
#include
int hw_flag[2];
extern int hongw_flag;
extern void delay(int);
void hongwai(void)
{
*P_IOB_Dir&=0xfdff; //B9为上拉电阻输入
*P_IOB_Attrib&=0xfdff;
*P_IOB_Da
www.eeworm.com/read/232907/14178263
c main.c
#include "SPCE061.H"
#define TIMER_DATA_FOR_4KHZ (0xffff - 2048) //0.5 second
main()
{
*P_IOA_Dir=0xffff; //IOA0~IOA4 initial: output
*P_IOA_Attrib=0xffff;
*P_IOA_Data=0x0000;
*
www.eeworm.com/read/231884/14216812
txt lingyanglcddisplay.txt
//IOA0_8 D0_8 数据IOA口低8位
//IOB0_2 RS RW E 控制口IOB低三位
#include
void delay(int count);
void sendCMD(int dat); //发送命令字
void sendDAT(char
www.eeworm.com/read/230443/14288935
c 7279.c
#include "SPCE061A.h"
#include "lcd.h"
unsigned int data_out1;
unsigned int key_in[16]={4,5,6,7,12,13,14,15,20,21,22,23,28,29,30,31};
unsigned int key_out[17]={"1234567890abcdef"}; // {"159C
www.eeworm.com/read/229950/14310791
c main.c
#include "MENU.h"
#include "bit.h"
#include "sposvar.h"
#include "spos.h"
#include "user.h"
#include "9850A.h"
#include "UARTTEST.h"
#define M_IO_CS PA->bit.bit2 //CS与SPCE061A的接口定义
#define
www.eeworm.com/read/228240/14395534
h 7289.h
#ifndef __7289_H__
#define __7289_H__
//#include "SPCE061A.h"
// write your header here
// IOB12,13,14 带数据缓存器的高电平输出,IOB15下拉输入
init_7289()
{
unsigned int data_out;
*P_IOB_Di
www.eeworm.com/read/473745/1397478
c main.c
#include "SPCE061.H"
#define TIMER_DATA_FOR_4KHZ (0xffff - 2048) //0.5 second
main()
{
*P_IOA_Dir=0xffff; //IOA0~IOA4 initial: output
*P_IOA_Attrib=0xffff;
*P_IOA_Data=0x00ff;
*
www.eeworm.com/read/473745/1397509
c timebase_main.c
#include "SPCE061.H"
main()
{
asm("INT OFF");
//output
*P_IOA_Dir=0x00FF;
*P_IOA_Attrib=0x00FF;
*P_IOA_Data=0x0000;
*P_INT_Ctrl=C_IRQ5_2Hz; //Setup interrupt
www.eeworm.com/read/244294/4511626
h playsnd.h
#ifndef __PLAYSND_h__
#define __PLAYSND_h__
// write your header here
#include "spce061a.h"
#include "s480.h"
#define VOICE_POINT 0x0a
#define VOICE_MORNING 0x0b
#define VOICE_NOON 0x0c
#def
www.eeworm.com/read/436051/1855116
c isr.c
#include "spce061v004.h"
#include "lcd_disp.h"
#include "math.h"
#include "s480.h"
#include "voice.h"
#define Step 0.05 //表示电机转动最小单位
#define Division 1/Step //表示把1cm分成的格数
#define LineStep (19