代码搜索结果
找到约 10,000 项符合
SPI 的代码
spi.c
#include
#include
#include
#include
#include "FM1702.h"
#include "reg52.h"
void delay1(uchar dlength)
{
uchar i;
for (i=0;i
spi.c
/*! \file spi.c \brief SPI interface driver. */
//*****************************************************************************
//
// File Name : 'spi.c'
// Title : SPI interface driver
// Autho
spi.h
/*! \file spi.h \brief SPI interface driver. */
//*****************************************************************************
//
// File Name : 'spi.h'
// Title : SPI interface driver
// Autho
spi.txt
F240 SPI master/slave example code from the C24x Reference Set, Vol 2, Chapter 5.
All contents (included source, executables, and text)
spi.c
/************************************************************/
#include "config.h"
//#define FL1 0x00000080 //P0.7
#define SPI_SCK 0x00000010 //P0.4
#define SPI_SI 0x00000040 //P0.6
#
spi.h
uint8 hextoascii0(uint8 hexdata);
uint8 hextoascii1(uint8 hexdata);
uint8 hextoascii2(uint8 hexdata);
uint8 hextoascii3(uint8 hexdata);
uint8 hextoascii_1(uint8 hexdata);
uint8 hextoascii_2
spi.c
/*****************************************************************************
* spi.c: SPI C file for Philips LPC214x Family Microprocessors
*
* Copyright(C) 2006, Philips Semiconductor
spi.h
/*****************************************************************************
* spi.h: Header file for Philips LPC214x Family Microprocessors
*
* Copyright(C) 2006, Philips Semiconductor