代码搜索:spi总线
找到约 10,000 项符合「spi总线」的源代码
代码结果 10,000
www.eeworm.com/read/352211/10574886
h spi.h
#ifndef SPI_H_
#define SPI_H_
#include
#include
#define SPIPORT PORTB
#define SPIPIN PINB
#define SPIDDR DDRB
#if defined(__AVR_ATmega8__)
#define SPISCK PB5
www.eeworm.com/read/277912/10595819
lst spi.lst
C51 COMPILER V7.06 SPI 01/02/2008 09:19:10 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE SPI
OBJECT MODULE PLACED IN SPI
www.eeworm.com/read/277912/10595832
c spi.c
////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////
www.eeworm.com/read/277912/10595898
obj spi.obj
www.eeworm.com/read/351435/10650207
c spi.c
#include
#include "2410addr.h"
#include "2410lib.h"
#include "spi.h"
#include "def.h"
#define spi_count 0x80
#define SPI_BUFFER _NONCACHE_STARTADDRESS
void __irq Spi_Int(void);
www.eeworm.com/read/351435/10650284
o spi.o
www.eeworm.com/read/351435/10650586
err 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
www.eeworm.com/read/351435/10650751
h 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
www.eeworm.com/read/421947/10677338
c spi.c
#include "spi.h"
void init_SPI(void)//SPI Master mode
{
SSPCON1bits.SSPM3=0;
SSPCON1bits.SSPM2=0;
SSPCON1bits.SSPM1=0;
SSPCON1bits.SSPM0=0;//Master mode, clock = FOSC/4--->1MHZ