代码搜索:SPI
找到约 10,000 项符合「SPI」的源代码
代码结果 10,000
www.eeworm.com/read/310662/3694146
c spi.c
//-----------------------函数声明,变量定义--------------------------------------------------------
#include
#include
sbit SCK=P1^0; // 将p1.0口模拟时钟输出
sbit MOSI
www.eeworm.com/read/310662/3694147
asm spi.asm
3.1 MCU串行输入子程序<mark>SPI</mark>IN
从X25F008的<mark>SPI</mark>SO线上接收8位数据并放入寄存器R0中的应用子程序如下:
<mark>SPI</mark>IN:SETB P1.1 ;使P1.1(时钟)输出为1
CLR P1.2 ;选择从机
MOV R1,#08H ;置循环次数
<mark>SPI</mark>IN1:CLR P1.1 ;使P1.1(时钟)输出为0
NOP ;延时
NOP
MOV C,P1.3 ;从机输出<mark>SPI</mark>SO送进 ...
www.eeworm.com/read/309857/3703293
h spi.h
/****************************************Copyright (c)**************************************************
** 广州周立功单片机发展有限公司
** 研 究
www.eeworm.com/read/308427/3714562
h spi.h
/******************** (c) Marvell Semiconductor, Inc., 2003 *******************
*
* $Header:
*
* Purpose:
* This file contains the function prototypes and definitions for the
* spi.c
www.eeworm.com/read/308349/3715877
c spi.c
/********************************************************************************************************/
#define IN_SPI
#include "config.h"
#ifndef SPI_MOD
#define SPI_MOD 0
#endif
www.eeworm.com/read/308349/3715879
h spi.h
/****************************************Copyright (c)**************************************************
**********************************************************************************************
www.eeworm.com/read/308349/3715979
dni spi.dni
[Interrupts]
Enabled=1
[MemoryMap]
Enabled=0
Base=0
UseAuto=0
TypeViolation=1
UnspecRange=1
ActionState=1
[JLinkDriver]
WatchCond=_ 0
Watch0=_ 0 "" 0 "" 0 "" 0 "" 0 0 0 0
Watch1=_ 0 "" 0 "
www.eeworm.com/read/308349/3716013
dni spi.dni
[Interrupts]
Enabled=1
[MemoryMap]
Enabled=0
Base=0
UseAuto=0
TypeViolation=1
UnspecRange=1
ActionState=1
[JLinkDriver]
WatchCond=_ 0
Watch0=_ 0 "" 0 "" 0 "" 0 "" 0 0 0 0
Watch1=_ 0 "" 0 "