代码搜索结果
找到约 10,000 项符合
SPI 的代码
cfg.h
/*******************************
*程序名称:功能函数集
*设 计:萧联珠
*日 期:2007-11-20
********************************/
#include
/*延时子程序*/
void delay_ms(int time)
{
int i;
for(;time>0;t
cfg._h
/*******************************
*程序名称:功能函数集
*作 者:萧联珠
*日 期:2007-11-20
********************************/
#include
/*延时子程序*/
void delay_ms(int time)
{
int i;
for(;time>0;t
led.c
#include "led.h"
#include "mc9s12dt128.h"
/*======================================================================*/
/* GLOBAL DEFINITIONS */
/*=======
softspi.c
/*
* @(#)SOFTSPI.c
*
* "Copyright (c) 2002 and The Regents of the University
* of California. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and its
*
mica.c
// $Id: MICA.c,v 1.1.14.2 2003/08/18 22:09:35 cssharp Exp $
/* tab:4
* "Copyright (c) 2000-2003 The Regents of the University of California.
* All rights reserved.
*
* Permission to us
cust_hw_spi.h
//------------------------------------------------------------------------
//
// SPI Hardware Customization
//
// To customize this SPI device driver, the driver programmer must provide
// t
spi_sam7x.c
/*----------------------------------------------------------------------------
* R T L - F l a s h F i l e S y s t e m
*-----------------------------------------------------------------
main.c
/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
* File Name : main.c
* Author : EMBEST
* Date First Issued : 08/30/2007
* Description
main.c
/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
* File Name : main.c
* Author : MCD Application Team
* Version : V1.0
* Date
dac_sin._c
#include
#include"math.h"
#define uchar unsigned char
#define uint unsigned int
//延时函数
void s_ms(unsigned int t)
{
for(;t>1;t--)
{
}
}
//SPI初始化
void spi_init()