代码搜索结果
找到约 10,000 项符合
SPI 的代码
spi.c
/*
**********************************************************************************************
* Project: T8Lib
* File: spi.c
* Contents:
* The spi module c file(software spi)
* $
spi.h
/*
**********************************************************************************************
* Project: T8Lib
* File: spi.h
* Contents:
* The spi module interface head file
*
spi.lst
C51 COMPILER V7.02b SPI 08/28/2006 18:59:06 PAGE 1
C51 COMPILER V7.02b, COMPILATION OF MODULE SPI
OBJECT MODULE PLACED IN .\
spi.h
#ifndef _SPI_H_
#define _SPI_H_
/*
* SPI D-òé
* ′|àí?÷ààDí£oC51£?AVR
* °?±?£o1
* è??ú£o2006-12-3
* ×÷??£o??μ?í?
* This program is free software; you can redistrib
spi.c
#include "hal.h"
void SpiWriteBurstReg(BYTE addr, BYTE *buf, BYTE n)
{
CLR_CSN;
while (SOREAD);
SPDR = addr | WRITE_BURST;
SPI_WAIT();
for (BYTE i = 0; i < n; i++) {
spi.c
#include "hal.h"
void SpiWriteBurstReg(BYTE addr, BYTE *buffer, BYTE count)
{
CLR_CSN;
while (SOREAD);
SPDR = addr | WRITE_BURST;
SPI_WAIT();
for (BYTE i = 0; i < cou
spi.h
/***************************************************************************\
Copyright (c) 2004-2007 threewater@up-tech.com, All rights reserved.
by threewter 2005.2.26
\************************
spi.c
/***************************************************************************\
Copyright (c) 2004-2007 threewater@up-tech.com, All rights reserved.
by threewter 2005.2.26
\************************
spi.c
#include
#include
#include
#include "rtl_glue.h"
#include "rtl_types.h"
#include "rtl_errno.h"
#include "assert.h"
#include "gpio.h"
#include "s