代码搜索结果
找到约 10,000 项符合
SPI 的代码
nxt_spi.c
#include "nxt_spi.h"
#include "interrupts.h"
#include "AT91SAM7.h"
#include "byte_fifo.h"
#include "aic.h"
/*
* Note that this is not a normal SPI interface,
* it is a bodged version as used b
nxt_spi.h
#ifndef __NXT_SPI_H__
# define __NXT_SPI_H__
# include "mytypes.h"
/*
* Note that this is not a normal SPI interface,
* it is a bodged version as used by the NXT's
* display.
*
* The displa
spi_close.c
/*
* File : spi_close.c
* Scope :
*
* Description: This file implements the UART_Close function
*
*
* Copyright 2004 ZiLOG Inc. ALL RIGHTS RESERVED.
*
* This file contains unpubl
spi_control.c
/*
* File : uart_open.c
* Scope :
*
* Description: This file implements the UART_Open function
*
*
* Copyright 2004 ZiLOG Inc. ALL RIGHTS RESERVED.
*
* This file contains unpubli
spi_open.c
/*
* File : uart_open.c
* Scope :
*
* Description: This file implements the UART_Open function
*
*
* Copyright 2004 ZiLOG Inc. ALL RIGHTS RESERVED.
*
* This file contains unpubli
spi_readwrite.c
/*
* File : uart_read.c
* Scope :
*
* Description: This file implements the UART_Read function
*
*
* Copyright 2004 ZiLOG Inc. ALL RIGHTS RESERVED.
*
* This file contains unpubli
spi_hw.c
/* 本例用硬件标准SPI接口产生CH374的4线SPI串口读写时序 */
/* 本例中的硬件连接方式如下(实际应用电路可以参照修改下述定义及子程序) */
/* 单片机的引脚 CH374芯片的引脚
P1.4 SCS#
P1.5 SDI
P1.6 SD
spi_sw.c
/* 本例用I/O引脚模拟产生CH374的4线SPI串口读写时序 */
/* 本例中的硬件连接方式如下(实际应用电路可以参照修改下述定义及子程序) */
/* 单片机的引脚 CH374芯片的引脚
P1.4 SCS#
P1.5 SDI
P1.6 SDO
spi_hw.c
/* CH374芯片 硬件标准SPI串行连接的硬件抽象层 V1.0 */
/* 提供I/O接口子程序,提供寄存器级读写子程序 */
#include "HAL.H"
/* 本例中的硬件连接方式如下(实际应用电路可以参照修改下述定义及子程序) */
/* 单片机的引脚 CH374芯片的引脚
P1.4 SCS#
P1.5
spi_sw.c
/* CH374芯片 软件模拟SPI串行连接的硬件抽象层 V1.0 */
/* 提供I/O接口子程序,提供寄存器级读写子程序 */
#include "HAL.H"
/* 本例中的硬件连接方式如下(实际应用电路可以参照修改下述定义及子程序) */
/* 单片机的引脚 CH374芯片的引脚
P1.4 SCS#
P1.5