代码搜索结果
找到约 10,000 项符合
SPI 的代码
spi.h
#ifndef SPI_H
#define SPI_H
#include "global.h"
#define SPI_DDR DDRB
#define SPI_PORT PORTB
#define SS 0
#define SCK 1
#define MOSI 2
#define MISO 3
void SPI_Init(void); // SPI 烹
spi._h
/*********************************************************************************************************
** SPI 驱动程序头文件
** (c) Copyright 2006-2008
spi.c
/*********************************************************************************************************
** SPI 驱动程序
** (c) Copyright 2006-2
spi.h
/*********************************************************************************************************
** SPI 驱动程序头文件
** (c) Copyright 2006-2008
spi._c
/*********************************************************************************************************
** SPI 驱动程序
** (c) Copyright 2006-2
spi.s
.module spi.c
.area data(ram, con, rel)
_Spi_Receive_Buffer::
.blkb 1
.area idata
.byte 0
.area data(ram, con, rel)
.blkb 1
.area idata
.byte 0
.area data(ram, con, rel)
.blkb 1
spi.o
XL
H 5 areas 13 global symbols
M spi.c
S push_gset1 Ref0000
S push_gset3 Ref0000
S push_gset5 Ref0000
S _DeQueue Ref0000
S _EnQueue Ref0000
S pop_lset Ref0000
S pop_gset1 Ref0000
S pop_gset3
spi.lis
.module spi.c
.area data(ram, con, rel)
0000 _Spi_Receive_Buffer::
0000 .blkb 1
.area idata
spi.c
// ------------- Functions for simulating Serial Peripheral Interface ----------
// Send a byte to the SPI device
void spi_sendbyte(uint8 dByte)
{
uint8 i;
for (i = 0; i < 8; i++)
{
SPI_SC