代码搜索结果
找到约 10,000 项符合
SPI 的代码
595spi.c
/********************************************************
* Copyright (c) 2007,tianjin university andouwa *
* All rights reserved. *
***********************
595spi.c
/********************************************************
* Copyright (c) 2007,tianjin university andouwa *
* All rights reserved. *
***********************
spi_a.s43
;****************************************************************************
; 文件名称:
; SPI_A.s43
; 文件说明:
; 模块操作MSP430的USART的SPI通讯模块,
; 本实验需要使用外围芯片HC164、HC165
;
gpio_spi.asm
SS BIT P3.2
SCLK BIT P1.6
SDATA BIT P1.5
PUBLIC _SPI_SEND,_SPI_RCV,SPI_INIT
SPI_DT SEGMENT DATA
SPI_PR SEGMENT CODE
RSEG SPI_DT
STACKSAVE: DS 1
CSEG AT 000BH
LJMP SPI_WDG
RSEG SP
spi_test.c
#include "DSP28_Device.h"
unsigned int *LedReg = (unsigned int *)0x23FF;
unsigned int *Led8Lock = (unsigned int *)0x25FF;
const Uint16 LedCode[]={0x7F,0xBF,0xDF,0xEF,0xF7,0xFB,0xFD,0xFE,0xFF};
spi_test.c
#include "DSP28_Device.h"
unsigned int *LedReg = (unsigned int *)0x23FF;
unsigned int *Led8Lock = (unsigned int *)0x25FF;
const Uint16 LedCode[]={0x7F,0xBF,0xDF,0xEF,0xF7,0xFB,0xFD,0xFE,0xFF};
spi_transmit.c
// ========SPI_CAN通信程序=======
#include
#include
#include
//#include
#include
//void InterruptHandlerHigh(void);
// =========常数和变量定义=====