代码搜索结果
找到约 16,769 项符合
SPI 的代码
spi.c
/*
** Purpose: SPI init, read & write routines without interrupt.
** These routines works only as an SPI Master.
**
** Version: 1.0.0, 29:th of July 1999
**
** Author: L
spi.h
/*
** Header file : spi.h
*/
#if defined(_AVR)
/* SPI header for AVR */
#ifndef __SPI__H
#define __SPI__H
/*
** Constants for SpiInit()
*/
#define SPI_DATA_ORDER_MSB_FIRST 0x00
spi+da.c
//该程序利用LF2407的SPI模块向MAX5741芯片发送数据用于D/A转换,MAX5741的模拟输出端A输出一个三角波
#include "register.h"
int GPR3;
int flag1;
int flag;
//系统初始化子程序
void initial()
{
asm(" setc INTM"); //屏蔽中
spi.plg
礦ision2 Build Log
Project:
C:\人邮\Keilc51资源程序\at89s8252_spi\spi.uv2
Project File Date: 05/30/2003
Output:
spi.c
#define SPI//定义SPI总线函数:写入地址和数据到寄存器与读出数据;延时程序
#include "reg51.h"
#include "intrins.h"
#include "absacc.h"
#include "io.h"//AT89C2051的IO定义
#include "spi.h"//将SPI子函数定义为外部函数
#include "sub.h"//激活子函
spi.lst
C51 COMPILER V8.02 SPI 11/29/2006 17:29:51 PAGE 1
C51 COMPILER V8.02, COMPILATION OF MODULE SPI
OBJECT MODULE PLACED IN .\o
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.__i
"SPI.c" THUMB BROWSE DEBUG TABS (4)
spi.plg
礦ision3 Build Log
Project:
C:\Documents and Settings\WIN2K1\桌面\lpc21xx\Keil CARM Examples\EX22-SPI\SPI.uv2
Project File Date: 02/20/2005
Output:
spi.lst
ARM COMPILER V0.20, SPI 31/12/04 16:41:47 PAGE 1
ARM COMPILER V0.20, COMPILATION OF MODULE SPI
OBJECT MODULE PLACED IN SP