资源简介
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功能实现
- 下一篇:操作系统——思维导图
相关资源
- 基于stm32f4的SPI操作SD卡的FatFS移植
- 纯净的SSM集成环境Maven构建的SpringMV
- MSP430G2553的DAC7811程序
- TI 官方的 IQMATH库
- mentor expedition library中心库文件
- 数字时钟基于Multisim
- EN50129 Railway applications - Communication s
- log4j.properties日志配置文件
- STC 15XX 单片机Altium Designer元件库封装
- ArcgisDesktop10.2.2.zip
- Generalized Benders Decomposition 学习笔记论
- shop二次开发说明文档
- 基于attiny13的pwm和ad采样程序
- Multisim14汉化包 解压即可使用
- 地理空间数据云TIF格式DEM如何转换成
- 情感计算 Affective Computing 经典论文
- 卡耐基 SSD8答案(全 exam+qiuz+excerise)
- 卡耐基 SSD7答案(全 exam+qiuz+excerise)
- 加入过滤器的双均线策略
- 基于MSP430单片机的SD卡读写.pdf
- continued fraction
- 编队飞行编队控制问题
- STM32F103C8T6库Altium Designer
- msp430 timerA,包括捕获比较功能,已用
- tiny4412 + qtopia + v4l2 + usb camera
- 文件浏览 打开sdcard文件夹。只显示文
- cordova跳转原生Activity
- PowerSolutionDOTNetOLE
- 基于MSP430超声波测距系统的设计与开
-
tinyxm
l2++介绍文档
评论
共有 条评论