代码搜索结果

找到约 10,000 项符合 SPI 的代码

spi.c

#include #include "2410addr.h" #include "2410lib.h" #include "spi.h" #include "def.h" #define spi_count 0x80 #define SPI_BUFFER _NONCACHE_STARTADDRESS void __irq Spi_Int(void);

spi.h

#ifndef __SPI_H__ #define __SPI_H__ void Test_Spi_MS_int(void); void Test_Spi_MS_poll(void); void Test_Spi_M_Tx_DMA1(void); void Test_Spi_M_Rx_DMA1(void); void Test_Spi_S_Tx_DMA1(void); voi

spi.c

/************************************************ // // File Name : // Description : SPI One board Test // SPI0: Master Tx // SPI1: Slave Rx // Version

spi.h

#ifndef __SPI_H__ #define __SPI_H__ #define RXTX_SIZE 0x100000 typedef enum _SPI_channel { SPI_CHANNEL0 = 0, SPI_CHANNEL1 = 1, SPI_CHANNEL_MAX } SPI_channel; typedef enum _SPI_mode {

spi.c

/** * These functions are used to write and read from the SPI. * The code was written specifically for the nRF24L01 module. * The module has a peculiar implementation of the SPI interface, * i

spi.h

/** * Header for SPI. See SPI.c for documentation. * * @author Stephen Craig 25/07/2006 */ #ifndef _SPI_H_ #define _SPI_H_ #define CE PTM_PTM7 /* Chip enable */ #define C

spi.asm

;------------------------------------------------------------------------------+ ; | ; Module SPI