You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

class_sd_spi_base_driver.html 19KB

пре 10 година
пре 8 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 8 година
пре 10 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 9 година
пре 8 година
пре 9 година
пре 8 година
пре 9 година
пре 8 година
пре 9 година
пре 8 година
пре 10 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
пре 8 година
пре 10 година
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.10"/>
  7. <title>SdFat: SdSpiBaseDriver Class Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/searchdata.js"></script>
  13. <script type="text/javascript" src="search/search.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function() { init_search(); });
  16. </script>
  17. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  18. </head>
  19. <body>
  20. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  21. <div id="titlearea">
  22. <table cellspacing="0" cellpadding="0">
  23. <tbody>
  24. <tr style="height: 56px;">
  25. <td id="projectalign" style="padding-left: 0.5em;">
  26. <div id="projectname">SdFat
  27. </div>
  28. </td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generated by Doxygen 1.8.10 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  41. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  42. <li><a href="files.html"><span>Files</span></a></li>
  43. <li>
  44. <div id="MSearchBox" class="MSearchBoxInactive">
  45. <span class="left">
  46. <img id="MSearchSelect" src="search/mag_sel.png"
  47. onmouseover="return searchBox.OnSearchSelectShow()"
  48. onmouseout="return searchBox.OnSearchSelectHide()"
  49. alt=""/>
  50. <input type="text" id="MSearchField" value="Search" accesskey="S"
  51. onfocus="searchBox.OnSearchFieldFocus(true)"
  52. onblur="searchBox.OnSearchFieldFocus(false)"
  53. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  54. </span><span class="right">
  55. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  56. </span>
  57. </div>
  58. </li>
  59. </ul>
  60. </div>
  61. <div id="navrow2" class="tabs2">
  62. <ul class="tablist">
  63. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  64. <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
  65. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  66. </ul>
  67. </div>
  68. <!-- window showing the filter options -->
  69. <div id="MSearchSelectWindow"
  70. onmouseover="return searchBox.OnSearchSelectShow()"
  71. onmouseout="return searchBox.OnSearchSelectHide()"
  72. onkeydown="return searchBox.OnSearchSelectKey(event)">
  73. </div>
  74. <!-- iframe showing the search results (closed by default) -->
  75. <div id="MSearchResultsWindow">
  76. <iframe src="javascript:void(0)" frameborder="0"
  77. name="MSearchResults" id="MSearchResults">
  78. </iframe>
  79. </div>
  80. </div><!-- top -->
  81. <div class="header">
  82. <div class="summary">
  83. <a href="#pub-methods">Public Member Functions</a> &#124;
  84. <a href="class_sd_spi_base_driver-members.html">List of all members</a> </div>
  85. <div class="headertitle">
  86. <div class="title">SdSpiBaseDriver Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
  87. </div><!--header-->
  88. <div class="contents">
  89. <p>SPI base driver.
  90. <a href="class_sd_spi_base_driver.html#details">More...</a></p>
  91. <p><code>#include &lt;SdSpiBaseDriver.h&gt;</code></p>
  92. <div class="dynheader">
  93. Inheritance diagram for SdSpiBaseDriver:</div>
  94. <div class="dyncontent">
  95. <div class="center"><img src="class_sd_spi_base_driver__inherit__graph.png" border="0" usemap="#_sd_spi_base_driver_inherit__map" alt="Inheritance graph"/></div>
  96. <map name="_sd_spi_base_driver_inherit__map" id="_sd_spi_base_driver_inherit__map">
  97. <area shape="rect" id="node2" href="class_sd_spi_soft_driver.html" title="Software SPI class for access to SD and SDHC flash memory cards. " alt="" coords="5,80,180,121"/>
  98. </map>
  99. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  100. <table class="memberdecls">
  101. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  102. Public Member Functions</h2></td></tr>
  103. <tr class="memitem:ab7e6974c19d1b1543e242c8a717cfd8f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_spi_base_driver.html#ab7e6974c19d1b1543e242c8a717cfd8f">activate</a> ()=0</td></tr>
  104. <tr class="separator:ab7e6974c19d1b1543e242c8a717cfd8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:a287ec377c2a214bdb964f59a25ad7dd4"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_spi_base_driver.html#a287ec377c2a214bdb964f59a25ad7dd4">begin</a> (uint8_t chipSelectPin)=0</td></tr>
  106. <tr class="separator:a287ec377c2a214bdb964f59a25ad7dd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  107. <tr class="memitem:a1768309c7ba4f8d78c2ba62383462de2"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_spi_base_driver.html#a1768309c7ba4f8d78c2ba62383462de2">deactivate</a> ()=0</td></tr>
  108. <tr class="separator:a1768309c7ba4f8d78c2ba62383462de2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:a5f020c62122d020e4603c0ee2c906668"><td class="memItemLeft" align="right" valign="top">virtual uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_spi_base_driver.html#a5f020c62122d020e4603c0ee2c906668">receive</a> ()=0</td></tr>
  110. <tr class="separator:a5f020c62122d020e4603c0ee2c906668"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:a556cc7d8afb70a7f50c64f212df60f06"><td class="memItemLeft" align="right" valign="top">virtual uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_spi_base_driver.html#a556cc7d8afb70a7f50c64f212df60f06">receive</a> (uint8_t *buf, size_t n)=0</td></tr>
  112. <tr class="separator:a556cc7d8afb70a7f50c64f212df60f06"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:a3dd831b876fc59747b17a3037085da00"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_spi_base_driver.html#a3dd831b876fc59747b17a3037085da00">select</a> ()=0</td></tr>
  114. <tr class="separator:a3dd831b876fc59747b17a3037085da00"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:aa36ce5b4e227ee505ae4eb3e89e7a4e4"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_spi_base_driver.html#aa36ce5b4e227ee505ae4eb3e89e7a4e4">send</a> (uint8_t data)=0</td></tr>
  116. <tr class="separator:aa36ce5b4e227ee505ae4eb3e89e7a4e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  117. <tr class="memitem:af7731e0ab36b5f75d917cbdaa8c8cb17"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_spi_base_driver.html#af7731e0ab36b5f75d917cbdaa8c8cb17">send</a> (const uint8_t *buf, size_t n)=0</td></tr>
  118. <tr class="separator:af7731e0ab36b5f75d917cbdaa8c8cb17"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:ae8bc46d4585ad76587bafa4a49bfd248"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_spi_base_driver.html#ae8bc46d4585ad76587bafa4a49bfd248">setSpiSettings</a> (SPISettings spiSettings)=0</td></tr>
  120. <tr class="separator:ae8bc46d4585ad76587bafa4a49bfd248"><td class="memSeparator" colspan="2">&#160;</td></tr>
  121. <tr class="memitem:a5210d976ca6b1ef50619cb29054eae71"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_spi_base_driver.html#a5210d976ca6b1ef50619cb29054eae71">unselect</a> ()=0</td></tr>
  122. <tr class="separator:a5210d976ca6b1ef50619cb29054eae71"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. </table>
  124. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  125. <div class="textblock"><p>SPI base driver. </p>
  126. </div><h2 class="groupheader">Member Function Documentation</h2>
  127. <a class="anchor" id="ab7e6974c19d1b1543e242c8a717cfd8f"></a>
  128. <div class="memitem">
  129. <div class="memproto">
  130. <table class="mlabels">
  131. <tr>
  132. <td class="mlabels-left">
  133. <table class="memname">
  134. <tr>
  135. <td class="memname">virtual void SdSpiBaseDriver::activate </td>
  136. <td>(</td>
  137. <td class="paramname"></td><td>)</td>
  138. <td></td>
  139. </tr>
  140. </table>
  141. </td>
  142. <td class="mlabels-right">
  143. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  144. </tr>
  145. </table>
  146. </div><div class="memdoc">
  147. <p>Set SPI options for access to SD/SDHC cards. </p>
  148. <p>Implemented in <a class="el" href="class_sd_spi_soft_driver.html#a10c2eb17cb8b467067bc767a1e59859f">SdSpiSoftDriver&lt; MisoPin, MosiPin, SckPin &gt;</a>.</p>
  149. </div>
  150. </div>
  151. <a class="anchor" id="a287ec377c2a214bdb964f59a25ad7dd4"></a>
  152. <div class="memitem">
  153. <div class="memproto">
  154. <table class="mlabels">
  155. <tr>
  156. <td class="mlabels-left">
  157. <table class="memname">
  158. <tr>
  159. <td class="memname">virtual void SdSpiBaseDriver::begin </td>
  160. <td>(</td>
  161. <td class="paramtype">uint8_t&#160;</td>
  162. <td class="paramname"><em>chipSelectPin</em></td><td>)</td>
  163. <td></td>
  164. </tr>
  165. </table>
  166. </td>
  167. <td class="mlabels-right">
  168. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  169. </tr>
  170. </table>
  171. </div><div class="memdoc">
  172. <p>Initialize the SPI bus.</p>
  173. <dl class="params"><dt>Parameters</dt><dd>
  174. <table class="params">
  175. <tr><td class="paramdir">[in]</td><td class="paramname">chipSelectPin</td><td>SD card chip select pin. </td></tr>
  176. </table>
  177. </dd>
  178. </dl>
  179. <p>Implemented in <a class="el" href="class_sd_spi_soft_driver.html#a0c016f86abca805d8716052bab181660">SdSpiSoftDriver&lt; MisoPin, MosiPin, SckPin &gt;</a>.</p>
  180. </div>
  181. </div>
  182. <a class="anchor" id="a1768309c7ba4f8d78c2ba62383462de2"></a>
  183. <div class="memitem">
  184. <div class="memproto">
  185. <table class="mlabels">
  186. <tr>
  187. <td class="mlabels-left">
  188. <table class="memname">
  189. <tr>
  190. <td class="memname">virtual void SdSpiBaseDriver::deactivate </td>
  191. <td>(</td>
  192. <td class="paramname"></td><td>)</td>
  193. <td></td>
  194. </tr>
  195. </table>
  196. </td>
  197. <td class="mlabels-right">
  198. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  199. </tr>
  200. </table>
  201. </div><div class="memdoc">
  202. <p>End SPI transaction. </p>
  203. <p>Implemented in <a class="el" href="class_sd_spi_soft_driver.html#a03b5da2d9d0196212f17afbbc9bf784a">SdSpiSoftDriver&lt; MisoPin, MosiPin, SckPin &gt;</a>.</p>
  204. </div>
  205. </div>
  206. <a class="anchor" id="a5f020c62122d020e4603c0ee2c906668"></a>
  207. <div class="memitem">
  208. <div class="memproto">
  209. <table class="mlabels">
  210. <tr>
  211. <td class="mlabels-left">
  212. <table class="memname">
  213. <tr>
  214. <td class="memname">virtual uint8_t SdSpiBaseDriver::receive </td>
  215. <td>(</td>
  216. <td class="paramname"></td><td>)</td>
  217. <td></td>
  218. </tr>
  219. </table>
  220. </td>
  221. <td class="mlabels-right">
  222. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  223. </tr>
  224. </table>
  225. </div><div class="memdoc">
  226. <p>Receive a byte.</p>
  227. <dl class="section return"><dt>Returns</dt><dd>The byte. </dd></dl>
  228. <p>Implemented in <a class="el" href="class_sd_spi_soft_driver.html#a814d39a4eee44bd679801228595893b9">SdSpiSoftDriver&lt; MisoPin, MosiPin, SckPin &gt;</a>.</p>
  229. </div>
  230. </div>
  231. <a class="anchor" id="a556cc7d8afb70a7f50c64f212df60f06"></a>
  232. <div class="memitem">
  233. <div class="memproto">
  234. <table class="mlabels">
  235. <tr>
  236. <td class="mlabels-left">
  237. <table class="memname">
  238. <tr>
  239. <td class="memname">virtual uint8_t SdSpiBaseDriver::receive </td>
  240. <td>(</td>
  241. <td class="paramtype">uint8_t *&#160;</td>
  242. <td class="paramname"><em>buf</em>, </td>
  243. </tr>
  244. <tr>
  245. <td class="paramkey"></td>
  246. <td></td>
  247. <td class="paramtype">size_t&#160;</td>
  248. <td class="paramname"><em>n</em>&#160;</td>
  249. </tr>
  250. <tr>
  251. <td></td>
  252. <td>)</td>
  253. <td></td><td></td>
  254. </tr>
  255. </table>
  256. </td>
  257. <td class="mlabels-right">
  258. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  259. </tr>
  260. </table>
  261. </div><div class="memdoc">
  262. <p>Receive multiple bytes.</p>
  263. <dl class="params"><dt>Parameters</dt><dd>
  264. <table class="params">
  265. <tr><td class="paramdir">[out]</td><td class="paramname">buf</td><td>Buffer to receive the data. </td></tr>
  266. <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>Number of bytes to receive.</td></tr>
  267. </table>
  268. </dd>
  269. </dl>
  270. <dl class="section return"><dt>Returns</dt><dd>Zero for no error or nonzero error code. </dd></dl>
  271. <p>Implemented in <a class="el" href="class_sd_spi_soft_driver.html#ab068f18eeb629fe8a8fbeded9f7da760">SdSpiSoftDriver&lt; MisoPin, MosiPin, SckPin &gt;</a>.</p>
  272. </div>
  273. </div>
  274. <a class="anchor" id="a3dd831b876fc59747b17a3037085da00"></a>
  275. <div class="memitem">
  276. <div class="memproto">
  277. <table class="mlabels">
  278. <tr>
  279. <td class="mlabels-left">
  280. <table class="memname">
  281. <tr>
  282. <td class="memname">virtual void SdSpiBaseDriver::select </td>
  283. <td>(</td>
  284. <td class="paramname"></td><td>)</td>
  285. <td></td>
  286. </tr>
  287. </table>
  288. </td>
  289. <td class="mlabels-right">
  290. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  291. </tr>
  292. </table>
  293. </div><div class="memdoc">
  294. <p>Set CS low. </p>
  295. <p>Implemented in <a class="el" href="class_sd_spi_soft_driver.html#a9fc0ff9c851ef7d8cd3cea54827a901c">SdSpiSoftDriver&lt; MisoPin, MosiPin, SckPin &gt;</a>.</p>
  296. </div>
  297. </div>
  298. <a class="anchor" id="aa36ce5b4e227ee505ae4eb3e89e7a4e4"></a>
  299. <div class="memitem">
  300. <div class="memproto">
  301. <table class="mlabels">
  302. <tr>
  303. <td class="mlabels-left">
  304. <table class="memname">
  305. <tr>
  306. <td class="memname">virtual void SdSpiBaseDriver::send </td>
  307. <td>(</td>
  308. <td class="paramtype">uint8_t&#160;</td>
  309. <td class="paramname"><em>data</em></td><td>)</td>
  310. <td></td>
  311. </tr>
  312. </table>
  313. </td>
  314. <td class="mlabels-right">
  315. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  316. </tr>
  317. </table>
  318. </div><div class="memdoc">
  319. <p>Send a byte.</p>
  320. <dl class="params"><dt>Parameters</dt><dd>
  321. <table class="params">
  322. <tr><td class="paramdir">[in]</td><td class="paramname">data</td><td>Byte to send </td></tr>
  323. </table>
  324. </dd>
  325. </dl>
  326. <p>Implemented in <a class="el" href="class_sd_spi_soft_driver.html#a661b50258ff50405b49c75bca89dfd2d">SdSpiSoftDriver&lt; MisoPin, MosiPin, SckPin &gt;</a>.</p>
  327. </div>
  328. </div>
  329. <a class="anchor" id="af7731e0ab36b5f75d917cbdaa8c8cb17"></a>
  330. <div class="memitem">
  331. <div class="memproto">
  332. <table class="mlabels">
  333. <tr>
  334. <td class="mlabels-left">
  335. <table class="memname">
  336. <tr>
  337. <td class="memname">virtual void SdSpiBaseDriver::send </td>
  338. <td>(</td>
  339. <td class="paramtype">const uint8_t *&#160;</td>
  340. <td class="paramname"><em>buf</em>, </td>
  341. </tr>
  342. <tr>
  343. <td class="paramkey"></td>
  344. <td></td>
  345. <td class="paramtype">size_t&#160;</td>
  346. <td class="paramname"><em>n</em>&#160;</td>
  347. </tr>
  348. <tr>
  349. <td></td>
  350. <td>)</td>
  351. <td></td><td></td>
  352. </tr>
  353. </table>
  354. </td>
  355. <td class="mlabels-right">
  356. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  357. </tr>
  358. </table>
  359. </div><div class="memdoc">
  360. <p>Send multiple bytes.</p>
  361. <dl class="params"><dt>Parameters</dt><dd>
  362. <table class="params">
  363. <tr><td class="paramdir">[in]</td><td class="paramname">buf</td><td>Buffer for data to be sent. </td></tr>
  364. <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>Number of bytes to send. </td></tr>
  365. </table>
  366. </dd>
  367. </dl>
  368. <p>Implemented in <a class="el" href="class_sd_spi_soft_driver.html#ad0d391da39fb784a211d7607b2ea1480">SdSpiSoftDriver&lt; MisoPin, MosiPin, SckPin &gt;</a>.</p>
  369. </div>
  370. </div>
  371. <a class="anchor" id="ae8bc46d4585ad76587bafa4a49bfd248"></a>
  372. <div class="memitem">
  373. <div class="memproto">
  374. <table class="mlabels">
  375. <tr>
  376. <td class="mlabels-left">
  377. <table class="memname">
  378. <tr>
  379. <td class="memname">virtual void SdSpiBaseDriver::setSpiSettings </td>
  380. <td>(</td>
  381. <td class="paramtype">SPISettings&#160;</td>
  382. <td class="paramname"><em>spiSettings</em></td><td>)</td>
  383. <td></td>
  384. </tr>
  385. </table>
  386. </td>
  387. <td class="mlabels-right">
  388. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  389. </tr>
  390. </table>
  391. </div><div class="memdoc">
  392. <p>Save SPI settings. </p><dl class="params"><dt>Parameters</dt><dd>
  393. <table class="params">
  394. <tr><td class="paramdir">[in]</td><td class="paramname">spiSettings</td><td>SPI speed, mode, and bit order. </td></tr>
  395. </table>
  396. </dd>
  397. </dl>
  398. <p>Implemented in <a class="el" href="class_sd_spi_soft_driver.html#a8ea0646dcb016fa23bc192157255da26">SdSpiSoftDriver&lt; MisoPin, MosiPin, SckPin &gt;</a>.</p>
  399. </div>
  400. </div>
  401. <a class="anchor" id="a5210d976ca6b1ef50619cb29054eae71"></a>
  402. <div class="memitem">
  403. <div class="memproto">
  404. <table class="mlabels">
  405. <tr>
  406. <td class="mlabels-left">
  407. <table class="memname">
  408. <tr>
  409. <td class="memname">virtual void SdSpiBaseDriver::unselect </td>
  410. <td>(</td>
  411. <td class="paramname"></td><td>)</td>
  412. <td></td>
  413. </tr>
  414. </table>
  415. </td>
  416. <td class="mlabels-right">
  417. <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
  418. </tr>
  419. </table>
  420. </div><div class="memdoc">
  421. <p>Set CS high. </p>
  422. <p>Implemented in <a class="el" href="class_sd_spi_soft_driver.html#ab2eaea746989c3762e64bb3ef4faeee9">SdSpiSoftDriver&lt; MisoPin, MosiPin, SckPin &gt;</a>.</p>
  423. </div>
  424. </div>
  425. <hr/>The documentation for this class was generated from the following file:<ul>
  426. <li>Arduino/libraries/SdFat/src/SdSpiCard/SdSpiBaseDriver.h</li>
  427. </ul>
  428. </div><!-- contents -->
  429. <!-- start footer part -->
  430. <hr class="footer"/><address class="footer"><small>
  431. Generated on Fri Aug 19 2016 08:28:00 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  432. <img class="footer" src="doxygen.png" alt="doxygen"/>
  433. </a> 1.8.10
  434. </small></address>
  435. </body>
  436. </html>