代码搜索结果
找到约 10,000 项符合
SD Card 的代码
sd.txt
Main()
{
SD_Init();
SD卡写
SD卡读
}
命令写,命令END
数据写,数据END
CRC
sd.c
/*-----------------------------------------------------------
SPI串行flash-at45db161d读写函数
作者:zbw 日期:2007.10.25 版本:v1.0
包含文件:SD.C SD.H
功能:运用AVR硬件SPI完成对芯片的不同方式的读写,各个函数的
sd.h
#ifndef _SD_H_
#define _SD_H_
#define SD_Write PORTB //SPI port register
#define SD_READ PINB //Data PIN
#define SD_Direction_REG DDRB //Direction register
#define SPI_DI 4
sd.c
#include "sd.h"
void SPI1_Init(INT8U speed)
{
SPI1_CS_GPIO();
SPI1_CS_OUT();
PINSEL1 &= ~((0x03
sd.h
#include "LPC2294.h"
typedef unsigned char uint8;
typedef signed char int8;
typedef unsigned short uint16;
typedef signed short int16;
typedef unsigned i