代码搜索结果
找到约 10,000 项符合
SPI 的代码
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.def
// ---- spi.def ---- //
typedef unsigned char uchar;
#define WREN 0x06 /* set write enable latch for NM25C20 */
#define WRDI 0x04 /* reset write enable latch */
#define RDSR 0x05 /* re
spi.def
// ---- spi.def ---- //
typedef unsigned char uchar;
#define WREN 0x06 /* set write enable latch for NM25C20 */
#define WRDI 0x04 /* reset write enable latch */
#define RDSR 0x05 /* re
spi.c
#include "MC68HC908JW32.h" /* include peripheral declarations */
#include "spi.h"
//#define GDO0_PIN PTA_PTA3 //input
#define GDO2_PIN PTA_PTA4 //input
#define CC2500_MISO
spi.h
#ifndef _SPI_H_
#define _SPI_H_
//###############################
//# Constants Declaration #
//###############################
#define kSPI_Bus_Div_by_4 0x00
#define kSPI_Bus_Div_by_
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.c
#include
/***************************************************************************************
describe:UART SPI mode example
***************************************************