代码搜索结果
找到约 10,000 项符合
SPI 的代码
spi.h
// -------------------------- Header file for spi.c ----------------------------
#ifndef __SOFTWARE_SPI__
#define __SOFTWARE_SPI__
//#include // Header file for MCU
//#include "datat
spi.c
// ------------- Functions for simulating Serial Peripheral Interface ----------
// Send a bit to the SPI device
void spi_sendbit(bit bitx)
{
SPI_SCL = 0;
if (bitx == 0)
SPI_SDA = 0;
else
spi.h
// -------------------------- Header file for spi.c ----------------------------
#ifndef __SOFTWARE_SPI__
#define __SOFTWARE_SPI__
//#include // Header file for MCU
//#include "datat
spi.c
/**
* Copyright (c) 2006-2008 iWESUN (ShenZhen) Inf.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that t
spi.h
/**
* Copyright (c) 2006-2008 iWESUN (ShenZhen) Inf.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that t
spi.asm
*********************************************************************
* Filename SPI.ASM ----- TMS320C54x code for accessing SPI EEPROMs *
* Author: Ruben D. Perez
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.pjt
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectDir="E:\lp\2407new\2407asm\4SPI\"
ProjectType=Executable
CPUFamily=TMS320C24XX
Tool="Comp
spi.c
/***************************************************************************
Project : Car two ting dvd System
Compiler : ST7 HiCross C (HiWARE)
Module : autos.c
Version : V 1.0
Created