代码搜索结果
找到约 10,000 项符合
SPI 的代码
spi.h
//#define SET_CPHASE //uncomment this to configure SPI with CPHASE = 1 and CLKPL = 0
//#define SET_CLKPL //uncomment this to configure SPI with CPHASE = 0 and CLKPL = 1
//#define SET_CPHASE_CL
spi.h
//#define SET_CPHASE //uncomment this to configure SPI with CPHASE = 1 and CLKPL = 0
//#define SET_CLKPL //uncomment this to configure SPI with CPHASE = 0 and CLKPL = 1
//#define SET_CPHASE_CL
spi.asm
/****************************************************************************
Include Section
*****************************************************************************/
#include "global.h"
spi.h
/*****************************************************************************
Prototypes
******************************************************************************/
.EXTERN __spi_run_tx;
.
spi.pjt
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectName="spi"
ProjectDir="E:\MYDSP\DSK2812\C\spi\"
ProjectType=Executable
CPUFamily=TMS320C2
spi.c
//#include
#include
#include
#include
MCBSP_Handle hMcbsp0,hMcbsp1;
MCBSP_Config mcbspCfg0,mcbspCfg1;
void main()
{
int i=99;
U
spi.c
//#include
#include
#include
#include
MCBSP_Handle hMcbsp0,hMcbsp1;
MCBSP_Config mcbspCfg0,mcbspCfg1;
void main()
{
int i=99;
U
spi.c
#include
#include
#define uchar unsigned char
#define uint unsigned int
uchar Table[10]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f};
uchar Data[4]={0,0,0,0};
vo