加入微积分库
This commit is contained in:
190
Doc/latex/bsp___s_d_8h_source.tex
Normal file
190
Doc/latex/bsp___s_d_8h_source.tex
Normal file
@@ -0,0 +1,190 @@
|
||||
\hypertarget{bsp___s_d_8h_source}{}\doxysection{bsp\+\_\+\+SD.\+h}
|
||||
\label{bsp___s_d_8h_source}\index{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_SD.h@{D:/gitt/MicrochipFor32/bsp\_Device/bsp\_SD.h}}
|
||||
\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}
|
||||
Reference in New Issue
Block a user