2022-11-23 23:59:23 +08:00
\hypertarget { bsp_ _ _ s_ d_ 8h_ source} { } \doxysection { bsp\+ \_ \+ \+ SD.\+ h}
2023-03-06 12:44:58 +08:00
\label { bsp_ _ _ s_ d_ 8h_ source} \index { D:/gitt/MicrochipFor32/bsp\_ Device/bsp\_ SPI/bsp\_ SD.h@{ D:/gitt/MicrochipFor32/bsp\_ Device/bsp\_ SPI/bsp\_ SD.h} }
2022-11-23 23:59:23 +08:00
\mbox { \hyperlink { bsp_ _ _ s_ d_ 8h} { 浏览该文件的文档.} }
\begin { DoxyCode} { 0}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00001} 00001 \textcolor { comment} { /*-\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00002} 00002 \textcolor { comment} { \# } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00003} 00003 \textcolor { comment} { \# Copyright (c) 2022 Yuankang Liang(XerolySkinner)} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00004} 00004 \textcolor { comment} { \# } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00005} 00005 \textcolor { comment} { \# 本软件按原样提供,无任何明示或暗示} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00006} 00006 \textcolor { comment} { \# 在任何情况下,作者都不承担任何损害赔偿责任} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00007} 00007 \textcolor { comment} { \# } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00008} 00008 \textcolor { comment} { \# 使用的许可声明:} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00009} 00009 \textcolor { comment} { \# 1. 不得歪曲本软件的来源,你不能声称你编写了原始软件.} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00010} 00010 \textcolor { comment} { \# 2. 免费授予以任何目的,前提是版权声明出现在所有副本中.} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00011} 00011 \textcolor { comment} { \# 并且版权声明和许可声明同时出现.} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00012} 00012 \textcolor { comment} { \# 3. 你有使用,复制,修改,分发,和销售本软件的许可.} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00013} 00013 \textcolor { comment} { \# 4. 如果你在产品中使用,产品文档中的声明是赞赏的但不是必须的.} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00014} 00014 \textcolor { comment} { \# 5. 本通知不得从任何来源删除或更改.} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00015} 00015 \textcolor { comment} { \# } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00016} 00016 \textcolor { comment} { \# Yuankang Liang(XerolySkinner)} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00017} 00017 \textcolor { comment} { \# E-\/ mail:zabbcccbbaz@163.com} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00018} 00018 \textcolor { comment} { \# QQ:2715099320} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00019} 00019 \textcolor { comment} { \# Mobile Phone:13005636215} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00020} 00020 \textcolor { comment} { \# } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00021} 00021 \textcolor { comment} { \# All rights reserved.} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00022} 00022 \textcolor { comment} { */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00023} 00023 }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00034} 00034 \textcolor { preprocessor} { \# pragma once} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00035} 00035 \textcolor { preprocessor} { \# ifdef \_ \_ cplusplus} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00037} 00037 \textcolor { comment} { //-\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00038} 00038 \textcolor { comment} { // 头文件} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00039} 00039 \textcolor { comment} { // } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00040} 00040 \textcolor { preprocessor} { \# include "{ } spi.h"{ } } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00041} 00041 \textcolor { preprocessor} { \# include "{ } \mbox { \hyperlink { varint_ 8h} { varint.h} } "{ } } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00043} 00043 \textcolor { comment} { //-\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00044} 00044 \textcolor { comment} { // 数据} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00045} 00045 \textcolor { comment} { // } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00046} 00046 \textcolor { comment} { //-\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00047} 00047 \textcolor { comment} { //SD卡类型} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00048} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a735563036dced0b7d6cc98f97ea4978b} { 00048} } \textcolor { preprocessor} { \# define ERR 0x00} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00049} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ ab5a7d5477e55758bde614bda3250a93c} { 00049} } \textcolor { preprocessor} { \# define MMC 0x01} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00050} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ ae21a9518b4dd62d2baeab430c89a657a} { 00050} } \textcolor { preprocessor} { \# define V1 0x02} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00051} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a9173468f90b474471bfff59f8487cbc1} { 00051} } \textcolor { preprocessor} { \# define V2 0x04} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00052} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ ae52e14c1b95e5162f4fe492d9b1b0fec} { 00052} } \textcolor { preprocessor} { \# define V2HC 0x06} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00053} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ adc81a065700d3af56b6fb631585e3641} { 00053} } \textcolor { preprocessor} { \# define DUMMY\_ BYTE 0xFF } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00054} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a5bda0c70032a9b8625ae5a3c55d21c38} { 00054} } \textcolor { preprocessor} { \# define MSD\_ BLOCKSIZE 512} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00055} 00055 \textcolor { comment} { //-\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00056} 00056 \textcolor { comment} { //CMD定义} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00057} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a938c1466755f12fb04ac0d1b775584d1} { 00057} } \textcolor { preprocessor} { \# define CMD0 0 } \textcolor { comment} { //卡复位} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00058} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ aca9979f299fa78c1128d778084478673} { 00058} } \textcolor { preprocessor} { \# define CMD1 1} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00059} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ ac75b3e0ad1fb013ea946fb49bbe65668} { 00059} } \textcolor { preprocessor} { \# define CMD8 8 } \textcolor { comment} { //命令8 , SEND\_ IF\_ COND} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00060} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a1fac6a251d7e7dc204d21639bf521459} { 00060} } \textcolor { preprocessor} { \# define CMD9 9 } \textcolor { comment} { //命令9 , 读CSD数据} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00061} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ ae7b800ed8e7bd52e6f570a5ce72b8104} { 00061} } \textcolor { preprocessor} { \# define CMD10 10 } \textcolor { comment} { //命令10, 读CID数据} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00062} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a8d6283c9b060afbaa0e6d1ff7e5ea7b8} { 00062} } \textcolor { preprocessor} { \# define CMD12 12 } \textcolor { comment} { //命令12, 停止数据传输} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00063} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ aaeab261b94f2031ba41a1d4d857c3541} { 00063} } \textcolor { preprocessor} { \# define CMD16 16 } \textcolor { comment} { //命令16, 设置SectorSize 应返回0x00} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00064} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a6bbfe7dc16a19b7f40efcf554b5666ad} { 00064} } \textcolor { preprocessor} { \# define CMD17 17 } \textcolor { comment} { //命令17, 读sector} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00065} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a3d32c27a6be061b865ba539127278f14} { 00065} } \textcolor { preprocessor} { \# define CMD18 18 } \textcolor { comment} { //命令18, 读Multi sector} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00066} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a14506e981f38b6177bc36f72c2ca18b1} { 00066} } \textcolor { preprocessor} { \# define CMD23 23 } \textcolor { comment} { //命令23, 设置多sector写入前预先擦除N个block} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00067} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a252300302c6f7960df547a7f5c25be85} { 00067} } \textcolor { preprocessor} { \# define CMD24 24 } \textcolor { comment} { //命令24, 写sector} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00068} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ aee2c673fba987178f4642531fdeefe9e} { 00068} } \textcolor { preprocessor} { \# define CMD25 25 } \textcolor { comment} { //命令25, 写Multi sector} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00069} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a3ca1450d0ac55d2705aab03537bf2865} { 00069} } \textcolor { preprocessor} { \# define CMD41 41 } \textcolor { comment} { //命令41, 应返回0x00} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00070} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a78289a7a85ffcfddd626694105dc0780} { 00070} } \textcolor { preprocessor} { \# define CMD55 55 } \textcolor { comment} { //命令55, 应返回0x01} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00071} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ aa7a26b2cf17e1ff5967820a1fa41a7aa} { 00071} } \textcolor { preprocessor} { \# define CMD58 58 } \textcolor { comment} { //命令58, 读OCR信息} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00072} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ aa8ea570644ddff6d18b63e4abbf39e0d} { 00072} } \textcolor { preprocessor} { \# define CMD59 59 } \textcolor { comment} { //命令59, 使能/禁止CRC, 应返回0x00} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00073} 00073 \textcolor { comment} { //-\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00074} 00074 \textcolor { comment} { //数据写入回应字意义} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00075} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ ab953703883503eb3ce420f096b1621d0} { 00075} } \textcolor { preprocessor} { \# define MSD\_ DATA\_ OK 0x05} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00076} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a7ba9783b76cf956a82211e058071f984} { 00076} } \textcolor { preprocessor} { \# define MSD\_ DATA\_ CRC\_ ERROR 0x0B} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00077} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a6a6a48e9e40eda37b834b23d5320dfdf} { 00077} } \textcolor { preprocessor} { \# define MSD\_ DATA\_ WRITE\_ ERROR 0x0D} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00078} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ ad68bbaecb6931999de71e8a6b703574f} { 00078} } \textcolor { preprocessor} { \# define MSD\_ DATA\_ OTHER\_ ERROR 0xFF} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00079} 00079 \textcolor { comment} { //SD卡回应标记字} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00080} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ afa5629413ae6bf82d3f1182df4cea0cf} { 00080} } \textcolor { preprocessor} { \# define MSD\_ RESPONSE\_ NO\_ ERROR 0x00} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00081} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a70bdd15776b2a749ae184132d2a5da28} { 00081} } \textcolor { preprocessor} { \# define MSD\_ IN\_ IDLE\_ STATE 0x01} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00082} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ ad0ce329dc56b89327987e754ab0e93b8} { 00082} } \textcolor { preprocessor} { \# define MSD\_ ERASE\_ RESET 0x02} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00083} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a80ede800869bbe11125170faf44ad94f} { 00083} } \textcolor { preprocessor} { \# define MSD\_ ILLEGAL\_ COMMAND 0x04} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00084} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a8c6cecbb8cb9921c38776a83ed4ad343} { 00084} } \textcolor { preprocessor} { \# define MSD\_ COM\_ CRC\_ ERROR 0x08} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00085} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a8c7923c819c9ba27f65a380f7360f429} { 00085} } \textcolor { preprocessor} { \# define MSD\_ ERASE\_ SEQUENCE\_ ERROR 0x10} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00086} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a211793a480ef462b7a1c55d6d36a8c25} { 00086} } \textcolor { preprocessor} { \# define MSD\_ ADDRESS\_ ERROR 0x20} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00087} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ ae3555061fbbb3bd2becaa0d1bdf6c825} { 00087} } \textcolor { preprocessor} { \# define MSD\_ PARAMETER\_ ERROR 0x40} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00088} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ ab5e7857b07a45a8828a235c55d3873ff} { 00088} } \textcolor { preprocessor} { \# define MSD\_ RESPONSE\_ FAILURE 0xFF} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00089} 00089 \textcolor { comment} { //-\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00090} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a81ab6678d52bfaa2c2dc9048f5215cf9} { 00090} } \textcolor { keyword} { enum} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a81ab6678d52bfaa2c2dc9048f5215cf9} { \_ CD\_ HOLD} } \{ }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00091} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a81ab6678d52bfaa2c2dc9048f5215cf9a9cfa27b414cab750fb14ec07cdf5cf6a} { 00091} } \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a81ab6678d52bfaa2c2dc9048f5215cf9a9cfa27b414cab750fb14ec07cdf5cf6a} { HOLD} } = 0, }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00092} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a81ab6678d52bfaa2c2dc9048f5215cf9ad590443978dc58d64aed5001f56efcdf} { 00092} } \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a81ab6678d52bfaa2c2dc9048f5215cf9ad590443978dc58d64aed5001f56efcdf} { RELEASE} } = 1, }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00093} 00093 \} ;}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00094} 00094 \textcolor { comment} { //-\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00095} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d} { 00095} } \textcolor { keyword} { typedef} \textcolor { keyword} { struct } \{ \textcolor { comment} { /* Card Specific Data */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00096} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a53c6d82426462a5f31a0e07bc2014d97} { 00096} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a53c6d82426462a5f31a0e07bc2014d97} { CSDStruct} } ; \textcolor { comment} { /* CSD structure */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00097} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a8709246fbcaa2984e8752e5d028a25e1} { 00097} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a8709246fbcaa2984e8752e5d028a25e1} { SysSpecVersion} } ; \textcolor { comment} { /* System specification version */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00098} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a43d9f48b7a10b9b16700cc4df7f944c0} { 00098} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a43d9f48b7a10b9b16700cc4df7f944c0} { Reserved1} } ; \textcolor { comment} { /* Reserved */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00099} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ ac80ef2c5f8eedf6e361b9d48da66d98d} { 00099} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ ac80ef2c5f8eedf6e361b9d48da66d98d} { TAAC} } ; \textcolor { comment} { /* Data read access-\/ time 1 */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00100} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ ae9fdc21394cb38fc96de03821b5b1f5b} { 00100} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ ae9fdc21394cb38fc96de03821b5b1f5b} { NSAC} } ; \textcolor { comment} { /* Data read access-\/ time 2 in CLK cycles */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00101} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ ae4fe7f59ec2c0fec2d5c5edc912de487} { 00101} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ ae4fe7f59ec2c0fec2d5c5edc912de487} { MaxBusClkFrec} } ; \textcolor { comment} { /* Max. bus clock frequency */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00102} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a235ebfcf7116a28eb8f7e2348b46c279} { 00102} } \mbox { \hyperlink { varint_ 8h_ ace9d960e74685e2cd84b36132dbbf8aa} { u16} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a235ebfcf7116a28eb8f7e2348b46c279} { CardComdClasses} } ; \textcolor { comment} { /* Card command classes */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00103} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a0d503ea30e3553e3dbf1d259c1835bca} { 00103} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a0d503ea30e3553e3dbf1d259c1835bca} { RdBlockLen} } ; \textcolor { comment} { /* Max. read data block length */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00104} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a7e302d0f797f25a53205bf683fcb9315} { 00104} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a7e302d0f797f25a53205bf683fcb9315} { PartBlockRead} } ; \textcolor { comment} { /* Partial blocks for read allowed */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00105} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ aaf61be1914d24eeef107b78d57f96f66} { 00105} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ aaf61be1914d24eeef107b78d57f96f66} { WrBlockMisalign} } ; \textcolor { comment} { /* Write block misalignment */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00106} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ ad4c2ce16da22ad02424466d1b42d04b0} { 00106} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ ad4c2ce16da22ad02424466d1b42d04b0} { RdBlockMisalign} } ; \textcolor { comment} { /* Read block misalignment */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00107} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a6010a523c29470b3fca2a179608bb165} { 00107} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a6010a523c29470b3fca2a179608bb165} { DSRImpl} } ; \textcolor { comment} { /* DSR implemented */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00108} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ af46b7c72145239d75dcf08e97a8015cb} { 00108} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ af46b7c72145239d75dcf08e97a8015cb} { Reserved2} } ; \textcolor { comment} { /* Reserved */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00109} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ ab2341b019f101f621817ab7f13f85321} { 00109} } \mbox { \hyperlink { varint_ 8h_ afaa62991928fb9fb18ff0db62a040aba} { u32} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ ab2341b019f101f621817ab7f13f85321} { DeviceSize} } ; \textcolor { comment} { /* Device Size */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00110} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a5f028ae76ae390e7efc7581863f86fa4} { 00110} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a5f028ae76ae390e7efc7581863f86fa4} { MaxRdCurrentVDDMin} } ; \textcolor { comment} { /* Max. read current @ VDD min */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00111} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a81dee06837a4a641a428af5271ce7881} { 00111} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a81dee06837a4a641a428af5271ce7881} { MaxRdCurrentVDDMax} } ; \textcolor { comment} { /* Max. read current @ VDD max */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00112} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a4312d08d19360f8cda0fdcefea8c58a8} { 00112} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a4312d08d19360f8cda0fdcefea8c58a8} { MaxWrCurrentVDDMin} } ; \textcolor { comment} { /* Max. write current @ VDD min */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00113} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a5a4157c022770f5f2a22da59f1287ec1} { 00113} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a5a4157c022770f5f2a22da59f1287ec1} { MaxWrCurrentVDDMax} } ; \textcolor { comment} { /* Max. write current @ VDD max */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00114} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a021add43b09781e1c4feb5a911bab718} { 00114} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a021add43b09781e1c4feb5a911bab718} { DeviceSizeMul} } ; \textcolor { comment} { /* Device size multiplier */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00115} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a3217bd2b49b77943bcb3e5a6f5f0e419} { 00115} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a3217bd2b49b77943bcb3e5a6f5f0e419} { EraseGrSize} } ; \textcolor { comment} { /* Erase group size */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00116} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a6d4b83a1a42edb0e08f674fa6e611d28} { 00116} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a6d4b83a1a42edb0e08f674fa6e611d28} { EraseGrMul} } ; \textcolor { comment} { /* Erase group size multiplier */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00117} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ aa21f77c612167167e40003b6d3784689} { 00117} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ aa21f77c612167167e40003b6d3784689} { WrProtectGrSize} } ; \textcolor { comment} { /* Write protect group size */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00118} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a0d11fc6f8c1e51d1b63887603eee8915} { 00118} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a0d11fc6f8c1e51d1b63887603eee8915} { WrProtectGrEnable} } ; \textcolor { comment} { /* Write protect group enable */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00119} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a1ee9e5144b15487f92f6d9ce59835428} { 00119} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a1ee9e5144b15487f92f6d9ce59835428} { ManDeflECC} } ; \textcolor { comment} { /* Manufacturer default ECC */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00120} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a3ededd192a17234569a584cbd72b12ae} { 00120} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a3ededd192a17234569a584cbd72b12ae} { WrSpeedFact} } ; \textcolor { comment} { /* Write speed factor */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00121} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a0dcba500cb60f6ce8d95864ae2eaa307} { 00121} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a0dcba500cb60f6ce8d95864ae2eaa307} { MaxWrBlockLen} } ; \textcolor { comment} { /* Max. write data block length */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00122} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a3c32bff0de0b6cba1f9bd3205159e6e4} { 00122} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a3c32bff0de0b6cba1f9bd3205159e6e4} { WriteBlockPaPartial} } ; \textcolor { comment} { /* Partial blocks for write allowed */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00123} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a83b44a54e8cefcfffdfb5a744d0bf3d5} { 00123} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a83b44a54e8cefcfffdfb5a744d0bf3d5} { Reserved3} } ; \textcolor { comment} { /* Reserded */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00124} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ aaadb152d2dce1323e589580ef0099fec} { 00124} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ aaadb152d2dce1323e589580ef0099fec} { ContentProtectAppli} } ; \textcolor { comment} { /* Content protection application */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00125} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a08f8247c46de7ef2b0677886470d7792} { 00125} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a08f8247c46de7ef2b0677886470d7792} { FileFormatGrouop} } ; \textcolor { comment} { /* File format group */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00126} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a17f58dd1f98e6e6376efe142f352cb59} { 00126} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a17f58dd1f98e6e6376efe142f352cb59} { CopyFlag} } ; \textcolor { comment} { /* Copy flag (OTP) */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00127} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a150bf25ff42008d58320a6b7e531c9ab} { 00127} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a150bf25ff42008d58320a6b7e531c9ab} { PermWrProtect} } ; \textcolor { comment} { /* Permanent write protection */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00128} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a3f2c48bb307e7779173e3563bbd5038f} { 00128} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a3f2c48bb307e7779173e3563bbd5038f} { TempWrProtect} } ; \textcolor { comment} { /* Temporary write protection */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00129} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ ac3510e157155d4b9d9f67591b1cb0c8e} { 00129} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ ac3510e157155d4b9d9f67591b1cb0c8e} { FileFormat} } ; \textcolor { comment} { /* File Format */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00130} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a1e153d660ffe4bbafa596d4b0b8c2906} { 00130} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a1e153d660ffe4bbafa596d4b0b8c2906} { ECC} } ; \textcolor { comment} { /* ECC code */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00131} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a81e9f99cdd87dd2e0305b3b191aa5226} { 00131} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a81e9f99cdd87dd2e0305b3b191aa5226} { CSD\_ CRC} } ; \textcolor { comment} { /* CSD CRC */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00132} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a36b124f6ffc0716dc0dc93c407b975d1} { 00132} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d_ a36b124f6ffc0716dc0dc93c407b975d1} { Reserved4} } ; \textcolor { comment} { /* always 1*/} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00133} 00133 \} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d} { MSD\_ CSD} } ;}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00134} 00134 }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00135} 00135 \textcolor { comment} { //-\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00136} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d} { 00136} } \textcolor { keyword} { typedef} \textcolor { keyword} { struct } \{ \textcolor { comment} { /*Card Identification Data*/} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00137} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ a5ae9ad5d65182a34e20b87fa2752010e} { 00137} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ a5ae9ad5d65182a34e20b87fa2752010e} { ManufacturerID} } ; \textcolor { comment} { /* ManufacturerID */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00138} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ acd04644e46f7ceca82bbe9bdc80f1d53} { 00138} } \mbox { \hyperlink { varint_ 8h_ ace9d960e74685e2cd84b36132dbbf8aa} { u16} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ acd04644e46f7ceca82bbe9bdc80f1d53} { OEM\_ AppliID} } ; \textcolor { comment} { /* OEM/Application ID */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00139} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ ab7e359a09fecf1fa2d1b18e708dcc292} { 00139} } \mbox { \hyperlink { varint_ 8h_ afaa62991928fb9fb18ff0db62a040aba} { u32} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ ab7e359a09fecf1fa2d1b18e708dcc292} { ProdName1} } ; \textcolor { comment} { /* Product Name part1 */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00140} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ ad0d7606f38a0140075647fb3f66614ea} { 00140} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ ad0d7606f38a0140075647fb3f66614ea} { ProdName2} } ; \textcolor { comment} { /* Product Name part2*/} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00141} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ acd9fbacd30fdff0eef7d885ad4ec438b} { 00141} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ acd9fbacd30fdff0eef7d885ad4ec438b} { ProdRev} } ; \textcolor { comment} { /* Product Revision */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00142} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ a0c5c88d258f73f17a496f3b92d9cfd5c} { 00142} } \mbox { \hyperlink { varint_ 8h_ afaa62991928fb9fb18ff0db62a040aba} { u32} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ a0c5c88d258f73f17a496f3b92d9cfd5c} { ProdSN} } ; \textcolor { comment} { /* Product Serial Number */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00143} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ a1be2e4d82c95f2d158ce5f5157a7fd5b} { 00143} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ a1be2e4d82c95f2d158ce5f5157a7fd5b} { Reserved1} } ; \textcolor { comment} { /* Reserved1 */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00144} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ a55015d75002e50ff4f23cd19c9b5c90a} { 00144} } \mbox { \hyperlink { varint_ 8h_ ace9d960e74685e2cd84b36132dbbf8aa} { u16} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ a55015d75002e50ff4f23cd19c9b5c90a} { ManufactDate} } ; \textcolor { comment} { /* Manufacturing Date */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00145} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ a61fe89c386eb7bf7b8e2ba44545168de} { 00145} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ a61fe89c386eb7bf7b8e2ba44545168de} { CID\_ CRC} } ; \textcolor { comment} { /* CID CRC */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00146} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ aac8e73e305ea1ff29ae195a6c0a63e05} { 00146} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d_ aac8e73e305ea1ff29ae195a6c0a63e05} { Reserved2} } ; \textcolor { comment} { /* always 1 */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00147} 00147 \} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d} { MSD\_ CID} } ;}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00148} 00148 \textcolor { comment} { //-\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00149} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o} { 00149} } \textcolor { keyword} { typedef} \textcolor { keyword} { struct } \{ }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00150} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o_ a9893f18007a0897aa45869e703f4cc2a} { 00150} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ s_ d} { MSD\_ CSD} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o_ a9893f18007a0897aa45869e703f4cc2a} { CSD} } ;}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00151} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o_ ab267c45d70fa28f9ff17829fa8753509} { 00151} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ i_ d} { MSD\_ CID} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o_ ab267c45d70fa28f9ff17829fa8753509} { CID} } ;}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00152} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o_ a4e5da8ba91229ac3ccb2d3f11f1ab4bf} { 00152} } \mbox { \hyperlink { varint_ 8h_ afaa62991928fb9fb18ff0db62a040aba} { u32} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o_ a4e5da8ba91229ac3ccb2d3f11f1ab4bf} { Capacity} } ; \textcolor { comment} { /* Card Capacity */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00153} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o_ aadaf986217b3c403be1cc4a2fd2fd148} { 00153} } \mbox { \hyperlink { varint_ 8h_ afaa62991928fb9fb18ff0db62a040aba} { u32} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o_ aadaf986217b3c403be1cc4a2fd2fd148} { BlockSize} } ; \textcolor { comment} { /* Card Block Size */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00154} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o_ aee98628e11a144ac136f22aefcab744a} { 00154} } \mbox { \hyperlink { varint_ 8h_ ace9d960e74685e2cd84b36132dbbf8aa} { u16} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o_ aee98628e11a144ac136f22aefcab744a} { RCA} } ;}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00155} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o_ a8f29efd96df6abb8cd6353787eebca04} { 00155} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o_ a8f29efd96df6abb8cd6353787eebca04} { CardType} } ;}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00156} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o_ a1c923e804e2658280f90cdbfaefe1568} { 00156} } \mbox { \hyperlink { varint_ 8h_ afaa62991928fb9fb18ff0db62a040aba} { u32} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o_ a1c923e804e2658280f90cdbfaefe1568} { SpaceTotal} } ; \textcolor { comment} { /* Total space size in file system */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00157} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o_ a6d9423ab31cd74088dc7b8aadaa20e24} { 00157} } \mbox { \hyperlink { varint_ 8h_ afaa62991928fb9fb18ff0db62a040aba} { u32} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o_ a6d9423ab31cd74088dc7b8aadaa20e24} { SpaceFree} } ;}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00158} 00158 \} \textcolor { comment} { /* Free space size in file system */} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00159} 00159 \textcolor { comment} { //-\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00160} \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a64c818be5c771b5bcfd5cbd998c0f9c6} { 00160} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o} { MSD\_ CARDINFO} } , *\mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a64c818be5c771b5bcfd5cbd998c0f9c6} { PMSD\_ CARDINFO} } ;}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00161} 00161 \textcolor { keyword} { extern} \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o} { MSD\_ CARDINFO} } \mbox { \hyperlink { bsp_ _ _ s_ d_ 8h_ a2c85a6a257358283b46ba829ae0c2dba} { SD0\_ CardInfo} } ;}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00163} 00163 \textcolor { comment} { //-\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ -\/ } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00164} 00164 \textcolor { comment} { // 类目} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00165} 00165 \textcolor { comment} { // } }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00169} \mbox { \hyperlink { classbsp_ _ _ s_ d} { 00169} } \textcolor { comment} { } \textcolor { keyword} { class } \mbox { \hyperlink { classbsp_ _ _ s_ d} { bsp\_ SD} } \{ }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00170} 00170 \textcolor { keyword} { public} :}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00171} 00171 \mbox { \hyperlink { classbsp_ _ _ s_ d} { bsp\_ SD} } (SPI\_ HandleTypeDef *\mbox { \hyperlink { classbsp_ _ _ s_ d_ a227c7eb7a28e89d6adfda085a4217992} { hspi} } ,GPIO\_ TypeDef *\mbox { \hyperlink { classbsp_ _ _ s_ d_ ad7788d2e62152a2fb1a6b307fa902180} { GPIOx\_ CS} } ,uint16\_ t \mbox { \hyperlink { classbsp_ _ _ s_ d_ a4525b5c0f62e39af1c9adb9a9c22239f} { GPIO\_ Pin\_ CS} } );}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00172} 00172 \textcolor { keyword} { public} :}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00173} 00173 \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { classbsp_ _ _ s_ d_ a1e0a3f09367627bcafc8efaaeb90b066} { SD\_ init} } (\textcolor { keywordtype} { void} );}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00174} 00174 \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { classbsp_ _ _ s_ d_ a96f32b50ec777acc0dd819150cd28937} { SD\_ ReadDisk} } (\mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } * buf, \mbox { \hyperlink { varint_ 8h_ afaa62991928fb9fb18ff0db62a040aba} { u32} } sector, \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } cnt);}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00175} 00175 \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { classbsp_ _ _ s_ d_ af203b65e00206d38ef14640f7b7242b6} { SD\_ WriteDisk} } (\mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } * buf, \mbox { \hyperlink { varint_ 8h_ afaa62991928fb9fb18ff0db62a040aba} { u32} } sector, \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } cnt);}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00176} 00176 \mbox { \hyperlink { varint_ 8h_ afaa62991928fb9fb18ff0db62a040aba} { u32} } \mbox { \hyperlink { classbsp_ _ _ s_ d_ a600cc886dc5da6d34f75d0bf226c1b92} { SD\_ GetSectorCount} } (\textcolor { keywordtype} { void} );}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00177} 00177 \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { classbsp_ _ _ s_ d_ a164f0bb03133464f2da485f362a52718} { offsetWrite} } (\mbox { \hyperlink { varint_ 8h_ a3f7e2bcbb0b4c338f3c4f6c937cd4234} { u64} } offset,\mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } * dat,\mbox { \hyperlink { varint_ 8h_ a3f7e2bcbb0b4c338f3c4f6c937cd4234} { u64} } datlen);}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00178} 00178 \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { classbsp_ _ _ s_ d_ a1c78e6f5a72f3bdec600a52331dd4d20} { offsetRead} } (\mbox { \hyperlink { varint_ 8h_ a3f7e2bcbb0b4c338f3c4f6c937cd4234} { u64} } offset,\mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } * dat,\mbox { \hyperlink { varint_ 8h_ a3f7e2bcbb0b4c338f3c4f6c937cd4234} { u64} } datlen);}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00179} 00179 \textcolor { keyword} { private} :}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00180} \mbox { \hyperlink { classbsp_ _ _ s_ d_ a227c7eb7a28e89d6adfda085a4217992} { 00180} } SPI\_ HandleTypeDef *\mbox { \hyperlink { classbsp_ _ _ s_ d_ a227c7eb7a28e89d6adfda085a4217992} { hspi} } ;}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00181} \mbox { \hyperlink { classbsp_ _ _ s_ d_ ad7788d2e62152a2fb1a6b307fa902180} { 00181} } GPIO\_ TypeDef *\mbox { \hyperlink { classbsp_ _ _ s_ d_ ad7788d2e62152a2fb1a6b307fa902180} { GPIOx\_ CS} } ;}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00182} \mbox { \hyperlink { classbsp_ _ _ s_ d_ a4525b5c0f62e39af1c9adb9a9c22239f} { 00182} } uint16\_ t \mbox { \hyperlink { classbsp_ _ _ s_ d_ a4525b5c0f62e39af1c9adb9a9c22239f} { GPIO\_ Pin\_ CS} } ;}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00183} 00183 }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00184} \mbox { \hyperlink { classbsp_ _ _ s_ d_ a6c68fa82294f18968a92719931cff5fa} { 00184} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { classbsp_ _ _ s_ d_ a6c68fa82294f18968a92719931cff5fa} { DFF} } ;}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00185} \mbox { \hyperlink { classbsp_ _ _ s_ d_ a2350601b90ad75bd434094a9c31475c4} { 00185} } \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { classbsp_ _ _ s_ d_ a2350601b90ad75bd434094a9c31475c4} { SD\_ TYPE} } ;}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00186} \mbox { \hyperlink { classbsp_ _ _ s_ d_ aab1487286ac43dc9110e65b52c850de4} { 00186} } \mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o} { MSD\_ CARDINFO} } \mbox { \hyperlink { classbsp_ _ _ s_ d_ aab1487286ac43dc9110e65b52c850de4} { SD0\_ CardInfo} } ;}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00187} 00187 }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00188} 00188 \textcolor { keywordtype} { void} \mbox { \hyperlink { classbsp_ _ _ s_ d_ a3250f411819ed57543b0326d13faddc6} { SD\_ CS} } (\mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } p);}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00189} 00189 \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { classbsp_ _ _ s_ d_ a25bc03ff69d0c3c9a73153c71c84a8b0} { SD\_ GETCID} } (\mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } * cid\_ data);}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00190} 00190 \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { classbsp_ _ _ s_ d_ ad0426f6a4b550e60a926c95724d81665} { SD\_ GETCSD} } (\mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } * csd\_ data);}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00191} 00191 \textcolor { keywordtype} { int} \mbox { \hyperlink { classbsp_ _ _ s_ d_ aaf2d27cc9275f3ffa71556124f143d12} { MSD0\_ GetCardInfo} } (\mbox { \hyperlink { struct_ m_ s_ d_ _ _ c_ a_ r_ d_ i_ n_ f_ o} { PMSD\_ CARDINFO} } \mbox { \hyperlink { classbsp_ _ _ s_ d_ aab1487286ac43dc9110e65b52c850de4} { SD0\_ CardInfo} } );}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00192} 00192 \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { classbsp_ _ _ s_ d_ a242ec4ccd88203b6691cf4ae1e77fdfe} { SD\_ ReceiveData} } (\mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } * data, \mbox { \hyperlink { varint_ 8h_ ace9d960e74685e2cd84b36132dbbf8aa} { u16} } len);}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00193} 00193 \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { classbsp_ _ _ s_ d_ a2df843979bb4c764422a37b255c184ea} { SD\_ SendBlock} } (\mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } * buf, \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } cmd);}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00194} 00194 \mbox { \hyperlink { varint_ 8h_ afaa62991928fb9fb18ff0db62a040aba} { u32} } \mbox { \hyperlink { classbsp_ _ _ s_ d_ ab799d7d8ebaf4c304bf62722ba10ba37} { SD\_ sendcmd} } (\mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } cmd, \mbox { \hyperlink { varint_ 8h_ afaa62991928fb9fb18ff0db62a040aba} { u32} } arg, \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } crc);}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00195} 00195 }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00196} 00196 \textcolor { keywordtype} { void} \mbox { \hyperlink { classbsp_ _ _ s_ d_ a5ed95b95b141ee21d83ca70c1b06a31a} { SPI\_ setspeed} } (\mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } speed);}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00197} 00197 \mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } \mbox { \hyperlink { classbsp_ _ _ s_ d_ a36d1110bcbe2404ddd5796dc078ce1f5} { spi\_ readwrite} } (\mbox { \hyperlink { varint_ 8h_ a92c50087ca0e64fa93fc59402c55f8ca} { u8} } Txdata);}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00198} 00198 \} ;}
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00200} 00200 \textcolor { preprocessor} { \# endif} }
\DoxyCodeLine { \Hypertarget { bsp_ _ _ s_ d_ 8h_ source_ l00201} 00201 }
\end { DoxyCode}