代码搜索结果
找到约 10,000 项符合
SPI 的代码
spi.c
/*
* spi.c - SPI init/core code
*
* Copyright (C) 2005 David Brownell
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Lice
spi.h
/************************************************************************************
FILENAME: SEED-DEC2407.h
************************************************************************************/
spi.c
//-----------------------------------------------------------------------------
// spi.c
//-----------------------------------------------------------------------------
//
//----------------------
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.h
void SPI_Init(void);
void PORT_Init(void);
void Init_CLK(void);
void Delay_ms(unsigned long nValue);// 主时钟8M 毫秒为单位
void Delay_us(unsigned long nValue);// 主时钟8M 微秒为单位
spi.c
#include "SEED-DEC2407.h"
#include "SPI.h"
#define Spi_Int 1
unsigned int j,spi_data[100];
void main()
{
unsigned int i;
i = 0;
j = 0;
DINT;
SystemInit();
SpiInit();
#if Spi_Int
spi.mak
/************* Code Composer V1 Project Data ********************
The following section contains data generated by Code Composer
to store project information like build options, source filenames
spi.map
******************************************************************************
TMS320C1x/C2x/C2xx/C5x COFF Linker Version 7.00
******************************************
spi.cmd
/* SOLUTION FILE FOR LAB11.CMD */
MEMORY
{
PAGE 0:
VECS origin = 0000h, length = 0040h
FLASH: origin = 100h, length = 7F00h
SAR