资源简介
TI 官方提供的SD卡、MMC卡读写程序。
支持4G以下的读写操作,本人已经验证,谢谢
代码片段和文件信息
//----------------------------------------------------------------------------
// This file contains functions that allow the MSP430 device to access the
// SPI interface. There are multiple instances of each function;
// the one to be compiled is selected by the system variable
// SPI_SER_INTF defined in “hal_hardware_board.h“.
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
// void halSPISetup(void)
//
// DEscriptION:
// Configures the assigned interface to function as a SPI port and
// initializes it.
//----------------------------------------------------------------------------
// void halSPIWriteReg(char addr char value)
//
// DEscriptION:
// Writes “value“ to a single configuration register at address “addr“.
//----------------------------------------------------------------------------
// void halSPIWriteBurstReg(char addr char *buffer char count)
//
// DEscriptION:
// Writes values to multiple configuration registers the first register being
// at address “addr“. First data byte is at “buffer“ and both addr and
// buffer are incremented sequentially (within the CCxxxx and MSP430
// respectively) until “count“ writes have been performed.
//----------------------------------------------------------------------------
// char halSPIReadReg(char addr)
//
// DEscriptION:
// Reads a single configuration register at address “addr“ and returns the
// value read.
//----------------------------------------------------------------------------
// void halSPIReadBurstReg(char addr char *buffer char count)
//
// DEscriptION:
// Reads multiple configuration registers the first register being at address
// “addr“. Values read are deposited sequentially starting at address
// “buffer“ until “count“ registers have been read.
//----------------------------------------------------------------------------
// char halSPIReadStatus(char addr)
//
// DEscriptION:
// Special read function for reading status registers. Reads status register
// at register “addr“ and returns the value read.
//----------------------------------------------------------------------------
// void halSPIStrobe(char strobe)
//
// DEscriptION:
// Special write function for writing to command strobe registers. Writes
// to the strobe at address “addr“.
//----------------------------------------------------------------------------
/* ***********************************************************
* THIS PROGRAM IS PROVIDED “AS IS“. TI MAKES NO WARRANTIES OR
* REPRESENTATIONS EITHER EXPRESS IMPLIED OR STATUTORY
* INCLUDING ANY IMPLIED WARRANTIES OF MERCHANTABILITY FITNESS
* FOR A PARTICULAR PURPOSE LACK OF VIRUSES ACCURACY OR
* COMPLETENESS OF RESPONSES RESULTS AND LACK OF NEGLIGENCE.
* TI DISCLAIMS ANY WARRANTY OF title QUIET ENJOYMENT QUIET
* POSSESSION AND NO
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2006-01-17 20:16 MMC_lib\
目录 0 2006-01-17 20:54 usage_example_IAR\
文件 534 2007-12-08 20:59 MMC_lib\hal_hardware_board.h
文件 4854 2008-01-23 20:53 MMC_lib\hal_MMC_hardware_board.h
文件 15128 2008-01-23 20:55 MMC_lib\hal_SPI.c
文件 4592 2008-01-23 20:44 MMC_lib\hal_SPI.h
文件 15411 2008-01-24 20:37 MMC_lib\mmc.c
文件 4407 2008-01-24 20:32 MMC_lib\MMC.h
文件 5859 2008-04-01 15:41 usage_example_IAR\main.c
文件 44938 2007-12-04 13:45 usage_example_IAR\MMC_Demo1.ewp
文件 163 2005-07-27 15:09 usage_example_IAR\MMC_Demo1.eww
- 上一篇:基于51单片机的GSM功能实现
- 下一篇:操作系统——思维导图
相关资源
- 基本放大电路multisim仿真.ms14
- 基于FPGA的sdi视频传输工程(k7_sdi_rx
-
Actionsc
ript 1.0实现能跟随鼠标运动的 - IAR for MSP430 v7.10.1 注册机
- CCS5.05.1可使用的license
- TI CCS V5.4 安装步骤及破解文件
- 由浅入深,蓝牙4.0/BLE协议栈开发攻略
-
AN_BLE-SDKDH-C1_Teli
nk BLE SDK DeveloperHan - The direction of synaptic plasticity mediated
- Reparatory Effects of Nicotine on NMDA Recepto
- Apolipoprotein E4 Impairs in vivo Hippocampal
- Histamine excites rat lateral vestibular nucle
- Diltiazem augmented pentobarbital-induced LORR
- LenovoTinkPad; Marker 5.01
- SD卡,TF卡修复工具 能够恢复SD卡的真
- Fabrication and all-optical poling characteris
- Rtx51_tiny_RTOS中文版.pdf
- porting.RTEMS移植指南.双语.V20131224.pdf
- 基于MSP430G2553的蓝牙控制小车
- mybatis连接oracle实例
- adams vibration 练习原文件
- 利用DS1302和msp430进行闹钟和万年历的
- STM32基于rt_thread操作系统的SDHC卡文件
- 华为SDH原理教材(很经典的)
- hidusage.h hidpi.h 等USB开发用头文件
- msp430F149操作红外接收模块源码
- LzmaLib
- 51模拟SPI读写SD卡(包括Fat和Fat32文件
-
开源tinyxm
l - [免费]msp430f149控制PS2键盘并用1602显示
评论
共有 条评论