-
Notifications
You must be signed in to change notification settings - Fork 0
/
SdBaseFile_8h_source.html
443 lines (441 loc) · 94.9 KB
/
SdBaseFile_8h_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Prusa3d Marlin fork: SdBaseFile.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Prusa3d Marlin fork
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">SdBaseFile.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="SdBaseFile_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* Arduino SdFat Library</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (C) 2009 by William Greiman</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * This file is part of the Arduino SdFat Library</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * This Library is free software: you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * the Free Software Foundation, either version 3 of the License, or</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * (at your option) any later version.</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * This Library is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * GNU General Public License for more details.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * along with the Arduino SdFat Library. If not, see</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * <http://www.gnu.org/licenses/>.</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "Marlin.h"</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#ifdef SDSUPPORT</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#ifndef SdBaseFile_h</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#define SdBaseFile_h</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include "Marlin.h"</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include "<a class="code" href="SdFatConfig_8h.html">SdFatConfig.h</a>"</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include "<a class="code" href="SdVolume_8h.html">SdVolume.h</a>"</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="structfilepos__t.html"> 38</a></span> <span class="comment"></span><span class="keyword">struct </span><a class="code" href="structfilepos__t.html">filepos_t</a> {</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="structfilepos__t.html#a00210d9884c39d36166cf5d878c4db8b"> 40</a></span>  uint32_t <a class="code" href="structfilepos__t.html#a00210d9884c39d36166cf5d878c4db8b">position</a>;</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="structfilepos__t.html#ae76921e80d5d0d1c13e2c52a74b35687"> 42</a></span>  uint32_t <a class="code" href="structfilepos__t.html#ae76921e80d5d0d1c13e2c52a74b35687">cluster</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <a class="code" href="structfilepos__t.html">filepos_t</a>() : <a class="code" href="structfilepos__t.html#a00210d9884c39d36166cf5d878c4db8b">position</a>(0), <a class="code" href="structfilepos__t.html#ae76921e80d5d0d1c13e2c52a74b35687">cluster</a>(0) {}</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> };</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  </div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment">// use the gnu style oflag in open()</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#ac5a1c3e543273b0374ba114c496e662e"> 48</a></span> <span class="comment"></span>uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#ac5a1c3e543273b0374ba114c496e662e">O_READ</a> = 0X01;</div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#ac13ca62d7e6f8f6d657d4607474652bf"> 50</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#ac13ca62d7e6f8f6d657d4607474652bf">O_RDONLY</a> = <a class="code" href="SdBaseFile_8h.html#ac5a1c3e543273b0374ba114c496e662e">O_READ</a>;</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a44c1620ada13f6318ab39b9fa38ef55a"> 52</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#a44c1620ada13f6318ab39b9fa38ef55a">O_WRITE</a> = 0X02;</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a782767ee2580bb1566048017b254281d"> 54</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#a782767ee2580bb1566048017b254281d">O_WRONLY</a> = <a class="code" href="SdBaseFile_8h.html#a44c1620ada13f6318ab39b9fa38ef55a">O_WRITE</a>;</div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#ad79c5a45cb5e4855b771629fc15d78f6"> 56</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#ad79c5a45cb5e4855b771629fc15d78f6">O_RDWR</a> = (<a class="code" href="SdBaseFile_8h.html#ac5a1c3e543273b0374ba114c496e662e">O_READ</a> | <a class="code" href="SdBaseFile_8h.html#a44c1620ada13f6318ab39b9fa38ef55a">O_WRITE</a>);</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a4efda39151f5ef2dc7fbd138be51336a"> 58</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#a4efda39151f5ef2dc7fbd138be51336a">O_ACCMODE</a> = (<a class="code" href="SdBaseFile_8h.html#ac5a1c3e543273b0374ba114c496e662e">O_READ</a> | <a class="code" href="SdBaseFile_8h.html#a44c1620ada13f6318ab39b9fa38ef55a">O_WRITE</a>);</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a4242b37e810af3a6485adda0e08a9a2b"> 60</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#a4242b37e810af3a6485adda0e08a9a2b">O_APPEND</a> = 0X04;</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a3066c471d52b056dec13fa567f7bbd9d"> 62</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#a3066c471d52b056dec13fa567f7bbd9d">O_SYNC</a> = 0X08;</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a9dc438ff90d0c8af452331c339dbc08e"> 64</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#a9dc438ff90d0c8af452331c339dbc08e">O_TRUNC</a> = 0X10;</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a409d6381c7eafaf7d8978e53b736b966"> 66</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#a409d6381c7eafaf7d8978e53b736b966">O_AT_END</a> = 0X20;</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a20d0ef801486dd02de6ee482de731193"> 68</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#a20d0ef801486dd02de6ee482de731193">O_CREAT</a> = 0X40;</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#ab5635d4288cb294c1ed000fa183e072b"> 70</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#ab5635d4288cb294c1ed000fa183e072b">O_EXCL</a> = 0X80;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  </div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="comment">// SdBaseFile class static and const definitions</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="comment">// flags for ls()</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#ac78cfe032599ef1f5723c62106017fcd"> 75</a></span> <span class="comment"></span>uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#ac78cfe032599ef1f5723c62106017fcd">LS_DATE</a> = 1;</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a8170e56f2df0139f3acd73c35636fa7f"> 77</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#a8170e56f2df0139f3acd73c35636fa7f">LS_SIZE</a> = 2;</div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#af90ecd4124f4c2563b37174be91e76f9"> 79</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#af90ecd4124f4c2563b37174be91e76f9">LS_R</a> = 4;</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  </div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="comment">// flags for timestamp</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a5f34ce6e95713d872ca6a640c8783462"> 84</a></span> <span class="comment"></span>uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#a5f34ce6e95713d872ca6a640c8783462">T_ACCESS</a> = 1;</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a533dc316f5a59209ac5e9c630d2df4c4"> 86</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#a533dc316f5a59209ac5e9c630d2df4c4">T_CREATE</a> = 2;</div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a2a6192fd0f5847783868deed6de53d1e"> 88</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#a2a6192fd0f5847783868deed6de53d1e">T_WRITE</a> = 4;</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="comment">// values for type_</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a4da8c96e256b06356321e81705494010"> 91</a></span> <span class="comment"></span>uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#a4da8c96e256b06356321e81705494010">FAT_FILE_TYPE_CLOSED</a> = 0;</div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a666774999b9afd627fdad75471101581"> 93</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#a666774999b9afd627fdad75471101581">FAT_FILE_TYPE_NORMAL</a> = 1;</div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a1bb2e8f6b6f90bbf4d02608cd267af42"> 95</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#a1bb2e8f6b6f90bbf4d02608cd267af42">FAT_FILE_TYPE_ROOT_FIXED</a> = 2;</div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a9a1a07cb1d09cfdb3cc53183c6e5dc57"> 97</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#a9a1a07cb1d09cfdb3cc53183c6e5dc57">FAT_FILE_TYPE_ROOT32</a> = 3;</div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#ac301b0465fdd7953c6e110b9896cc9fd"> 99</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#ac301b0465fdd7953c6e110b9896cc9fd">FAT_FILE_TYPE_SUBDIR</a> = 4;</div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#abc9b0906aeeedfe122b0ca629bac889b"> 101</a></span> uint8_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#abc9b0906aeeedfe122b0ca629bac889b">FAT_FILE_TYPE_MIN_DIR</a> = <a class="code" href="SdBaseFile_8h.html#a1bb2e8f6b6f90bbf4d02608cd267af42">FAT_FILE_TYPE_ROOT_FIXED</a>;</div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  </div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a44899ad42ddf32ff1c1a73b5251b304a"> 110</a></span> <span class="keyword">static</span> <span class="keyword">inline</span> uint16_t <a class="code" href="SdBaseFile_8h.html#a44899ad42ddf32ff1c1a73b5251b304a">FAT_DATE</a>(uint16_t year, uint8_t month, uint8_t day) {</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keywordflow">return</span> (year - 1980) << 9 | month << 5 | day;</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span> }</div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a279a75f907dd2603543c7bdad00ff603"> 118</a></span> <span class="keyword">static</span> <span class="keyword">inline</span> uint16_t <a class="code" href="SdBaseFile_8h.html#a279a75f907dd2603543c7bdad00ff603">FAT_YEAR</a>(uint16_t fatDate) {</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">return</span> 1980 + (fatDate >> 9);</div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> }</div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a429bc2d96f5bc26dc3bd6cc2bd535b84"> 126</a></span> <span class="keyword">static</span> <span class="keyword">inline</span> uint8_t <a class="code" href="SdBaseFile_8h.html#a429bc2d96f5bc26dc3bd6cc2bd535b84">FAT_MONTH</a>(uint16_t fatDate) {</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keywordflow">return</span> (fatDate >> 5) & 0XF;</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> }</div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a4cc8bc105529bf9e9c11e8ef099d68b0"> 134</a></span> <span class="keyword">static</span> <span class="keyword">inline</span> uint8_t <a class="code" href="SdBaseFile_8h.html#a4cc8bc105529bf9e9c11e8ef099d68b0">FAT_DAY</a>(uint16_t fatDate) {</div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keywordflow">return</span> fatDate & 0X1F;</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span> }</div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a375720927be5a39475d48b2d75dae29a"> 144</a></span> <span class="keyword">static</span> <span class="keyword">inline</span> uint16_t <a class="code" href="SdBaseFile_8h.html#a375720927be5a39475d48b2d75dae29a">FAT_TIME</a>(uint8_t hour, uint8_t minute, uint8_t second) {</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">return</span> hour << 11 | minute << 5 | second >> 1;</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> }</div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#ae7c733d49a5570054f6db3bd53332ba1"> 152</a></span> <span class="keyword">static</span> <span class="keyword">inline</span> uint8_t <a class="code" href="SdBaseFile_8h.html#ae7c733d49a5570054f6db3bd53332ba1">FAT_HOUR</a>(uint16_t fatTime) {</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keywordflow">return</span> fatTime >> 11;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span> }</div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a1b09676a41ae6c9e19664bdcd5b1d34e"> 160</a></span> <span class="keyword">static</span> <span class="keyword">inline</span> uint8_t <a class="code" href="SdBaseFile_8h.html#a1b09676a41ae6c9e19664bdcd5b1d34e">FAT_MINUTE</a>(uint16_t fatTime) {</div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>  <span class="keywordflow">return</span>(fatTime >> 5) & 0X3F;</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> }</div>
<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a4d553e2088d42e01d6c08ee84e611b00"> 170</a></span> <span class="keyword">static</span> <span class="keyword">inline</span> uint8_t <a class="code" href="SdBaseFile_8h.html#a4d553e2088d42e01d6c08ee84e611b00">FAT_SECOND</a>(uint16_t fatTime) {</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>  <span class="keywordflow">return</span> 2*(fatTime & 0X1F);</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span> }</div>
<div class="line"><a name="l00174"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a441bb1bc5f52d512656de3b86a279948"> 174</a></span> uint16_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#a441bb1bc5f52d512656de3b86a279948">FAT_DEFAULT_DATE</a> = ((2000 - 1980) << 9) | (1 << 5) | 1;</div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="SdBaseFile_8h.html#a00451fc2d3563a2255797bd1f40507fb"> 176</a></span> uint16_t <span class="keyword">const</span> <a class="code" href="SdBaseFile_8h.html#a00451fc2d3563a2255797bd1f40507fb">FAT_DEFAULT_TIME</a> = (1 << 11);</div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="classSdBaseFile.html"> 182</a></span> <span class="comment"></span><span class="keyword">class </span><a class="code" href="classSdBaseFile.html">SdBaseFile</a> {</div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a2806f9763006e9191678b4e33097b47d"> 185</a></span>  <a class="code" href="classSdBaseFile.html#a2806f9763006e9191678b4e33097b47d">SdBaseFile</a>() : <a class="code" href="classSdBaseFile.html#a47d4ba2177ffcd99c2387f9fac182d5b">writeError</a>(false), type_(<a class="code" href="SdBaseFile_8h.html#a4da8c96e256b06356321e81705494010">FAT_FILE_TYPE_CLOSED</a>) {}</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <a class="code" href="classSdBaseFile.html#a2806f9763006e9191678b4e33097b47d">SdBaseFile</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* path, uint8_t oflag);</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  ~<a class="code" href="classSdBaseFile.html">SdBaseFile</a>() {<span class="keywordflow">if</span>(<a class="code" href="classSdBaseFile.html#a5369ddf8d0278fefd91d757ddd47642f">isOpen</a>()) <a class="code" href="classSdBaseFile.html#a17f7e949aa0f80d89782d8e31f5edc15">close</a>();}</div>
<div class="line"><a name="l00193"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a47d4ba2177ffcd99c2387f9fac182d5b"> 193</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a47d4ba2177ffcd99c2387f9fac182d5b">writeError</a>;</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="comment">// helpers for stream classes</span></div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> <span class="comment"></span> <span class="keywordtype">void</span> <a class="code" href="classSdBaseFile.html#a45fe898481c7acb5949f9ca782c18eca">getpos</a>(<a class="code" href="structfilepos__t.html">filepos_t</a>* pos);</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keywordtype">void</span> <a class="code" href="classSdBaseFile.html#a4c950d010386a0ac1d8783e2baabf7ac">setpos</a>(<a class="code" href="structfilepos__t.html">filepos_t</a>* pos);</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="comment">//----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a17f7e949aa0f80d89782d8e31f5edc15">close</a>();</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a272c68ba97eb5452ce903e6f8d2895a6">contiguousRange</a>(uint32_t* bgnBlock, uint32_t* endBlock);</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#ad14a78d348219d6ce096582b6ed74526">createContiguous</a>(<a class="code" href="classSdBaseFile.html">SdBaseFile</a>* dirFile,</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* path, uint32_t size);</div>
<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a08fb9d5226f3308479928ec6a1d72ffc"> 210</a></span>  uint32_t <a class="code" href="classSdBaseFile.html#a08fb9d5226f3308479928ec6a1d72ffc">curCluster</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> curCluster_;}</div>
<div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#acaa6170843f6e0a2f28ee9ab7f367973"> 212</a></span>  uint32_t <a class="code" href="classSdBaseFile.html#acaa6170843f6e0a2f28ee9ab7f367973">curPosition</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> curPosition_;}</div>
<div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a56b9402969b3348c97b413750226f955"> 214</a></span>  <span class="keyword">static</span> <a class="code" href="classSdBaseFile.html">SdBaseFile</a>* <a class="code" href="classSdBaseFile.html#a56b9402969b3348c97b413750226f955">cwd</a>() {<span class="keywordflow">return</span> cwd_;}</div>
<div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a1664a62726dcd7ff82c12d724b3b34df"> 242</a></span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classSdBaseFile.html#a1664a62726dcd7ff82c12d724b3b34df">dateTimeCallback</a>(</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <span class="keywordtype">void</span> (*dateTime)(uint16_t* date, uint16_t* time)) {</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  dateTime_ = dateTime;</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  }</div>
<div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a04e3e7829c56a6b11df8df0051a49ef9"> 247</a></span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classSdBaseFile.html#a04e3e7829c56a6b11df8df0051a49ef9">dateTimeCallbackCancel</a>() {dateTime_ = 0;}</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a0977fc620f90e21897eca1fb1c25fdce">dirEntry</a>(<a class="code" href="structdirectoryEntry.html">dir_t</a>* dir);</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classSdBaseFile.html#a8fdbf7893bf19793e772b340e4c08fed">dirName</a>(<span class="keyword">const</span> <a class="code" href="structdirectoryEntry.html">dir_t</a>& dir, <span class="keywordtype">char</span>* name);</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#aa0b95ccc568d483f1416d2eacd1ff3f7">exists</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name);</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  int16_t <a class="code" href="classSdBaseFile.html#a41de4f35c622c1a5f5699400e8d05a87">fgets</a>(<span class="keywordtype">char</span>* str, int16_t num, <span class="keywordtype">char</span>* delim = 0);</div>
<div class="line"><a name="l00253"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a3da73bb688484696ab73727c0d7e540f"> 253</a></span>  uint32_t <a class="code" href="classSdBaseFile.html#a3da73bb688484696ab73727c0d7e540f">fileSize</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> fileSize_;}</div>
<div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a8d19bd0f731d3780984f301b4dd1807c"> 255</a></span>  uint32_t <a class="code" href="classSdBaseFile.html#a8d19bd0f731d3780984f301b4dd1807c">firstCluster</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> firstCluster_;}</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a2e84ccce858fd7e4d88e26b23d19a822">getFilename</a>(<span class="keywordtype">char</span>* name);</div>
<div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a82f20b1353579b90ff36f80d97b012f1"> 258</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a82f20b1353579b90ff36f80d97b012f1">isDir</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> type_ >= <a class="code" href="SdBaseFile_8h.html#abc9b0906aeeedfe122b0ca629bac889b">FAT_FILE_TYPE_MIN_DIR</a>;}</div>
<div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a81120672345e75eb23855e8106315fd1"> 260</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a81120672345e75eb23855e8106315fd1">isFile</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> type_ == <a class="code" href="SdBaseFile_8h.html#a666774999b9afd627fdad75471101581">FAT_FILE_TYPE_NORMAL</a>;}</div>
<div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a5369ddf8d0278fefd91d757ddd47642f"> 262</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a5369ddf8d0278fefd91d757ddd47642f">isOpen</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> type_ != <a class="code" href="SdBaseFile_8h.html#a4da8c96e256b06356321e81705494010">FAT_FILE_TYPE_CLOSED</a>;}</div>
<div class="line"><a name="l00264"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#ab46dc1803b6242373cc9e86cb0997b1f"> 264</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#ab46dc1803b6242373cc9e86cb0997b1f">isSubDir</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> type_ == <a class="code" href="SdBaseFile_8h.html#ac301b0465fdd7953c6e110b9896cc9fd">FAT_FILE_TYPE_SUBDIR</a>;}</div>
<div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a2c03e210d4eab5e8ab88d946a05555e9"> 266</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a2c03e210d4eab5e8ab88d946a05555e9">isRoot</a>()<span class="keyword"> const </span>{</div>
<div class="line"><a name="l00267"></a><span class="lineno"> 267</span>  <span class="keywordflow">return</span> type_ == <a class="code" href="SdBaseFile_8h.html#a1bb2e8f6b6f90bbf4d02608cd267af42">FAT_FILE_TYPE_ROOT_FIXED</a> || type_ == <a class="code" href="SdBaseFile_8h.html#a9a1a07cb1d09cfdb3cc53183c6e5dc57">FAT_FILE_TYPE_ROOT32</a>;</div>
<div class="line"><a name="l00268"></a><span class="lineno"> 268</span>  }</div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <span class="keywordtype">void</span> <a class="code" href="classSdBaseFile.html#a768387737bb4f365e34be83e379847cc">ls</a>( uint8_t flags = 0, uint8_t indent = 0);</div>
<div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#ad1de34e5dc5b3a1727208f949b5838e9">mkdir</a>(<a class="code" href="classSdBaseFile.html">SdBaseFile</a>* dir, <span class="keyword">const</span> <span class="keywordtype">char</span>* path, <span class="keywordtype">bool</span> pFlag = <span class="keyword">true</span>);</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <span class="comment">// alias for backward compactability</span></div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  <span class="keywordtype">bool</span> makeDir(<a class="code" href="classSdBaseFile.html">SdBaseFile</a>* dir, <span class="keyword">const</span> <span class="keywordtype">char</span>* path) {</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <span class="keywordflow">return</span> <a class="code" href="classSdBaseFile.html#ad1de34e5dc5b3a1727208f949b5838e9">mkdir</a>(dir, path, <span class="keyword">false</span>);</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  }</div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a6ff5b48f672515ec20831583de74407f">open</a>(<a class="code" href="classSdBaseFile.html">SdBaseFile</a>* dirFile, uint16_t index, uint8_t oflag);</div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a6ff5b48f672515ec20831583de74407f">open</a>(<a class="code" href="classSdBaseFile.html">SdBaseFile</a>* dirFile, <span class="keyword">const</span> <span class="keywordtype">char</span>* path, uint8_t oflag);</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a6ff5b48f672515ec20831583de74407f">open</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* path, uint8_t oflag = <a class="code" href="SdBaseFile_8h.html#ac5a1c3e543273b0374ba114c496e662e">O_READ</a>);</div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#aee4c736345e96aa5ddb7e5768ce88f51">openNext</a>(<a class="code" href="classSdBaseFile.html">SdBaseFile</a>* dirFile, uint8_t oflag);</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#ac67ffdfb84263bcd425886c09a15e287">openRoot</a>(<a class="code" href="classSdVolume.html">SdVolume</a>* vol);</div>
<div class="line"><a name="l00280"></a><span class="lineno"> 280</span>  <span class="keywordtype">int</span> <a class="code" href="classSdBaseFile.html#a996abee868ce928d04d9d0ad9305c915">peek</a>();</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classSdBaseFile.html#a1f8b53aea38427dd483dfff4e9437d0c">printFatDate</a>(uint16_t fatDate);</div>
<div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classSdBaseFile.html#a9d7dcf89a8d3144731e59ea74a640d68">printFatTime</a>( uint16_t fatTime);</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a239cacb867f6c4f93eb52c38c60684d7">printName</a>();</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span> <span class="keyword">protected</span>: </div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  int16_t <a class="code" href="classSdBaseFile.html#a145595e55db1629fa126ffa2628fe9eb">read</a>();</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  int16_t <a class="code" href="classSdBaseFile.html#a145595e55db1629fa126ffa2628fe9eb">read</a>(<span class="keywordtype">void</span>* buf, uint16_t nbyte);</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span> <span class="keyword">public</span>:</div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  int8_t <a class="code" href="classSdBaseFile.html#adc3d286a1a41a69fcbdf04e2af6f4ac4">readDir</a>(<a class="code" href="structdirectoryEntry.html">dir_t</a>* dir, <span class="keywordtype">char</span>* longFilename);</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a6e88ee210c9bd7556477c0e7ba4de1bb">remove</a>(<a class="code" href="classSdBaseFile.html">SdBaseFile</a>* dirFile, <span class="keyword">const</span> <span class="keywordtype">char</span>* path);</div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a6e88ee210c9bd7556477c0e7ba4de1bb">remove</a>();</div>
<div class="line"><a name="l00292"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a7a5369b40eb15ad26c2e4af5d069c52c"> 292</a></span>  <span class="keywordtype">void</span> <a class="code" href="classSdBaseFile.html#a7a5369b40eb15ad26c2e4af5d069c52c">rewind</a>() {<a class="code" href="classSdBaseFile.html#afe6aeaf0ca7573ceb8bb335c802dab16">seekSet</a>(0);}</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#ad6e9f07c62add23dfe0338bdd0bf2d40">rename</a>(<a class="code" href="classSdBaseFile.html">SdBaseFile</a>* dirFile, <span class="keyword">const</span> <span class="keywordtype">char</span>* newPath);</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a7268834187e8216605963f8ae3cf1e6e">rmdir</a>();</div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  <span class="comment">// for backward compatibility</span></div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  <span class="keywordtype">bool</span> rmDir() {<span class="keywordflow">return</span> <a class="code" href="classSdBaseFile.html#a7268834187e8216605963f8ae3cf1e6e">rmdir</a>();}</div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a4186ba79c83005971096966c0fd02d46">rmRfStar</a>();</div>
<div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#ab04ec7e129607973f6e3436f779b6501"> 302</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#ab04ec7e129607973f6e3436f779b6501">seekCur</a>(int32_t offset) {</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  <span class="keywordflow">return</span> <a class="code" href="classSdBaseFile.html#afe6aeaf0ca7573ceb8bb335c802dab16">seekSet</a>(curPosition_ + offset);</div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  }</div>
<div class="line"><a name="l00309"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a6f42e496b179dbdd2c09083cfad28613"> 309</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a6f42e496b179dbdd2c09083cfad28613">seekEnd</a>(int32_t offset = 0) {<span class="keywordflow">return</span> <a class="code" href="classSdBaseFile.html#afe6aeaf0ca7573ceb8bb335c802dab16">seekSet</a>(fileSize_ + offset);}</div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#afe6aeaf0ca7573ceb8bb335c802dab16">seekSet</a>(uint32_t pos);</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a292247972772be832f2c6ea166f4049a">sync</a>();</div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#adf84a0487f3b45fc183756b9d17141cd">timestamp</a>(<a class="code" href="classSdBaseFile.html">SdBaseFile</a>* file);</div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#adf84a0487f3b45fc183756b9d17141cd">timestamp</a>(uint8_t flag, uint16_t year, uint8_t month, uint8_t day,</div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  uint8_t hour, uint8_t minute, uint8_t second);</div>
<div class="line"><a name="l00320"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a6deeca0369755c5532c0be202414d3c0"> 320</a></span>  uint8_t <a class="code" href="classSdBaseFile.html#a6deeca0369755c5532c0be202414d3c0">type</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> type_;}</div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a9d1ad1abbd90089f731de81de1708c19">truncate</a>(uint32_t size);</div>
<div class="line"><a name="l00323"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#af25dfa28442c37b033576c2badd64da9"> 323</a></span>  <a class="code" href="classSdVolume.html">SdVolume</a>* <a class="code" href="classSdBaseFile.html#af25dfa28442c37b033576c2badd64da9">volume</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> vol_;}</div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  int16_t <a class="code" href="classSdBaseFile.html#a487e96bc91c36ec69e9f9e4c9c7b9a1a">write</a>(<span class="keyword">const</span> <span class="keywordtype">void</span>* buf, uint16_t nbyte);</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <span class="comment">// allow SdFat to set cwd_</span></div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  <span class="keyword">friend</span> <span class="keyword">class </span>SdFat;</div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <span class="comment">// global pointer to cwd dir</span></div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  <span class="keyword">static</span> <a class="code" href="classSdBaseFile.html">SdBaseFile</a>* cwd_;</div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  <span class="comment">// data time callback function</span></div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  <span class="keyword">static</span> void (*dateTime_)(uint16_t* date, uint16_t* time);</div>
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  <span class="comment">// bits defined in flags_</span></div>
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  <span class="comment">// should be 0X0F</span></div>
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <span class="keyword">static</span> uint8_t <span class="keyword">const</span> F_OFLAG = (<a class="code" href="SdBaseFile_8h.html#a4efda39151f5ef2dc7fbd138be51336a">O_ACCMODE</a> | <a class="code" href="SdBaseFile_8h.html#a4242b37e810af3a6485adda0e08a9a2b">O_APPEND</a> | <a class="code" href="SdBaseFile_8h.html#a3066c471d52b056dec13fa567f7bbd9d">O_SYNC</a>);</div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  <span class="comment">// sync of directory entry required</span></div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  <span class="keyword">static</span> uint8_t <span class="keyword">const</span> F_FILE_DIR_DIRTY = 0X80;</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  </div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <span class="comment">// private data</span></div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  uint8_t flags_; <span class="comment">// See above for definition of flags_ bits</span></div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  uint8_t fstate_; <span class="comment">// error and eof indicator</span></div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  uint8_t type_; <span class="comment">// type of file see above for values</span></div>
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  uint32_t curCluster_; <span class="comment">// cluster for current file position</span></div>
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  uint32_t curPosition_; <span class="comment">// current file position in bytes from beginning</span></div>
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  uint32_t dirBlock_; <span class="comment">// block for this files directory entry</span></div>
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  uint8_t dirIndex_; <span class="comment">// index of directory entry in dirBlock</span></div>
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  uint32_t fileSize_; <span class="comment">// file size in bytes</span></div>
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span>  uint32_t firstCluster_; <span class="comment">// first cluster of file</span></div>
<div class="line"><a name="l00349"></a><span class="lineno"> 349</span>  <a class="code" href="classSdVolume.html">SdVolume</a>* vol_; <span class="comment">// volume where file is located</span></div>
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  </div>
<div class="line"><a name="l00352"></a><span class="lineno"> 352</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#af22c6c9edcec9353be6366be0fff2569">openParent</a>(<a class="code" href="classSdBaseFile.html">SdBaseFile</a>* dir);</div>
<div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  <span class="comment">// private functions</span></div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  <span class="keywordtype">bool</span> addCluster();</div>
<div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  <span class="keywordtype">bool</span> addDirCluster();</div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <a class="code" href="structdirectoryEntry.html">dir_t</a>* cacheDirEntry(uint8_t action);</div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  int8_t lsPrintNext( uint8_t flags, uint8_t indent);</div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> make83Name(<span class="keyword">const</span> <span class="keywordtype">char</span>* str, uint8_t* name, <span class="keyword">const</span> <span class="keywordtype">char</span>** ptr);</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#ad1de34e5dc5b3a1727208f949b5838e9">mkdir</a>(<a class="code" href="classSdBaseFile.html">SdBaseFile</a>* parent, <span class="keyword">const</span> uint8_t dname[11]);</div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a6ff5b48f672515ec20831583de74407f">open</a>(<a class="code" href="classSdBaseFile.html">SdBaseFile</a>* dirFile, <span class="keyword">const</span> uint8_t dname[11], uint8_t oflag);</div>
<div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  <span class="keywordtype">bool</span> openCachedEntry(uint8_t cacheIndex, uint8_t oflags);</div>
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  <a class="code" href="structdirectoryEntry.html">dir_t</a>* readDirCache();</div>
<div class="line"><a name="l00363"></a><span class="lineno"> 363</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span> <span class="comment">// to be deleted</span></div>
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classSdBaseFile.html#a66d5c3a0535305c8a434b5b685db8ea2">printDirName</a>( <span class="keyword">const</span> <a class="code" href="structdirectoryEntry.html">dir_t</a>& dir,</div>
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  uint8_t <a class="code" href="first__lay__cal_8cpp.html#a3cdd485f12d685254d9ed25be3340f9e">width</a>, <span class="keywordtype">bool</span> printSlash);</div>
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span> <span class="comment">// Deprecated functions - suppress cpplint warnings with NOLINT comment</span></div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span> <span class="preprocessor">#if ALLOW_DEPRECATED_FUNCTIONS && !defined(DOXYGEN)</span></div>
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00377"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a4d4d95e91fdca81b0fbefcdcfb14f9b2"> 377</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a4d4d95e91fdca81b0fbefcdcfb14f9b2">contiguousRange</a>(uint32_t& bgnBlock, uint32_t& endBlock) { <span class="comment">// NOLINT</span></div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  <span class="keywordflow">return</span> <a class="code" href="classSdBaseFile.html#a272c68ba97eb5452ce903e6f8d2895a6">contiguousRange</a>(&bgnBlock, &endBlock);</div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  }</div>
<div class="line"><a name="l00388"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a900cb7c95075d2aceb8b6cc618644e0c"> 388</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a900cb7c95075d2aceb8b6cc618644e0c">createContiguous</a>(<a class="code" href="classSdBaseFile.html">SdBaseFile</a>& dirFile, <span class="comment">// NOLINT</span></div>
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* path, uint32_t size) {</div>
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  <span class="keywordflow">return</span> <a class="code" href="classSdBaseFile.html#ad14a78d348219d6ce096582b6ed74526">createContiguous</a>(&dirFile, path, size);</div>
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  }</div>
<div class="line"><a name="l00397"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a96a7df81f7667901e11ccd9f7767141a"> 397</a></span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classSdBaseFile.html#a96a7df81f7667901e11ccd9f7767141a">dateTimeCallback</a>(</div>
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <span class="keywordtype">void</span> (*dateTime)(uint16_t& date, uint16_t& time)) { <span class="comment">// NOLINT</span></div>
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  oldDateTime_ = dateTime;</div>
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  dateTime_ = dateTime ? oldToNew : 0;</div>
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  }</div>
<div class="line"><a name="l00406"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a0f73825dc0642e421a86a4e1c3f440f7"> 406</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a0f73825dc0642e421a86a4e1c3f440f7">dirEntry</a>(<a class="code" href="structdirectoryEntry.html">dir_t</a>& dir) {<span class="keywordflow">return</span> <a class="code" href="classSdBaseFile.html#a0f73825dc0642e421a86a4e1c3f440f7">dirEntry</a>(&dir);} <span class="comment">// NOLINT</span></div>
<div class="line"><a name="l00414"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a644ef82b80e875e96b02dabe0dacc6ab"> 414</a></span> <span class="comment"></span> <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a644ef82b80e875e96b02dabe0dacc6ab">mkdir</a>(<a class="code" href="classSdBaseFile.html">SdBaseFile</a>& dir, <span class="keyword">const</span> <span class="keywordtype">char</span>* path) { <span class="comment">// NOLINT</span></div>
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  <span class="keywordflow">return</span> <a class="code" href="classSdBaseFile.html#ad1de34e5dc5b3a1727208f949b5838e9">mkdir</a>(&dir, path);</div>
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  }</div>
<div class="line"><a name="l00426"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a59a88541e60f67e949f5a96862049e40"> 426</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a59a88541e60f67e949f5a96862049e40">open</a>(<a class="code" href="classSdBaseFile.html">SdBaseFile</a>& dirFile, <span class="comment">// NOLINT</span></div>
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* path, uint8_t oflag) {</div>
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  <span class="keywordflow">return</span> <a class="code" href="classSdBaseFile.html#a6ff5b48f672515ec20831583de74407f">open</a>(&dirFile, path, oflag);</div>
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  }</div>
<div class="line"><a name="l00436"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a70f1353aabf99417eb65d2305d627173"> 436</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a70f1353aabf99417eb65d2305d627173">open</a>(<a class="code" href="classSdBaseFile.html">SdBaseFile</a>& dirFile, <span class="keyword">const</span> <span class="keywordtype">char</span>* path) { <span class="comment">// NOLINT</span></div>
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  <span class="keywordflow">return</span> <a class="code" href="classSdBaseFile.html#a6ff5b48f672515ec20831583de74407f">open</a>(dirFile, path, <a class="code" href="SdBaseFile_8h.html#ad79c5a45cb5e4855b771629fc15d78f6">O_RDWR</a>);</div>
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  }</div>
<div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#a3a21d35da65994f7b990d50b89f06aa7"> 448</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#a3a21d35da65994f7b990d50b89f06aa7">open</a>(<a class="code" href="classSdBaseFile.html">SdBaseFile</a>& dirFile, uint16_t index, uint8_t oflag) { <span class="comment">// NOLINT</span></div>
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  <span class="keywordflow">return</span> <a class="code" href="classSdBaseFile.html#a6ff5b48f672515ec20831583de74407f">open</a>(&dirFile, index, oflag);</div>
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  }</div>
<div class="line"><a name="l00455"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#af834a7382f05687c5aa14136c0d32aad"> 455</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#af834a7382f05687c5aa14136c0d32aad">openRoot</a>(<a class="code" href="classSdVolume.html">SdVolume</a>& vol) {<span class="keywordflow">return</span> <a class="code" href="classSdBaseFile.html#af834a7382f05687c5aa14136c0d32aad">openRoot</a>(&vol);} <span class="comment">// NOLINT</span></div>
<div class="line"><a name="l00460"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#aef160105e61e6e6272755ee05749a9b1"> 460</a></span> <span class="comment"></span> int8_t <a class="code" href="classSdBaseFile.html#aef160105e61e6e6272755ee05749a9b1">readDir</a>(<a class="code" href="structdirectoryEntry.html">dir_t</a>& dir, <span class="keywordtype">char</span>* longFilename) {<span class="keywordflow">return</span> <a class="code" href="classSdBaseFile.html#aef160105e61e6e6272755ee05749a9b1">readDir</a>(&dir, longFilename);} <span class="comment">// NOLINT</span></div>
<div class="line"><a name="l00467"></a><span class="lineno"><a class="line" href="classSdBaseFile.html#af046d9b0e66675d0b420705677024392"> 467</a></span> <span class="comment"></span> <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classSdBaseFile.html#af046d9b0e66675d0b420705677024392">remove</a>(<a class="code" href="classSdBaseFile.html">SdBaseFile</a>& dirFile, <span class="keyword">const</span> <span class="keywordtype">char</span>* path) { <span class="comment">// NOLINT</span></div>
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span>  <span class="keywordflow">return</span> <a class="code" href="classSdBaseFile.html#a6e88ee210c9bd7556477c0e7ba4de1bb">remove</a>(&dirFile, path);</div>
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  }</div>
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span> <span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00471"></a><span class="lineno"> 471</span> <span class="comment">// rest are private</span></div>
<div class="line"><a name="l00472"></a><span class="lineno"> 472</span>  <span class="keyword">private</span>:</div>
<div class="line"><a name="l00473"></a><span class="lineno"> 473</span>  <span class="keyword">static</span> void (*oldDateTime_)(uint16_t& date, uint16_t& time); <span class="comment">// NOLINT</span></div>
<div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> oldToNew(uint16_t* date, uint16_t* time) {</div>
<div class="line"><a name="l00475"></a><span class="lineno"> 475</span>  uint16_t d;</div>
<div class="line"><a name="l00476"></a><span class="lineno"> 476</span>  uint16_t t;</div>
<div class="line"><a name="l00477"></a><span class="lineno"> 477</span>  oldDateTime_(d, t);</div>
<div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  *date = d;</div>
<div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  *time = t;</div>
<div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  }</div>
<div class="line"><a name="l00481"></a><span class="lineno"> 481</span> <span class="preprocessor">#endif </span><span class="comment">// ALLOW_DEPRECATED_FUNCTIONS</span></div>
<div class="line"><a name="l00482"></a><span class="lineno"> 482</span> };</div>
<div class="line"><a name="l00483"></a><span class="lineno"> 483</span>  </div>
<div class="line"><a name="l00484"></a><span class="lineno"> 484</span> <span class="preprocessor">#endif </span><span class="comment">// SdBaseFile_h</span></div>
<div class="line"><a name="l00485"></a><span class="lineno"> 485</span> <span class="preprocessor">#endif</span></div>
<div class="ttc" id="aSdBaseFile_8h_html_a00451fc2d3563a2255797bd1f40507fb"><div class="ttname"><a href="SdBaseFile_8h.html#a00451fc2d3563a2255797bd1f40507fb">FAT_DEFAULT_TIME</a></div><div class="ttdeci">uint16_t const FAT_DEFAULT_TIME</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:176</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a1b09676a41ae6c9e19664bdcd5b1d34e"><div class="ttname"><a href="SdBaseFile_8h.html#a1b09676a41ae6c9e19664bdcd5b1d34e">FAT_MINUTE</a></div><div class="ttdeci">static uint8_t FAT_MINUTE(uint16_t fatTime)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:160</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a1bb2e8f6b6f90bbf4d02608cd267af42"><div class="ttname"><a href="SdBaseFile_8h.html#a1bb2e8f6b6f90bbf4d02608cd267af42">FAT_FILE_TYPE_ROOT_FIXED</a></div><div class="ttdeci">uint8_t const FAT_FILE_TYPE_ROOT_FIXED</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:95</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a20d0ef801486dd02de6ee482de731193"><div class="ttname"><a href="SdBaseFile_8h.html#a20d0ef801486dd02de6ee482de731193">O_CREAT</a></div><div class="ttdeci">uint8_t const O_CREAT</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:68</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a279a75f907dd2603543c7bdad00ff603"><div class="ttname"><a href="SdBaseFile_8h.html#a279a75f907dd2603543c7bdad00ff603">FAT_YEAR</a></div><div class="ttdeci">static uint16_t FAT_YEAR(uint16_t fatDate)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:118</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a2a6192fd0f5847783868deed6de53d1e"><div class="ttname"><a href="SdBaseFile_8h.html#a2a6192fd0f5847783868deed6de53d1e">T_WRITE</a></div><div class="ttdeci">uint8_t const T_WRITE</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:88</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a3066c471d52b056dec13fa567f7bbd9d"><div class="ttname"><a href="SdBaseFile_8h.html#a3066c471d52b056dec13fa567f7bbd9d">O_SYNC</a></div><div class="ttdeci">uint8_t const O_SYNC</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:62</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a375720927be5a39475d48b2d75dae29a"><div class="ttname"><a href="SdBaseFile_8h.html#a375720927be5a39475d48b2d75dae29a">FAT_TIME</a></div><div class="ttdeci">static uint16_t FAT_TIME(uint8_t hour, uint8_t minute, uint8_t second)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:144</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a409d6381c7eafaf7d8978e53b736b966"><div class="ttname"><a href="SdBaseFile_8h.html#a409d6381c7eafaf7d8978e53b736b966">O_AT_END</a></div><div class="ttdeci">uint8_t const O_AT_END</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:66</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a4242b37e810af3a6485adda0e08a9a2b"><div class="ttname"><a href="SdBaseFile_8h.html#a4242b37e810af3a6485adda0e08a9a2b">O_APPEND</a></div><div class="ttdeci">uint8_t const O_APPEND</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:60</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a429bc2d96f5bc26dc3bd6cc2bd535b84"><div class="ttname"><a href="SdBaseFile_8h.html#a429bc2d96f5bc26dc3bd6cc2bd535b84">FAT_MONTH</a></div><div class="ttdeci">static uint8_t FAT_MONTH(uint16_t fatDate)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:126</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a441bb1bc5f52d512656de3b86a279948"><div class="ttname"><a href="SdBaseFile_8h.html#a441bb1bc5f52d512656de3b86a279948">FAT_DEFAULT_DATE</a></div><div class="ttdeci">uint16_t const FAT_DEFAULT_DATE</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:174</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a44899ad42ddf32ff1c1a73b5251b304a"><div class="ttname"><a href="SdBaseFile_8h.html#a44899ad42ddf32ff1c1a73b5251b304a">FAT_DATE</a></div><div class="ttdeci">static uint16_t FAT_DATE(uint16_t year, uint8_t month, uint8_t day)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:110</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a44c1620ada13f6318ab39b9fa38ef55a"><div class="ttname"><a href="SdBaseFile_8h.html#a44c1620ada13f6318ab39b9fa38ef55a">O_WRITE</a></div><div class="ttdeci">uint8_t const O_WRITE</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:52</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a4cc8bc105529bf9e9c11e8ef099d68b0"><div class="ttname"><a href="SdBaseFile_8h.html#a4cc8bc105529bf9e9c11e8ef099d68b0">FAT_DAY</a></div><div class="ttdeci">static uint8_t FAT_DAY(uint16_t fatDate)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:134</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a4d553e2088d42e01d6c08ee84e611b00"><div class="ttname"><a href="SdBaseFile_8h.html#a4d553e2088d42e01d6c08ee84e611b00">FAT_SECOND</a></div><div class="ttdeci">static uint8_t FAT_SECOND(uint16_t fatTime)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:170</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a4da8c96e256b06356321e81705494010"><div class="ttname"><a href="SdBaseFile_8h.html#a4da8c96e256b06356321e81705494010">FAT_FILE_TYPE_CLOSED</a></div><div class="ttdeci">uint8_t const FAT_FILE_TYPE_CLOSED</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:91</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a4efda39151f5ef2dc7fbd138be51336a"><div class="ttname"><a href="SdBaseFile_8h.html#a4efda39151f5ef2dc7fbd138be51336a">O_ACCMODE</a></div><div class="ttdeci">uint8_t const O_ACCMODE</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:58</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a533dc316f5a59209ac5e9c630d2df4c4"><div class="ttname"><a href="SdBaseFile_8h.html#a533dc316f5a59209ac5e9c630d2df4c4">T_CREATE</a></div><div class="ttdeci">uint8_t const T_CREATE</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:86</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a5f34ce6e95713d872ca6a640c8783462"><div class="ttname"><a href="SdBaseFile_8h.html#a5f34ce6e95713d872ca6a640c8783462">T_ACCESS</a></div><div class="ttdeci">uint8_t const T_ACCESS</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:84</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a666774999b9afd627fdad75471101581"><div class="ttname"><a href="SdBaseFile_8h.html#a666774999b9afd627fdad75471101581">FAT_FILE_TYPE_NORMAL</a></div><div class="ttdeci">uint8_t const FAT_FILE_TYPE_NORMAL</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:93</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a782767ee2580bb1566048017b254281d"><div class="ttname"><a href="SdBaseFile_8h.html#a782767ee2580bb1566048017b254281d">O_WRONLY</a></div><div class="ttdeci">uint8_t const O_WRONLY</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:54</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a8170e56f2df0139f3acd73c35636fa7f"><div class="ttname"><a href="SdBaseFile_8h.html#a8170e56f2df0139f3acd73c35636fa7f">LS_SIZE</a></div><div class="ttdeci">uint8_t const LS_SIZE</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:77</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a9a1a07cb1d09cfdb3cc53183c6e5dc57"><div class="ttname"><a href="SdBaseFile_8h.html#a9a1a07cb1d09cfdb3cc53183c6e5dc57">FAT_FILE_TYPE_ROOT32</a></div><div class="ttdeci">uint8_t const FAT_FILE_TYPE_ROOT32</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:97</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_a9dc438ff90d0c8af452331c339dbc08e"><div class="ttname"><a href="SdBaseFile_8h.html#a9dc438ff90d0c8af452331c339dbc08e">O_TRUNC</a></div><div class="ttdeci">uint8_t const O_TRUNC</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:64</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_ab5635d4288cb294c1ed000fa183e072b"><div class="ttname"><a href="SdBaseFile_8h.html#ab5635d4288cb294c1ed000fa183e072b">O_EXCL</a></div><div class="ttdeci">uint8_t const O_EXCL</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:70</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_abc9b0906aeeedfe122b0ca629bac889b"><div class="ttname"><a href="SdBaseFile_8h.html#abc9b0906aeeedfe122b0ca629bac889b">FAT_FILE_TYPE_MIN_DIR</a></div><div class="ttdeci">uint8_t const FAT_FILE_TYPE_MIN_DIR</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:101</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_ac13ca62d7e6f8f6d657d4607474652bf"><div class="ttname"><a href="SdBaseFile_8h.html#ac13ca62d7e6f8f6d657d4607474652bf">O_RDONLY</a></div><div class="ttdeci">uint8_t const O_RDONLY</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:50</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_ac301b0465fdd7953c6e110b9896cc9fd"><div class="ttname"><a href="SdBaseFile_8h.html#ac301b0465fdd7953c6e110b9896cc9fd">FAT_FILE_TYPE_SUBDIR</a></div><div class="ttdeci">uint8_t const FAT_FILE_TYPE_SUBDIR</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:99</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_ac5a1c3e543273b0374ba114c496e662e"><div class="ttname"><a href="SdBaseFile_8h.html#ac5a1c3e543273b0374ba114c496e662e">O_READ</a></div><div class="ttdeci">uint8_t const O_READ</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:48</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_ac78cfe032599ef1f5723c62106017fcd"><div class="ttname"><a href="SdBaseFile_8h.html#ac78cfe032599ef1f5723c62106017fcd">LS_DATE</a></div><div class="ttdeci">uint8_t const LS_DATE</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:75</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_ad79c5a45cb5e4855b771629fc15d78f6"><div class="ttname"><a href="SdBaseFile_8h.html#ad79c5a45cb5e4855b771629fc15d78f6">O_RDWR</a></div><div class="ttdeci">uint8_t const O_RDWR</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:56</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_ae7c733d49a5570054f6db3bd53332ba1"><div class="ttname"><a href="SdBaseFile_8h.html#ae7c733d49a5570054f6db3bd53332ba1">FAT_HOUR</a></div><div class="ttdeci">static uint8_t FAT_HOUR(uint16_t fatTime)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:152</div></div>
<div class="ttc" id="aSdBaseFile_8h_html_af90ecd4124f4c2563b37174be91e76f9"><div class="ttname"><a href="SdBaseFile_8h.html#af90ecd4124f4c2563b37174be91e76f9">LS_R</a></div><div class="ttdeci">uint8_t const LS_R</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:79</div></div>
<div class="ttc" id="aSdFatConfig_8h_html"><div class="ttname"><a href="SdFatConfig_8h.html">SdFatConfig.h</a></div><div class="ttdoc">configuration definitions</div></div>
<div class="ttc" id="aSdVolume_8h_html"><div class="ttname"><a href="SdVolume_8h.html">SdVolume.h</a></div><div class="ttdoc">SdVolume class.</div></div>
<div class="ttc" id="aclassSdBaseFile_html"><div class="ttname"><a href="classSdBaseFile.html">SdBaseFile</a></div><div class="ttdoc">Base class for SdFile with Print and C++ streams.</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:182</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a04e3e7829c56a6b11df8df0051a49ef9"><div class="ttname"><a href="classSdBaseFile.html#a04e3e7829c56a6b11df8df0051a49ef9">SdBaseFile::dateTimeCallbackCancel</a></div><div class="ttdeci">static void dateTimeCallbackCancel()</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:247</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a08fb9d5226f3308479928ec6a1d72ffc"><div class="ttname"><a href="classSdBaseFile.html#a08fb9d5226f3308479928ec6a1d72ffc">SdBaseFile::curCluster</a></div><div class="ttdeci">uint32_t curCluster() const</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:210</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a0977fc620f90e21897eca1fb1c25fdce"><div class="ttname"><a href="classSdBaseFile.html#a0977fc620f90e21897eca1fb1c25fdce">SdBaseFile::dirEntry</a></div><div class="ttdeci">bool dirEntry(dir_t *dir)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:182</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a0f73825dc0642e421a86a4e1c3f440f7"><div class="ttname"><a href="classSdBaseFile.html#a0f73825dc0642e421a86a4e1c3f440f7">SdBaseFile::dirEntry</a></div><div class="ttdeci">bool dirEntry(dir_t &dir)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:406</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a145595e55db1629fa126ffa2628fe9eb"><div class="ttname"><a href="classSdBaseFile.html#a145595e55db1629fa126ffa2628fe9eb">SdBaseFile::read</a></div><div class="ttdeci">int16_t read()</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:1029</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a1664a62726dcd7ff82c12d724b3b34df"><div class="ttname"><a href="classSdBaseFile.html#a1664a62726dcd7ff82c12d724b3b34df">SdBaseFile::dateTimeCallback</a></div><div class="ttdeci">static void dateTimeCallback(void(*dateTime)(uint16_t *date, uint16_t *time))</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:242</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a17f7e949aa0f80d89782d8e31f5edc15"><div class="ttname"><a href="classSdBaseFile.html#a17f7e949aa0f80d89782d8e31f5edc15">SdBaseFile::close</a></div><div class="ttdeci">bool close()</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:93</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a1f8b53aea38427dd483dfff4e9437d0c"><div class="ttname"><a href="classSdBaseFile.html#a1f8b53aea38427dd483dfff4e9437d0c">SdBaseFile::printFatDate</a></div><div class="ttdeci">static void printFatDate(uint16_t fatDate)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:988</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a239cacb867f6c4f93eb52c38c60684d7"><div class="ttname"><a href="classSdBaseFile.html#a239cacb867f6c4f93eb52c38c60684d7">SdBaseFile::printName</a></div><div class="ttdeci">bool printName()</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:1017</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a272c68ba97eb5452ce903e6f8d2895a6"><div class="ttname"><a href="classSdBaseFile.html#a272c68ba97eb5452ce903e6f8d2895a6">SdBaseFile::contiguousRange</a></div><div class="ttdeci">bool contiguousRange(uint32_t *bgnBlock, uint32_t *endBlock)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:109</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a2806f9763006e9191678b4e33097b47d"><div class="ttname"><a href="classSdBaseFile.html#a2806f9763006e9191678b4e33097b47d">SdBaseFile::SdBaseFile</a></div><div class="ttdeci">SdBaseFile()</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:185</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a292247972772be832f2c6ea166f4049a"><div class="ttname"><a href="classSdBaseFile.html#a292247972772be832f2c6ea166f4049a">SdBaseFile::sync</a></div><div class="ttdeci">bool sync()</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:1511</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a2c03e210d4eab5e8ab88d946a05555e9"><div class="ttname"><a href="classSdBaseFile.html#a2c03e210d4eab5e8ab88d946a05555e9">SdBaseFile::isRoot</a></div><div class="ttdeci">bool isRoot() const</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:266</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a2e84ccce858fd7e4d88e26b23d19a822"><div class="ttname"><a href="classSdBaseFile.html#a2e84ccce858fd7e4d88e26b23d19a822">SdBaseFile::getFilename</a></div><div class="ttdeci">bool getFilename(char *name)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:280</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a3a21d35da65994f7b990d50b89f06aa7"><div class="ttname"><a href="classSdBaseFile.html#a3a21d35da65994f7b990d50b89f06aa7">SdBaseFile::open</a></div><div class="ttdeci">bool open(SdBaseFile &dirFile, uint16_t index, uint8_t oflag)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:448</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a3da73bb688484696ab73727c0d7e540f"><div class="ttname"><a href="classSdBaseFile.html#a3da73bb688484696ab73727c0d7e540f">SdBaseFile::fileSize</a></div><div class="ttdeci">uint32_t fileSize() const</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:253</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a4186ba79c83005971096966c0fd02d46"><div class="ttname"><a href="classSdBaseFile.html#a4186ba79c83005971096966c0fd02d46">SdBaseFile::rmRfStar</a></div><div class="ttdeci">bool rmRfStar()</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:1395</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a41de4f35c622c1a5f5699400e8d05a87"><div class="ttname"><a href="classSdBaseFile.html#a41de4f35c622c1a5f5699400e8d05a87">SdBaseFile::fgets</a></div><div class="ttdeci">int16_t fgets(char *str, int16_t num, char *delim=0)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:251</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a45fe898481c7acb5949f9ca782c18eca"><div class="ttname"><a href="classSdBaseFile.html#a45fe898481c7acb5949f9ca782c18eca">SdBaseFile::getpos</a></div><div class="ttdeci">void getpos(filepos_t *pos)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:297</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a47d4ba2177ffcd99c2387f9fac182d5b"><div class="ttname"><a href="classSdBaseFile.html#a47d4ba2177ffcd99c2387f9fac182d5b">SdBaseFile::writeError</a></div><div class="ttdeci">bool writeError</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:193</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a487e96bc91c36ec69e9f9e4c9c7b9a1a"><div class="ttname"><a href="classSdBaseFile.html#a487e96bc91c36ec69e9f9e4c9c7b9a1a">SdBaseFile::write</a></div><div class="ttdeci">int16_t write(const void *buf, uint16_t nbyte)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:1732</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a4c950d010386a0ac1d8783e2baabf7ac"><div class="ttname"><a href="classSdBaseFile.html#a4c950d010386a0ac1d8783e2baabf7ac">SdBaseFile::setpos</a></div><div class="ttdeci">void setpos(filepos_t *pos)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:1498</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a4d4d95e91fdca81b0fbefcdcfb14f9b2"><div class="ttname"><a href="classSdBaseFile.html#a4d4d95e91fdca81b0fbefcdcfb14f9b2">SdBaseFile::contiguousRange</a></div><div class="ttdeci">bool contiguousRange(uint32_t &bgnBlock, uint32_t &endBlock)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:377</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a5369ddf8d0278fefd91d757ddd47642f"><div class="ttname"><a href="classSdBaseFile.html#a5369ddf8d0278fefd91d757ddd47642f">SdBaseFile::isOpen</a></div><div class="ttdeci">bool isOpen() const</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:262</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a56b9402969b3348c97b413750226f955"><div class="ttname"><a href="classSdBaseFile.html#a56b9402969b3348c97b413750226f955">SdBaseFile::cwd</a></div><div class="ttdeci">static SdBaseFile * cwd()</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:214</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a59a88541e60f67e949f5a96862049e40"><div class="ttname"><a href="classSdBaseFile.html#a59a88541e60f67e949f5a96862049e40">SdBaseFile::open</a></div><div class="ttdeci">bool open(SdBaseFile &dirFile, const char *path, uint8_t oflag)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:426</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a644ef82b80e875e96b02dabe0dacc6ab"><div class="ttname"><a href="classSdBaseFile.html#a644ef82b80e875e96b02dabe0dacc6ab">SdBaseFile::mkdir</a></div><div class="ttdeci">bool mkdir(SdBaseFile &dir, const char *path)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:414</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a66d5c3a0535305c8a434b5b685db8ea2"><div class="ttname"><a href="classSdBaseFile.html#a66d5c3a0535305c8a434b5b685db8ea2">SdBaseFile::printDirName</a></div><div class="ttdeci">static void printDirName(const dir_t &dir, uint8_t width, bool printSlash)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:945</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a6deeca0369755c5532c0be202414d3c0"><div class="ttname"><a href="classSdBaseFile.html#a6deeca0369755c5532c0be202414d3c0">SdBaseFile::type</a></div><div class="ttdeci">uint8_t type() const</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:320</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a6e88ee210c9bd7556477c0e7ba4de1bb"><div class="ttname"><a href="classSdBaseFile.html#a6e88ee210c9bd7556477c0e7ba4de1bb">SdBaseFile::remove</a></div><div class="ttdeci">bool remove()</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:1201</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a6f42e496b179dbdd2c09083cfad28613"><div class="ttname"><a href="classSdBaseFile.html#a6f42e496b179dbdd2c09083cfad28613">SdBaseFile::seekEnd</a></div><div class="ttdeci">bool seekEnd(int32_t offset=0)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:309</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a6ff5b48f672515ec20831583de74407f"><div class="ttname"><a href="classSdBaseFile.html#a6ff5b48f672515ec20831583de74407f">SdBaseFile::open</a></div><div class="ttdeci">bool open(SdBaseFile *dirFile, uint16_t index, uint8_t oflag)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:712</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a70f1353aabf99417eb65d2305d627173"><div class="ttname"><a href="classSdBaseFile.html#a70f1353aabf99417eb65d2305d627173">SdBaseFile::open</a></div><div class="ttdeci">bool open(SdBaseFile &dirFile, const char *path)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:436</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a7268834187e8216605963f8ae3cf1e6e"><div class="ttname"><a href="classSdBaseFile.html#a7268834187e8216605963f8ae3cf1e6e">SdBaseFile::rmdir</a></div><div class="ttdeci">bool rmdir()</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:1354</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a768387737bb4f365e34be83e379847cc"><div class="ttname"><a href="classSdBaseFile.html#a768387737bb4f365e34be83e379847cc">SdBaseFile::ls</a></div><div class="ttdeci">void ls(uint8_t flags=0, uint8_t indent=0)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:318</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a7a5369b40eb15ad26c2e4af5d069c52c"><div class="ttname"><a href="classSdBaseFile.html#a7a5369b40eb15ad26c2e4af5d069c52c">SdBaseFile::rewind</a></div><div class="ttdeci">void rewind()</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:292</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a81120672345e75eb23855e8106315fd1"><div class="ttname"><a href="classSdBaseFile.html#a81120672345e75eb23855e8106315fd1">SdBaseFile::isFile</a></div><div class="ttdeci">bool isFile() const</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:260</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a82f20b1353579b90ff36f80d97b012f1"><div class="ttname"><a href="classSdBaseFile.html#a82f20b1353579b90ff36f80d97b012f1">SdBaseFile::isDir</a></div><div class="ttdeci">bool isDir() const</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:258</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a8d19bd0f731d3780984f301b4dd1807c"><div class="ttname"><a href="classSdBaseFile.html#a8d19bd0f731d3780984f301b4dd1807c">SdBaseFile::firstCluster</a></div><div class="ttdeci">uint32_t firstCluster() const</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:255</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a8fdbf7893bf19793e772b340e4c08fed"><div class="ttname"><a href="classSdBaseFile.html#a8fdbf7893bf19793e772b340e4c08fed">SdBaseFile::dirName</a></div><div class="ttdeci">static void dirName(const dir_t &dir, char *name)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:205</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a900cb7c95075d2aceb8b6cc618644e0c"><div class="ttname"><a href="classSdBaseFile.html#a900cb7c95075d2aceb8b6cc618644e0c">SdBaseFile::createContiguous</a></div><div class="ttdeci">bool createContiguous(SdBaseFile &dirFile, const char *path, uint32_t size)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:388</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a96a7df81f7667901e11ccd9f7767141a"><div class="ttname"><a href="classSdBaseFile.html#a96a7df81f7667901e11ccd9f7767141a">SdBaseFile::dateTimeCallback</a></div><div class="ttdeci">static void dateTimeCallback(void(*dateTime)(uint16_t &date, uint16_t &time))</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:397</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a996abee868ce928d04d9d0ad9305c915"><div class="ttname"><a href="classSdBaseFile.html#a996abee868ce928d04d9d0ad9305c915">SdBaseFile::peek</a></div><div class="ttdeci">int peek()</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:930</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a9d1ad1abbd90089f731de81de1708c19"><div class="ttname"><a href="classSdBaseFile.html#a9d1ad1abbd90089f731de81de1708c19">SdBaseFile::truncate</a></div><div class="ttdeci">bool truncate(uint32_t size)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:1670</div></div>
<div class="ttc" id="aclassSdBaseFile_html_a9d7dcf89a8d3144731e59ea74a640d68"><div class="ttname"><a href="classSdBaseFile.html#a9d7dcf89a8d3144731e59ea74a640d68">SdBaseFile::printFatTime</a></div><div class="ttdeci">static void printFatTime(uint16_t fatTime)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:1004</div></div>
<div class="ttc" id="aclassSdBaseFile_html_aa0b95ccc568d483f1416d2eacd1ff3f7"><div class="ttname"><a href="classSdBaseFile.html#aa0b95ccc568d483f1416d2eacd1ff3f7">SdBaseFile::exists</a></div><div class="ttdeci">bool exists(const char *name)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:226</div></div>
<div class="ttc" id="aclassSdBaseFile_html_ab04ec7e129607973f6e3436f779b6501"><div class="ttname"><a href="classSdBaseFile.html#ab04ec7e129607973f6e3436f779b6501">SdBaseFile::seekCur</a></div><div class="ttdeci">bool seekCur(int32_t offset)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:302</div></div>
<div class="ttc" id="aclassSdBaseFile_html_ab46dc1803b6242373cc9e86cb0997b1f"><div class="ttname"><a href="classSdBaseFile.html#ab46dc1803b6242373cc9e86cb0997b1f">SdBaseFile::isSubDir</a></div><div class="ttdeci">bool isSubDir() const</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:264</div></div>
<div class="ttc" id="aclassSdBaseFile_html_ac67ffdfb84263bcd425886c09a15e287"><div class="ttname"><a href="classSdBaseFile.html#ac67ffdfb84263bcd425886c09a15e287">SdBaseFile::openRoot</a></div><div class="ttdeci">bool openRoot(SdVolume *vol)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:893</div></div>
<div class="ttc" id="aclassSdBaseFile_html_acaa6170843f6e0a2f28ee9ab7f367973"><div class="ttname"><a href="classSdBaseFile.html#acaa6170843f6e0a2f28ee9ab7f367973">SdBaseFile::curPosition</a></div><div class="ttdeci">uint32_t curPosition() const</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:212</div></div>
<div class="ttc" id="aclassSdBaseFile_html_ad14a78d348219d6ce096582b6ed74526"><div class="ttname"><a href="classSdBaseFile.html#ad14a78d348219d6ce096582b6ed74526">SdBaseFile::createContiguous</a></div><div class="ttdeci">bool createContiguous(SdBaseFile *dirFile, const char *path, uint32_t size)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:149</div></div>
<div class="ttc" id="aclassSdBaseFile_html_ad1de34e5dc5b3a1727208f949b5838e9"><div class="ttname"><a href="classSdBaseFile.html#ad1de34e5dc5b3a1727208f949b5838e9">SdBaseFile::mkdir</a></div><div class="ttdeci">bool mkdir(SdBaseFile *dir, const char *path, bool pFlag=true)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:431</div></div>
<div class="ttc" id="aclassSdBaseFile_html_ad6e9f07c62add23dfe0338bdd0bf2d40"><div class="ttname"><a href="classSdBaseFile.html#ad6e9f07c62add23dfe0338bdd0bf2d40">SdBaseFile::rename</a></div><div class="ttdeci">bool rename(SdBaseFile *dirFile, const char *newPath)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:1261</div></div>
<div class="ttc" id="aclassSdBaseFile_html_adc3d286a1a41a69fcbdf04e2af6f4ac4"><div class="ttname"><a href="classSdBaseFile.html#adc3d286a1a41a69fcbdf04e2af6f4ac4">SdBaseFile::readDir</a></div><div class="ttdeci">int8_t readDir(dir_t *dir, char *longFilename)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:1114</div></div>
<div class="ttc" id="aclassSdBaseFile_html_adf84a0487f3b45fc183756b9d17141cd"><div class="ttname"><a href="classSdBaseFile.html#adf84a0487f3b45fc183756b9d17141cd">SdBaseFile::timestamp</a></div><div class="ttdeci">bool timestamp(SdBaseFile *file)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:1553</div></div>
<div class="ttc" id="aclassSdBaseFile_html_aee4c736345e96aa5ddb7e5768ce88f51"><div class="ttname"><a href="classSdBaseFile.html#aee4c736345e96aa5ddb7e5768ce88f51">SdBaseFile::openNext</a></div><div class="ttdeci">bool openNext(SdBaseFile *dirFile, uint8_t oflag)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:794</div></div>
<div class="ttc" id="aclassSdBaseFile_html_aef160105e61e6e6272755ee05749a9b1"><div class="ttname"><a href="classSdBaseFile.html#aef160105e61e6e6272755ee05749a9b1">SdBaseFile::readDir</a></div><div class="ttdeci">int8_t readDir(dir_t &dir, char *longFilename)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:460</div></div>
<div class="ttc" id="aclassSdBaseFile_html_af046d9b0e66675d0b420705677024392"><div class="ttname"><a href="classSdBaseFile.html#af046d9b0e66675d0b420705677024392">SdBaseFile::remove</a></div><div class="ttdeci">static bool remove(SdBaseFile &dirFile, const char *path)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:467</div></div>
<div class="ttc" id="aclassSdBaseFile_html_af22c6c9edcec9353be6366be0fff2569"><div class="ttname"><a href="classSdBaseFile.html#af22c6c9edcec9353be6366be0fff2569">SdBaseFile::openParent</a></div><div class="ttdeci">bool openParent(SdBaseFile *dir)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:836</div></div>
<div class="ttc" id="aclassSdBaseFile_html_af25dfa28442c37b033576c2badd64da9"><div class="ttname"><a href="classSdBaseFile.html#af25dfa28442c37b033576c2badd64da9">SdBaseFile::volume</a></div><div class="ttdeci">SdVolume * volume() const</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:323</div></div>
<div class="ttc" id="aclassSdBaseFile_html_af834a7382f05687c5aa14136c0d32aad"><div class="ttname"><a href="classSdBaseFile.html#af834a7382f05687c5aa14136c0d32aad">SdBaseFile::openRoot</a></div><div class="ttdeci">bool openRoot(SdVolume &vol)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:455</div></div>
<div class="ttc" id="aclassSdBaseFile_html_afe6aeaf0ca7573ceb8bb335c802dab16"><div class="ttname"><a href="classSdBaseFile.html#afe6aeaf0ca7573ceb8bb335c802dab16">SdBaseFile::seekSet</a></div><div class="ttdeci">bool seekSet(uint32_t pos)</div><div class="ttdef"><b>Definition:</b> SdBaseFile.cpp:1459</div></div>
<div class="ttc" id="aclassSdVolume_html"><div class="ttname"><a href="classSdVolume.html">SdVolume</a></div><div class="ttdoc">Access FAT16 and FAT32 volumes on SD and SDHC cards.</div><div class="ttdef"><b>Definition:</b> SdVolume.h:60</div></div>
<div class="ttc" id="afirst__lay__cal_8cpp_html_a3cdd485f12d685254d9ed25be3340f9e"><div class="ttname"><a href="first__lay__cal_8cpp.html#a3cdd485f12d685254d9ed25be3340f9e">width</a></div><div class="ttdeci">static const float width</div><div class="ttdoc">line width</div><div class="ttdef"><b>Definition:</b> first_lay_cal.cpp:152</div></div>
<div class="ttc" id="astructdirectoryEntry_html"><div class="ttname"><a href="structdirectoryEntry.html">directoryEntry</a></div><div class="ttdoc">FAT short directory entry.</div><div class="ttdef"><b>Definition:</b> SdFatStructs.h:496</div></div>
<div class="ttc" id="astructfilepos__t_html"><div class="ttname"><a href="structfilepos__t.html">filepos_t</a></div><div class="ttdoc">internal type for istream do not use in user apps</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:38</div></div>
<div class="ttc" id="astructfilepos__t_html_a00210d9884c39d36166cf5d878c4db8b"><div class="ttname"><a href="structfilepos__t.html#a00210d9884c39d36166cf5d878c4db8b">filepos_t::position</a></div><div class="ttdeci">uint32_t position</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:40</div></div>
<div class="ttc" id="astructfilepos__t_html_ae76921e80d5d0d1c13e2c52a74b35687"><div class="ttname"><a href="structfilepos__t.html#ae76921e80d5d0d1c13e2c52a74b35687">filepos_t::cluster</a></div><div class="ttdeci">uint32_t cluster</div><div class="ttdef"><b>Definition:</b> SdBaseFile.h:42</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>