代码搜索:SPI
找到约 10,000 项符合「SPI」的源代码
代码结果 10,000
www.eeworm.com/read/19264/832520
c spi.c
/****************************************Copyright (c)**************************************************
**--------------File Info---------------------------------------------------------------------
www.eeworm.com/read/19264/832521
h spi.h
/****************************************Copyright (c)**************************************************
**--------------File Info---------------------------------------------------------------------
www.eeworm.com/read/20273/834094
c spi.c
#include
/*****************************************************************************
** [File]
** spi.c
** [Purpose]
** SPI routines
** [Changes]
**
*/
void SPI_Init(unsi
www.eeworm.com/read/24952/844085
c spi.c
#include "avr/io.h"
#define DUMP 0xFF
void SPI_Init(void)
{
DDRB|= (1
www.eeworm.com/read/24952/844087
h spi.h
#ifndef _SPI_H
#define _SPI_H
#include "avr/io.h"
void SPI_Init(void);
void SPI_Write(unsigned char Data);
unsigned char SPI_Read(void);
#endif
www.eeworm.com/read/24952/844097
o spi.o
www.eeworm.com/read/24952/844234
h spi.h
#ifndef _SPI_H
#define _SPI_H
#include "avr/io.h"
void SPI_Init(void);
unsigned char SPI_RW(unsigned char Data);
#endif
www.eeworm.com/read/24952/844241
o spi.o
www.eeworm.com/read/26660/855045
c spi.c
#include
#define _V_SPI_
#define SPI_PORT PORTB
#define SPI_DDR DDRB
#define SPI_PIN PINB
#define DS1302_MOSI 5 //PB5 MOSI要串10K电阻到MISO,然后把MISO跟DS1302_IO脚短接在一起的
#define DS1302_M