代码搜索:SPI
找到约 10,000 项符合「SPI」的源代码
代码结果 10,000
www.eeworm.com/read/326766/3467388
c spi.c
//-----------------------函数声明,变量定义--------------------------------------------------------
#include
#include
sbit SCK=P1^0; // 将p1.0口模拟时钟输出
sbit MOSI
www.eeworm.com/read/326766/3467389
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/326177/3474011
c spi.c
/******************************************************************************
* Copyright (C) 2005 Martin THOMAS, Kaiserslautern, Germany
*
* http://www.siwawi.ar
www.eeworm.com/read/326177/3474016
h spi.h
#ifndef SPI_H_
#define SPI_H_
#include
#include
#define SPIPORT PORTB
#define SPIPIN PINB
#define SPIDDR DDRB
#if defined(__AVR_ATmega8__)
#define SPISCK PB5
www.eeworm.com/read/325715/3480527
h spi.h
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you lic
www.eeworm.com/read/325715/3480537
cpp spi.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you lic
www.eeworm.com/read/324920/3495659
h spi.h
/*
* linux/include/asm-mips/tx4938/spi.h
* Definitions for TX4937/TX4938 SPI
*
* Copyright (C) 2000-2001 Toshiba Corporation
*
* 2003-2005 (c) MontaVista Software, Inc. This file is licensed und
www.eeworm.com/read/324920/3495866
h spi.h
/*
* Copyright (C) 2005 David Brownell
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free S
www.eeworm.com/read/322941/3519688
c spi.c
/****************************************Copyright (c)**************************************************
** 广州周立功单片机发展有限公司
** 研 究
www.eeworm.com/read/322941/3519690
h spi.h
/****************************************Copyright (c)**************************************************
** 广州周立功单片机发展有限公司
** 研 究