代码搜索结果
找到约 10,000 项符合
SPI 的代码
spi.c
/************************************************************************************
* Copyright (c) 2004,西安铭朗电子科技有限责任公司
* All rights reserved.
*
* 文件名称: SPI.C
* 文件标识: none
* 适用器件:
spi.h
/************************************************************************************
* Copyright (c) 2004,西安铭朗电子科技有限责任公司
* All rights reserved.
*
* 文件名称: delay.h
* 文件标识: none
* 适用器件
spi.c
#include
#include
unsigned char SPI_sen_dat[10];
unsigned char SPI_rev_dat[10];
unsigned char SPI_com_addr;
unsigned char SPI_send_len;
unsigned char SPI_rev_len;
unsigned
spi.h
void SPI_int(unsigned char SPI_SPCR,unsigned char SPI_SPI2X);
void SPI_inr();
void SPI_send_c(unsigned char c);
void SPI_send_dat(unsigned char *dat,unsigned char lng);
void SPI_set(unsigned char
spi.c
/* File: spi.c */
/* Copyright 2003, Cypress Semiconductor Corporation
*
* This software is owned by Cypress Semiconductor Corporation (Cypress) and
* is protected by United States copyright
spi.h
#ifndef _SPIEX_
#define _SPIEX_
#define PU 0x11
#define STOP 0x12
#define RESET 0x03
#define CLI_INT 0x04
spi.txt
F240 SPI master/slave example code from the C24x Reference Set, Vol 2, Chapter 5.
All contents (included source, executables, and text)