代码搜索结果
找到约 10,000 项符合
SPI 的代码
spi.h
uchar SPI_WR(uchar val) //用SPI口收发数据
{
uchar temp;
SPDR=val;
while ((SPSR&(1
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
spi.prj
# Standard Project file created by RVDEBUG. Do not hand edit unless
# you know what you are doing. Use the Settings Window
# Copyright (c) 2002 - ARM Ltd
$sARM_C22.stp
[PROJECT]
author_=USB00423
spi.c
/**************************************************************************************
*
* Project Name : S3C6400 Validation
*
* Copyright 2006 by Samsung Electronics, Inc.
* All rights reserve
spi.h
#ifndef __SPI_H__
#define __SPI_h__
#include "dma.h"
#define SPI_TX_FIFO_SIZE 64
#define SPI_RX_FIFO_SIZE 64
#define SPI_NORMAL_DMA // normal DMA or SDMA Selection.
#define SPI_INT_TRA
spi.h
#include
//#define WPON PORTB &= 0b11111101
//#define WPOFF PORTB |= 0b00000010
//#define CSON PORTB &= 0b11111011
//#define AOFF PORTB |= 0b00000110
#define Uchar unsig