代码搜索结果
找到约 16,769 项符合
SPI 的代码
spi.c
/**************** (c) 2004 STMicroelectronics **********************
PROJECT : ST7MC demokit
COMPILER : ST7 METROWERKS C (HIWARE) / COSMIC
MODULE : spi.c
LIBRARY VERSION : 1.0.2
spi.pjt
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectName="spi"
ProjectDir="C:\ti\myprojects\spi\"
ProjectType=Executable
CPUFamily=TMS320C28X
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
/*****************************************************************************
* spi.c: SPI C file for Philips LPC214x Family Microprocessors
*
* Copyright(C) 2006, Philips Semiconductor
spi.h
/*****************************************************************************
* spi.h: Header file for Philips LPC214x Family Microprocessors
*
* Copyright(C) 2006, Philips Semiconductor
spi.asm
;用户寄存器定义
SPI_DATA .usect ".data0",1 ;临时数据寄存器
SPI_FLAG .usect ".data0",1 ;SPI 标志位
SPI_CON .usect ".data0",1 ;MAX5741的控制字
DP_USER .set 5 ;用户寄存器存放页指针
;MAX5121 的控制字宏定义
DACOUT .s
spi+da.c
//该程序利用LF2407的SPI模块向MAX5741芯片发送数据用于D/A转换,MAX5741的模拟输出端A输出一个三角波
#include "register.h"
int GPR3;
int flag1;
int flag;
//系统初始化子程序
void initial()
{
asm(" setc INTM"); //屏蔽中
spi+da.pjt
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectDir="E:\lp\spi+DA\"
ProjectType=Executable
CPUFamily=TMS320C24XX
Tool="Compiler"
Tool="C
spi.pjt
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectDir="E:\MYDSP\DSK2407\c\SPI\"
ProjectType=Executable
CPUFamily=TMS320C24XX
Tool="Compiler