代码搜索结果
找到约 10,000 项符合
SPI 的代码
spi.err
"spi.c", line 98: Warning: C2917W: no side effect in void context: 'unary *'
"spi.c", line 154: Warning: C2870W: variable 'i' declared but not used
"spi.c", line 186: Warning: C2892E: signed c
spi.h
#ifndef __SPI_H__
#define __SPI_H__
void Test_Spi_MS_int(void);
void Test_Spi_MS_poll(void);
void Test_Spi_M_Tx_DMA1(void);
void Test_Spi_M_Rx_DMA1(void);
void Test_Spi_S_Tx_DMA1(void);
voi
spi.h
/***************************************************************************\
Copyright (c) 2004-2007 threewater@up-tech.com, All rights reserved.
by threewter 2005.2.26
\************************
spi.c
/***************************************************************************\
Copyright (c) 2004-2007 threewater@up-tech.com, All rights reserved.
by threewter 2005.2.26
\************************
spi.tmp
//3.1 MCU串行输入子程序SPIIN
//从X25F008的SPISO线上接收8位数据并放入寄存器R0中的应用子程序如下:
SPIIN:SETB P1.1 ;//使P1.1(时钟)输出为1
CLR P1.2 //选择从机
MOV R1,#08H// ;置循环次数
SPIIN1:CLR P1.1// ;使P1.1(时钟)输出为0
NOP ;延时
NOP
MOV C,P1.3 ;
spi.plg
礦ision2 Build Log
Project:
E:\51SPI\SPI总线在单片机系统中的实现\SPI.uv2
Project File Date: 09/09/2008
Output:
spi.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.s*; *.src; *.a*)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt; *.h; *.inc)
pExt (*.plm)
CppX (*.cpp)
DaveTm {
spi.hex
:1008000078087608D290C2937808E616601C00003B
:100810000000C290EF30E704D2918002C291000044
:0A0820000000EF25E0FFD29080DE1B
:01082A0022AB
:050837007F55020800DE
:0300000002082BC8
:0C082B00787FE4F6D8F
spi.lst
C51 COMPILER V7.06 SPI 09/09/2008 14:19:44 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE SPI
OBJECT MODULE PLACED IN SPI
spi.c
//-----------------------函数声明,变量定义--------------------------------------------------------
#include
#include
sbit SCK=P1^0; // 将p1.0口模拟时钟输出
sbit MOSI