代码搜索:SPI
找到约 10,000 项符合「SPI」的源代码
代码结果 10,000
www.eeworm.com/read/442731/7645833
c software_spi.c
#include
#include
#define clearbit(sfr,bit) (_SFR_BYTE (sfr) &= ~_BV(bit))
#define setbit(sfr,bit) (_SFR_BYTE (sfr) |= _BV(bit))
#define S_MOSI PORTB4
#define
www.eeworm.com/read/439564/7706038
c spi_flash.c
/******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
* File Name : spi_flash.c
* Author : MCD Application Team
* Version : V2.0.3
* Date
www.eeworm.com/read/439564/7706041
h spi_flash.h
/******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
* File Name : spi_flash.h
* Author : MCD Application Team
* Version : V2.0.3
* Date
www.eeworm.com/read/438711/7727954
h sd_spi.h
/*!
*@file sd_spi.h
*
*
*
*@version v1.0.0
*@date 2007
*@author jacky291@126.com
*/
#ifndef __SD_SPI_H
#define __SD_SPI_H
#include "config.h"
#ifndef __IO_H
#include "io.h
www.eeworm.com/read/438711/7727956
c sd_spi.c
/*!
*@file sd_spi.c
*
*
*
*@version v1.0.0
*@date 2007
*@author jacky291@126.com
*/
#include "sd_spi.h"
#ifndef __IO_H
#include "io.h"
#endif
#ifndef __TIME_H
#include "t
www.eeworm.com/read/438711/7727965
c sd_spi.c
#include"SD_Card/sd_comand.h"
#include"SD_Card/Sd_Spi.h"
#include"SD_Card/Sd_config.h"
#include"SD_Card/sd_power.h"
#include"SD_Card/CRC16.h"
#define SPI_CLOCK 1500000 //SPI通信时的时钟频率.
unsigne
www.eeworm.com/read/438711/7727971
h sd_spi.h
#include"SD_Card/Sd_config.h"
#ifndef SD_SPI_H
#define SD_SPI_H
extern void SD_Init(void);
//SD_SSEL_CLR();
extern void Spi_IO_Init(void);
extern void Spi_Init(void);
typedef struct SD_ST
www.eeworm.com/read/437528/7746725
o spi.c.o
www.eeworm.com/read/437318/7751366
h sw_spi.h
#ifndef __SW_SPI_H
#define __SW_SPI_H
/* PIC18 Software SPI library header
*
* To use the software spi routines, the user must define
* the port and tris register for each of the CS, DIN, DO
www.eeworm.com/read/437148/7754346
c spi_flash.c
#include "spi_flash.h"
#define spi_flash_init reg_spi_ctrl=0x03;//no cs, IF enable
#define spi_flash_start reg_spi_ctrl=0x01;//cs, IF enable
#define spi_flash_end reg_spi_ctrl=0x03;//no cs, IF en