代码搜索结果
找到约 10,000 项符合
SPI 的代码
spi.lst
C51 COMPILER V8.01 SPI 03/09/2007 18:35:57 PAGE 1
C51 COMPILER V8.01, COMPILATION OF MODULE SPI
OBJECT MODULE PLACED IN spi
spi.h
//---------------------------------------------------------------------------
#ifndef spiH
#define spiH
//---------------------------------------------------------------------------
#include
spi.__i
-c --device DARMP -g -O0 --apcs=interwork -I "C:\Keil\ARM\INC\Philips" -o ".\OutPut\spi.o" "SPI\spi.c"
spi.c
/****************************************Copyright (c)**************************************************
** 广州周立功单片机发展有限公司
** 研 究
spi.h
/****************************************Copyright (c)**************************************************
** 广州周立功单片机发展有限公司
** 研 究
spi.c
//spi.c
int first = 1;
void spi_Init ()
{
first = 1;
MCBSP_FSET(SPCR10, RRST, 0);
MCBSP_FSET(SPCR20, XRST, 0);
MCBSP_FSET(SPCR20, FRST, 0);
MCBSP_FSET(SPCR20, GRST, 0);
MCBSP_RSET (SPCR
spi.c
//spi.c
int first = 1;
void spi_Init ()
{
first = 1;
MCBSP_FSET(SPCR10, RRST, 0);
MCBSP_FSET(SPCR20, XRST, 0);
MCBSP_FSET(SPCR20, FRST, 0);
MCBSP_FSET(SPCR20, GRST, 0);
MCBSP_RSET (SPCR
spi.h
#ifndef __SPI_2214_H__
#define __SPI_2214_H__
//#include "..\SysConfig.h"
//SPI错误代码,用于函数返回值
enum{
SPI_ERR_OK, //正常
SPI_ERR_READ_OVERRUN, //读溢出
SPI_ERR_WRITE_COLLISION,//写冲突
spi.cpp
#include "SPI.H"
//#include "..\ArmBIOS.h"
#include "..\..\Lib\ArmOs\ArmLib.h"
//这个是模拟SPI
//----------------------------------------------------------------------
/*
void ____simulate_spi_____