Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

10 роки тому
5 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
8 роки тому
5 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
10 роки тому
5 роки тому
5 роки тому
10 роки тому
5 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
5 роки тому
5 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
8 роки тому
5 роки тому
8 роки тому
5 роки тому
8 роки тому
8 роки тому
8 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
8 роки тому
5 роки тому
8 роки тому
5 роки тому
8 роки тому
5 роки тому
8 роки тому
5 роки тому
8 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
5 роки тому
5 роки тому
5 роки тому
5 роки тому
5 роки тому
5 роки тому
10 роки тому
5 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
5 роки тому
5 роки тому
5 роки тому
5 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
5 роки тому
5 роки тому
5 роки тому
5 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
5 роки тому
10 роки тому
5 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
5 роки тому
5 роки тому
10 роки тому
5 роки тому
10 роки тому
10 роки тому
10 роки тому
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.16"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>SdFat: FatFile Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">SdFat
  25. </div>
  26. </td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </div>
  31. <!-- end header part -->
  32. <!-- Generated by Doxygen 1.8.16 -->
  33. <script type="text/javascript">
  34. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. /* @license-end */
  37. </script>
  38. <script type="text/javascript" src="menudata.js"></script>
  39. <script type="text/javascript" src="menu.js"></script>
  40. <script type="text/javascript">
  41. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  42. $(function() {
  43. initMenu('',true,false,'search.php','Search');
  44. $(document).ready(function() { init_search(); });
  45. });
  46. /* @license-end */</script>
  47. <div id="main-nav"></div>
  48. <!-- window showing the filter options -->
  49. <div id="MSearchSelectWindow"
  50. onmouseover="return searchBox.OnSearchSelectShow()"
  51. onmouseout="return searchBox.OnSearchSelectHide()"
  52. onkeydown="return searchBox.OnSearchSelectKey(event)">
  53. </div>
  54. <!-- iframe showing the search results (closed by default) -->
  55. <div id="MSearchResultsWindow">
  56. <iframe src="javascript:void(0)" frameborder="0"
  57. name="MSearchResults" id="MSearchResults">
  58. </iframe>
  59. </div>
  60. </div><!-- top -->
  61. <div class="header">
  62. <div class="summary">
  63. <a href="#pub-methods">Public Member Functions</a> &#124;
  64. <a href="#pub-static-methods">Static Public Member Functions</a> &#124;
  65. <a href="#friends">Friends</a> &#124;
  66. <a href="class_fat_file-members.html">List of all members</a> </div>
  67. <div class="headertitle">
  68. <div class="title">FatFile Class Reference</div> </div>
  69. </div><!--header-->
  70. <div class="contents">
  71. <p>Basic file class.
  72. <a href="class_fat_file.html#details">More...</a></p>
  73. <p><code>#include &lt;FatFile.h&gt;</code></p>
  74. <div class="dynheader">
  75. Inheritance diagram for FatFile:</div>
  76. <div class="dyncontent">
  77. <div class="center"><img src="class_fat_file__inherit__graph.png" border="0" usemap="#_fat_file_inherit__map" alt="Inheritance graph"/></div>
  78. <map name="_fat_file_inherit__map" id="_fat_file_inherit__map">
  79. <area shape="rect" title="Basic file class." alt="" coords="273,5,336,32"/>
  80. <area shape="rect" href="class_print_file.html" title=" " alt="" coords="5,87,167,114"/>
  81. <area shape="rect" href="class_stdio_stream.html" title="StdioStream implements a minimal stdio stream." alt="" coords="191,87,285,114"/>
  82. <area shape="rect" href="class_stream_base_class.html" title="base type for FAT and exFAT streams" alt="" coords="309,87,436,114"/>
  83. <area shape="rect" href="class_stream_file.html" title=" " alt="" coords="467,80,609,121"/>
  84. <area shape="rect" href="class_sd_file.html" title="FAT16/FAT32 file with Print." alt="" coords="57,169,115,196"/>
  85. <area shape="rect" href="classfstream.html" title="file input/output stream." alt="" coords="243,169,308,196"/>
  86. <area shape="rect" href="classifstream.html" title="file input stream." alt="" coords="332,169,400,196"/>
  87. <area shape="rect" href="classofstream.html" title="file output stream." alt="" coords="425,169,497,196"/>
  88. <area shape="rect" href="class_file32.html" title="FAT16/FAT32 file with Arduino Stream." alt="" coords="521,169,579,196"/>
  89. </map>
  90. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  91. <table class="memberdecls">
  92. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  93. Public Member Functions</h2></td></tr>
  94. <tr class="memitem:a4baea142c9cd53293a93ef3d6a67aa16"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a4baea142c9cd53293a93ef3d6a67aa16">available</a> ()</td></tr>
  95. <tr class="separator:a4baea142c9cd53293a93ef3d6a67aa16"><td class="memSeparator" colspan="2">&#160;</td></tr>
  96. <tr class="memitem:a651ffa37e7e586fc3c2de8cbbd500ea6"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a651ffa37e7e586fc3c2de8cbbd500ea6">available32</a> ()</td></tr>
  97. <tr class="separator:a651ffa37e7e586fc3c2de8cbbd500ea6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  98. <tr class="memitem:a052e2c15a39b322a5307b693b8835b22"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a052e2c15a39b322a5307b693b8835b22">clearError</a> ()</td></tr>
  99. <tr class="separator:a052e2c15a39b322a5307b693b8835b22"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:aeca2a2eff91e6aa55fe1b0e3860c9a05"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aeca2a2eff91e6aa55fe1b0e3860c9a05">clearWriteError</a> ()</td></tr>
  101. <tr class="separator:aeca2a2eff91e6aa55fe1b0e3860c9a05"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr class="memitem:afd16af325e0642e4bff6430b7d8bb18b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#afd16af325e0642e4bff6430b7d8bb18b">close</a> ()</td></tr>
  103. <tr class="separator:afd16af325e0642e4bff6430b7d8bb18b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <tr class="memitem:a12b3c5a763416ca62c70e3db74033cd0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a12b3c5a763416ca62c70e3db74033cd0">contiguousRange</a> (uint32_t *bgnSector, uint32_t *endSector)</td></tr>
  105. <tr class="separator:a12b3c5a763416ca62c70e3db74033cd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:a0853fbd44aee2798d14d8e3aed78f8bf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a0853fbd44aee2798d14d8e3aed78f8bf">createContiguous</a> (const char *path, uint32_t size)</td></tr>
  107. <tr class="separator:a0853fbd44aee2798d14d8e3aed78f8bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:a0afc2a1cffa238d1cb2049bfa2d8d199"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a0afc2a1cffa238d1cb2049bfa2d8d199">createContiguous</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dirFile, const char *path, uint32_t size)</td></tr>
  109. <tr class="separator:a0afc2a1cffa238d1cb2049bfa2d8d199"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="memitem:a526f3dd56ce205690e45ffc86ef6f891"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a526f3dd56ce205690e45ffc86ef6f891">curCluster</a> () const</td></tr>
  111. <tr class="separator:a526f3dd56ce205690e45ffc86ef6f891"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:a97e0620949f97e9b9c91ed1094d728aa"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a97e0620949f97e9b9c91ed1094d728aa">curPosition</a> () const</td></tr>
  113. <tr class="separator:a97e0620949f97e9b9c91ed1094d728aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:a2f4e9ab3056125b07f15d14ca26d5346"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a2f4e9ab3056125b07f15d14ca26d5346">dirEntry</a> (DirFat_t *dir)</td></tr>
  115. <tr class="separator:a2f4e9ab3056125b07f15d14ca26d5346"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:ae5ec24d4a94d3780384d3f2b731c7eb9"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ae5ec24d4a94d3780384d3f2b731c7eb9">dirIndex</a> ()</td></tr>
  117. <tr class="separator:ae5ec24d4a94d3780384d3f2b731c7eb9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:ae2ed15f05c9ccbce355e7a8d3ce8382d"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ae2ed15f05c9ccbce355e7a8d3ce8382d">dirSize</a> ()</td></tr>
  119. <tr class="separator:ae2ed15f05c9ccbce355e7a8d3ce8382d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:a4f01d27954ae49aeb6888ac7302f55d9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a4f01d27954ae49aeb6888ac7302f55d9">dmpFile</a> (<a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr, uint32_t pos, size_t n)</td></tr>
  121. <tr class="separator:a4f01d27954ae49aeb6888ac7302f55d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:a50242f98dea0d4488ce4039a279f2a57"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a50242f98dea0d4488ce4039a279f2a57">exists</a> (const char *path)</td></tr>
  123. <tr class="separator:a50242f98dea0d4488ce4039a279f2a57"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:a7b591c9b92165fa8e4eae8c30c30e533"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a7b591c9b92165fa8e4eae8c30c30e533">FatFile</a> ()</td></tr>
  125. <tr class="separator:a7b591c9b92165fa8e4eae8c30c30e533"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:a38f9a296138648d6135cbbbf41ef6b92"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a38f9a296138648d6135cbbbf41ef6b92">FatFile</a> (const char *path, oflag_t oflag)</td></tr>
  127. <tr class="separator:a38f9a296138648d6135cbbbf41ef6b92"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:a33e0b0a8a342047f29ab8e8aae9cae14"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a33e0b0a8a342047f29ab8e8aae9cae14">fgetpos</a> (fspos_t *pos)</td></tr>
  129. <tr class="separator:a33e0b0a8a342047f29ab8e8aae9cae14"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:a9e05a51767f7c8f70c6f337eecbdca03"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a9e05a51767f7c8f70c6f337eecbdca03">fgets</a> (char *str, int num, char *delim=<a class="el" href="_stdio_stream_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>)</td></tr>
  131. <tr class="separator:a9e05a51767f7c8f70c6f337eecbdca03"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:a874940574b9c99e763526465adf8dc28"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a874940574b9c99e763526465adf8dc28">fileSize</a> () const</td></tr>
  133. <tr class="separator:a874940574b9c99e763526465adf8dc28"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:a5ac8a604863d18840f4a93c5c788b7c8"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a5ac8a604863d18840f4a93c5c788b7c8">firstBlock</a> () const</td></tr>
  135. <tr class="separator:a5ac8a604863d18840f4a93c5c788b7c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:af3108df387f30ca3d367dd390a04daaa"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#af3108df387f30ca3d367dd390a04daaa">firstSector</a> () const</td></tr>
  137. <tr class="separator:af3108df387f30ca3d367dd390a04daaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:a166b5ff04754cc925f2aee71bf92f800"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a166b5ff04754cc925f2aee71bf92f800">flush</a> ()</td></tr>
  139. <tr class="separator:a166b5ff04754cc925f2aee71bf92f800"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <tr class="memitem:ac042c43d41ecfff4e101b88f3f82086e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ac042c43d41ecfff4e101b88f3f82086e">fsetpos</a> (const fspos_t *pos)</td></tr>
  141. <tr class="separator:ac042c43d41ecfff4e101b88f3f82086e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <tr class="memitem:ad0dbbd083180f44c7a3ce7124d4ce19c"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ad0dbbd083180f44c7a3ce7124d4ce19c">getError</a> ()</td></tr>
  143. <tr class="separator:ad0dbbd083180f44c7a3ce7124d4ce19c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:aafa565e286440aab612cdb430fc01da5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aafa565e286440aab612cdb430fc01da5">getName</a> (char *name, size_t size)</td></tr>
  145. <tr class="separator:aafa565e286440aab612cdb430fc01da5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:aba30e92a66f8e0d2f815c85662772a58"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aba30e92a66f8e0d2f815c85662772a58">getSFN</a> (char *name)</td></tr>
  147. <tr class="separator:aba30e92a66f8e0d2f815c85662772a58"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:a8062c0d3a118e8d77d0310418703d5f5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a8062c0d3a118e8d77d0310418703d5f5">getWriteError</a> ()</td></tr>
  149. <tr class="separator:a8062c0d3a118e8d77d0310418703d5f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:a16478eafdb731e867fb627d19091c3ce"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a16478eafdb731e867fb627d19091c3ce">isContiguous</a> () const</td></tr>
  151. <tr class="separator:a16478eafdb731e867fb627d19091c3ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <tr class="memitem:a933360b20b496421b2bd9ee7a95563a6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a933360b20b496421b2bd9ee7a95563a6">isDir</a> () const</td></tr>
  153. <tr class="separator:a933360b20b496421b2bd9ee7a95563a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. <tr class="memitem:acc5a87da1a5c8cb9758bfeaa7ae47b57"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#acc5a87da1a5c8cb9758bfeaa7ae47b57">isFile</a> () const</td></tr>
  155. <tr class="separator:acc5a87da1a5c8cb9758bfeaa7ae47b57"><td class="memSeparator" colspan="2">&#160;</td></tr>
  156. <tr class="memitem:ae216b4a2bc44a9cfb88478fa051a1fd8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ae216b4a2bc44a9cfb88478fa051a1fd8">isHidden</a> () const</td></tr>
  157. <tr class="separator:ae216b4a2bc44a9cfb88478fa051a1fd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  158. <tr class="memitem:af8f456ab790e818bfdd225cf6ffd40f3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#af8f456ab790e818bfdd225cf6ffd40f3">isLFN</a> () const</td></tr>
  159. <tr class="separator:af8f456ab790e818bfdd225cf6ffd40f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  160. <tr class="memitem:a8b8a2850c086d3ce79bee64a23fbf7a6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a8b8a2850c086d3ce79bee64a23fbf7a6">isOpen</a> () const</td></tr>
  161. <tr class="separator:a8b8a2850c086d3ce79bee64a23fbf7a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. <tr class="memitem:ae60b4cedb69c88ac641813d5edfa6b4a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ae60b4cedb69c88ac641813d5edfa6b4a">isReadable</a> () const</td></tr>
  163. <tr class="separator:ae60b4cedb69c88ac641813d5edfa6b4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  164. <tr class="memitem:abaf639ec8f86f34aeb7e6b3615526f0b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#abaf639ec8f86f34aeb7e6b3615526f0b">isReadOnly</a> () const</td></tr>
  165. <tr class="separator:abaf639ec8f86f34aeb7e6b3615526f0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  166. <tr class="memitem:a03421a0c28649332f55e6ca06d3aeedb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a03421a0c28649332f55e6ca06d3aeedb">isRoot</a> () const</td></tr>
  167. <tr class="separator:a03421a0c28649332f55e6ca06d3aeedb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  168. <tr class="memitem:a8fda8004720ec4cc55710869dbb52e35"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a8fda8004720ec4cc55710869dbb52e35">isRoot32</a> () const</td></tr>
  169. <tr class="separator:a8fda8004720ec4cc55710869dbb52e35"><td class="memSeparator" colspan="2">&#160;</td></tr>
  170. <tr class="memitem:a0cc65089f7ce6c1ff92edbf0bff59dee"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a0cc65089f7ce6c1ff92edbf0bff59dee">isRootFixed</a> () const</td></tr>
  171. <tr class="separator:a0cc65089f7ce6c1ff92edbf0bff59dee"><td class="memSeparator" colspan="2">&#160;</td></tr>
  172. <tr class="memitem:abfd02c5d26f7d4f8739a8610116a6660"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#abfd02c5d26f7d4f8739a8610116a6660">isSubDir</a> () const</td></tr>
  173. <tr class="separator:abfd02c5d26f7d4f8739a8610116a6660"><td class="memSeparator" colspan="2">&#160;</td></tr>
  174. <tr class="memitem:a48087bdeb6b94fc27e0f74c3d90af5a9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a48087bdeb6b94fc27e0f74c3d90af5a9">isSystem</a> () const</td></tr>
  175. <tr class="separator:a48087bdeb6b94fc27e0f74c3d90af5a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  176. <tr class="memitem:aa484d5b2b147c5f3fe0e26b6eaf11ffc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aa484d5b2b147c5f3fe0e26b6eaf11ffc">isWritable</a> () const</td></tr>
  177. <tr class="separator:aa484d5b2b147c5f3fe0e26b6eaf11ffc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  178. <tr class="memitem:a60ab9d16bcc778150a364c26de467de1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a60ab9d16bcc778150a364c26de467de1">ls</a> (<a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr, uint8_t flags=0, uint8_t indent=0)</td></tr>
  179. <tr class="separator:a60ab9d16bcc778150a364c26de467de1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  180. <tr class="memitem:a6a11f3307da6232b5f2d11812832d93a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a6a11f3307da6232b5f2d11812832d93a">ls</a> (uint8_t flags=0)</td></tr>
  181. <tr class="separator:a6a11f3307da6232b5f2d11812832d93a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  182. <tr class="memitem:abab5b9f72cc796388dd4eed01d13d90d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#abab5b9f72cc796388dd4eed01d13d90d">mkdir</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dir, const char *path, bool pFlag=true)</td></tr>
  183. <tr class="separator:abab5b9f72cc796388dd4eed01d13d90d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  184. <tr class="memitem:afd3e4d5a76b6751ca796fc57f4dd2be4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#afd3e4d5a76b6751ca796fc57f4dd2be4">open</a> (const char *path, oflag_t oflag=0X00)</td></tr>
  185. <tr class="separator:afd3e4d5a76b6751ca796fc57f4dd2be4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  186. <tr class="memitem:a58d6ea245f1bc3ae7a6df311cd25052f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a58d6ea245f1bc3ae7a6df311cd25052f">open</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dirFile, const char *path, oflag_t oflag)</td></tr>
  187. <tr class="separator:a58d6ea245f1bc3ae7a6df311cd25052f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  188. <tr class="memitem:ab44920bb9cd5414b8e69c9dc4343394a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ab44920bb9cd5414b8e69c9dc4343394a">open</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dirFile, uint16_t index, oflag_t oflag)</td></tr>
  189. <tr class="separator:ab44920bb9cd5414b8e69c9dc4343394a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  190. <tr class="memitem:af49a42dc64cd954debb271eae5639059"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#af49a42dc64cd954debb271eae5639059">open</a> (<a class="el" href="class_fat_volume.html">FatVolume</a> *vol, const char *path, oflag_t oflag)</td></tr>
  191. <tr class="separator:af49a42dc64cd954debb271eae5639059"><td class="memSeparator" colspan="2">&#160;</td></tr>
  192. <tr class="memitem:a7f98b908a686574efbd7e1d20121ef9a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a7f98b908a686574efbd7e1d20121ef9a">openNext</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dirFile, oflag_t oflag=0X00)</td></tr>
  193. <tr class="separator:a7f98b908a686574efbd7e1d20121ef9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  194. <tr class="memitem:a7e0c0548fed3a69e7284b91b694439d4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a7e0c0548fed3a69e7284b91b694439d4">openRoot</a> (<a class="el" href="class_fat_volume.html">FatVolume</a> *vol)</td></tr>
  195. <tr class="separator:a7e0c0548fed3a69e7284b91b694439d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  196. <tr class="memitem:acd141c43d03cf790b3b9806f3b059e77"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#acd141c43d03cf790b3b9806f3b059e77">operator bool</a> ()</td></tr>
  197. <tr class="separator:acd141c43d03cf790b3b9806f3b059e77"><td class="memSeparator" colspan="2">&#160;</td></tr>
  198. <tr class="memitem:ac05b7136b887539426856c623869aa3a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ac05b7136b887539426856c623869aa3a">peek</a> ()</td></tr>
  199. <tr class="separator:ac05b7136b887539426856c623869aa3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  200. <tr class="memitem:aeeb13b9de68bf9097c863c41d655ee83"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aeeb13b9de68bf9097c863c41d655ee83">preAllocate</a> (uint32_t length)</td></tr>
  201. <tr class="separator:aeeb13b9de68bf9097c863c41d655ee83"><td class="memSeparator" colspan="2">&#160;</td></tr>
  202. <tr class="memitem:a22be4c339d0bfa331f75415b74dd4f37"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a22be4c339d0bfa331f75415b74dd4f37">printAccessDate</a> (<a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr)</td></tr>
  203. <tr class="separator:a22be4c339d0bfa331f75415b74dd4f37"><td class="memSeparator" colspan="2">&#160;</td></tr>
  204. <tr class="memitem:a19b3196bb1f6a68a2447e53b09369aef"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a19b3196bb1f6a68a2447e53b09369aef">printAccessDateTime</a> (<a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr)</td></tr>
  205. <tr class="separator:a19b3196bb1f6a68a2447e53b09369aef"><td class="memSeparator" colspan="2">&#160;</td></tr>
  206. <tr class="memitem:ab22396a285e27b53501a0047ddd97f59"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ab22396a285e27b53501a0047ddd97f59">printCreateDateTime</a> (<a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr)</td></tr>
  207. <tr class="separator:ab22396a285e27b53501a0047ddd97f59"><td class="memSeparator" colspan="2">&#160;</td></tr>
  208. <tr class="memitem:aa4a61a0cca1813d2ad0f6fe99cc4e41d"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aa4a61a0cca1813d2ad0f6fe99cc4e41d">printField</a> (double value, char term, uint8_t prec=2)</td></tr>
  209. <tr class="separator:aa4a61a0cca1813d2ad0f6fe99cc4e41d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  210. <tr class="memitem:a90ccef676afd62bbe7c773dd863a56e0"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a90ccef676afd62bbe7c773dd863a56e0">printField</a> (float value, char term, uint8_t prec=2)</td></tr>
  211. <tr class="separator:a90ccef676afd62bbe7c773dd863a56e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  212. <tr class="memitem:a8f906be79086f38943cb0911310d67bf"><td class="memTemplParams" colspan="2">template&lt;typename Type &gt; </td></tr>
  213. <tr class="memitem:a8f906be79086f38943cb0911310d67bf"><td class="memTemplItemLeft" align="right" valign="top">size_t&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a8f906be79086f38943cb0911310d67bf">printField</a> (Type value, char term)</td></tr>
  214. <tr class="separator:a8f906be79086f38943cb0911310d67bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
  215. <tr class="memitem:a12a5d2de2737c201aa39ca1bd2ab9c47"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a12a5d2de2737c201aa39ca1bd2ab9c47">printFileSize</a> (<a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr)</td></tr>
  216. <tr class="separator:a12a5d2de2737c201aa39ca1bd2ab9c47"><td class="memSeparator" colspan="2">&#160;</td></tr>
  217. <tr class="memitem:a43c8a1cabcae673e43c590f5db44c65a"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a43c8a1cabcae673e43c590f5db44c65a">printModifyDateTime</a> (<a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr)</td></tr>
  218. <tr class="separator:a43c8a1cabcae673e43c590f5db44c65a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  219. <tr class="memitem:ad1cbc3aeb0f5193b7a26595966da9621"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ad1cbc3aeb0f5193b7a26595966da9621">printName</a> ()</td></tr>
  220. <tr class="separator:ad1cbc3aeb0f5193b7a26595966da9621"><td class="memSeparator" colspan="2">&#160;</td></tr>
  221. <tr class="memitem:afe18a787fb8640e2d2483370c770f82f"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#afe18a787fb8640e2d2483370c770f82f">printName</a> (<a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr)</td></tr>
  222. <tr class="separator:afe18a787fb8640e2d2483370c770f82f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  223. <tr class="memitem:a791cd7aade71f609aab62ec018aea3c0"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a791cd7aade71f609aab62ec018aea3c0">printSFN</a> (<a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr)</td></tr>
  224. <tr class="separator:a791cd7aade71f609aab62ec018aea3c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  225. <tr class="memitem:a60ae55ff6fe158c2340071d702a363c5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a60ae55ff6fe158c2340071d702a363c5">read</a> ()</td></tr>
  226. <tr class="separator:a60ae55ff6fe158c2340071d702a363c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  227. <tr class="memitem:aba893af8107a18017482d2311b066187"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aba893af8107a18017482d2311b066187">read</a> (void *buf, size_t count)</td></tr>
  228. <tr class="separator:aba893af8107a18017482d2311b066187"><td class="memSeparator" colspan="2">&#160;</td></tr>
  229. <tr class="memitem:a29502cd34ef186763d2196daef27df1f"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a29502cd34ef186763d2196daef27df1f">readDir</a> (DirFat_t *dir)</td></tr>
  230. <tr class="separator:a29502cd34ef186763d2196daef27df1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  231. <tr class="memitem:ac837a537fbcca14c7aa390c5fc9f4e7c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ac837a537fbcca14c7aa390c5fc9f4e7c">remove</a> ()</td></tr>
  232. <tr class="separator:ac837a537fbcca14c7aa390c5fc9f4e7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  233. <tr class="memitem:a75d3276f0b02b03e863afafe5731fedb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a75d3276f0b02b03e863afafe5731fedb">remove</a> (const char *path)</td></tr>
  234. <tr class="separator:a75d3276f0b02b03e863afafe5731fedb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  235. <tr class="memitem:a4cebcac13c1f4c9de7a055ae73133599"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a4cebcac13c1f4c9de7a055ae73133599">rename</a> (const char *newPath)</td></tr>
  236. <tr class="separator:a4cebcac13c1f4c9de7a055ae73133599"><td class="memSeparator" colspan="2">&#160;</td></tr>
  237. <tr class="memitem:a4b42f2454ff462555c07ea094a92a1e0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a4b42f2454ff462555c07ea094a92a1e0">rename</a> (<a class="el" href="class_fat_file.html">FatFile</a> *dirFile, const char *newPath)</td></tr>
  238. <tr class="separator:a4b42f2454ff462555c07ea094a92a1e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  239. <tr class="memitem:a5aac6e0b3cb08fc8b8668e916a8b0ca5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a5aac6e0b3cb08fc8b8668e916a8b0ca5">rewind</a> ()</td></tr>
  240. <tr class="separator:a5aac6e0b3cb08fc8b8668e916a8b0ca5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  241. <tr class="memitem:a9515bac181d33e7f0125e88fa2ccd283"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a9515bac181d33e7f0125e88fa2ccd283">rmdir</a> ()</td></tr>
  242. <tr class="separator:a9515bac181d33e7f0125e88fa2ccd283"><td class="memSeparator" colspan="2">&#160;</td></tr>
  243. <tr class="memitem:ac780a80526f86d3def701ecdc99d8bfe"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ac780a80526f86d3def701ecdc99d8bfe">rmRfStar</a> ()</td></tr>
  244. <tr class="separator:ac780a80526f86d3def701ecdc99d8bfe"><td class="memSeparator" colspan="2">&#160;</td></tr>
  245. <tr class="memitem:a5812037ea30777cc350698ad26f2c73f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a5812037ea30777cc350698ad26f2c73f">seekCur</a> (int32_t offset)</td></tr>
  246. <tr class="separator:a5812037ea30777cc350698ad26f2c73f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  247. <tr class="memitem:a84f677f4e75ef6fa2eb632f4cdf6b486"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a84f677f4e75ef6fa2eb632f4cdf6b486">seekEnd</a> (int32_t offset=0)</td></tr>
  248. <tr class="separator:a84f677f4e75ef6fa2eb632f4cdf6b486"><td class="memSeparator" colspan="2">&#160;</td></tr>
  249. <tr class="memitem:ab067190d25733ed7e697d9890f61fd7a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ab067190d25733ed7e697d9890f61fd7a">seekSet</a> (uint32_t pos)</td></tr>
  250. <tr class="separator:ab067190d25733ed7e697d9890f61fd7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  251. <tr class="memitem:a67f3dc4896c542d695e11aac927f585e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a67f3dc4896c542d695e11aac927f585e">sync</a> ()</td></tr>
  252. <tr class="separator:a67f3dc4896c542d695e11aac927f585e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  253. <tr class="memitem:a56dabdf73833b7e961c4530eb8e16d23"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a56dabdf73833b7e961c4530eb8e16d23">timestamp</a> (uint8_t flags, uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second)</td></tr>
  254. <tr class="separator:a56dabdf73833b7e961c4530eb8e16d23"><td class="memSeparator" colspan="2">&#160;</td></tr>
  255. <tr class="memitem:a7dda881dac19ea2aa9b2e85a229a98d7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a7dda881dac19ea2aa9b2e85a229a98d7">truncate</a> ()</td></tr>
  256. <tr class="separator:a7dda881dac19ea2aa9b2e85a229a98d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  257. <tr class="memitem:aa6e663098a578635d37d92e82d18d616"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aa6e663098a578635d37d92e82d18d616">truncate</a> (uint32_t length)</td></tr>
  258. <tr class="separator:aa6e663098a578635d37d92e82d18d616"><td class="memSeparator" colspan="2">&#160;</td></tr>
  259. <tr class="memitem:a081dd810835f1ebf8c23ffe92706b485"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a081dd810835f1ebf8c23ffe92706b485">write</a> (const char *str)</td></tr>
  260. <tr class="separator:a081dd810835f1ebf8c23ffe92706b485"><td class="memSeparator" colspan="2">&#160;</td></tr>
  261. <tr class="memitem:a5d84d871ac904a22aa48308713d14682"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a5d84d871ac904a22aa48308713d14682">write</a> (const void *buf, size_t count)</td></tr>
  262. <tr class="separator:a5d84d871ac904a22aa48308713d14682"><td class="memSeparator" colspan="2">&#160;</td></tr>
  263. <tr class="memitem:ae51e724ac6cc3d67d64a5a666d5850f1"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#ae51e724ac6cc3d67d64a5a666d5850f1">write</a> (uint8_t b)</td></tr>
  264. <tr class="separator:ae51e724ac6cc3d67d64a5a666d5850f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  265. </table><table class="memberdecls">
  266. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
  267. Static Public Member Functions</h2></td></tr>
  268. <tr class="memitem:a94df8090f16e9666cdc53ca20f6aff90"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a94df8090f16e9666cdc53ca20f6aff90">legal83Char</a> (uint8_t c)</td></tr>
  269. <tr class="separator:a94df8090f16e9666cdc53ca20f6aff90"><td class="memSeparator" colspan="2">&#160;</td></tr>
  270. <tr class="memitem:aabcd863883bfcfb37b63dbd6021f7eb8"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#aabcd863883bfcfb37b63dbd6021f7eb8">printFatDate</a> (<a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr, uint16_t fatDate)</td></tr>
  271. <tr class="separator:aabcd863883bfcfb37b63dbd6021f7eb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  272. <tr class="memitem:a7f84d953190ea94710dad9ebb897b957"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a7f84d953190ea94710dad9ebb897b957">printFatTime</a> (<a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *pr, uint16_t fatTime)</td></tr>
  273. <tr class="separator:a7f84d953190ea94710dad9ebb897b957"><td class="memSeparator" colspan="2">&#160;</td></tr>
  274. </table><table class="memberdecls">
  275. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
  276. Friends</h2></td></tr>
  277. <tr class="memitem:a6ca3f436167f187097347a20ea221555"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_fat_file.html#a6ca3f436167f187097347a20ea221555">FatVolume</a></td></tr>
  278. <tr class="separator:a6ca3f436167f187097347a20ea221555"><td class="memSeparator" colspan="2">&#160;</td></tr>
  279. </table>
  280. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  281. <div class="textblock"><p>Basic file class. </p>
  282. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  283. <a id="a7b591c9b92165fa8e4eae8c30c30e533"></a>
  284. <h2 class="memtitle"><span class="permalink"><a href="#a7b591c9b92165fa8e4eae8c30c30e533">&#9670;&nbsp;</a></span>FatFile() <span class="overload">[1/2]</span></h2>
  285. <div class="memitem">
  286. <div class="memproto">
  287. <table class="mlabels">
  288. <tr>
  289. <td class="mlabels-left">
  290. <table class="memname">
  291. <tr>
  292. <td class="memname">FatFile::FatFile </td>
  293. <td>(</td>
  294. <td class="paramname"></td><td>)</td>
  295. <td></td>
  296. </tr>
  297. </table>
  298. </td>
  299. <td class="mlabels-right">
  300. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  301. </tr>
  302. </table>
  303. </div><div class="memdoc">
  304. <p>Create an instance. </p>
  305. </div>
  306. </div>
  307. <a id="a38f9a296138648d6135cbbbf41ef6b92"></a>
  308. <h2 class="memtitle"><span class="permalink"><a href="#a38f9a296138648d6135cbbbf41ef6b92">&#9670;&nbsp;</a></span>FatFile() <span class="overload">[2/2]</span></h2>
  309. <div class="memitem">
  310. <div class="memproto">
  311. <table class="mlabels">
  312. <tr>
  313. <td class="mlabels-left">
  314. <table class="memname">
  315. <tr>
  316. <td class="memname">FatFile::FatFile </td>
  317. <td>(</td>
  318. <td class="paramtype">const char *&#160;</td>
  319. <td class="paramname"><em>path</em>, </td>
  320. </tr>
  321. <tr>
  322. <td class="paramkey"></td>
  323. <td></td>
  324. <td class="paramtype">oflag_t&#160;</td>
  325. <td class="paramname"><em>oflag</em>&#160;</td>
  326. </tr>
  327. <tr>
  328. <td></td>
  329. <td>)</td>
  330. <td></td><td></td>
  331. </tr>
  332. </table>
  333. </td>
  334. <td class="mlabels-right">
  335. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  336. </tr>
  337. </table>
  338. </div><div class="memdoc">
  339. <p>Create a file object and open it in the current working directory.</p>
  340. <dl class="params"><dt>Parameters</dt><dd>
  341. <table class="params">
  342. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path for a file to be opened.</td></tr>
  343. <tr><td class="paramdir">[in]</td><td class="paramname">oflag</td><td>Values for <em>oflag</em> are constructed by a bitwise-inclusive OR of open flags. see <a class="el" href="class_fat_file.html#a58d6ea245f1bc3ae7a6df311cd25052f">FatFile::open(FatFile*, const char*, uint8_t)</a>. </td></tr>
  344. </table>
  345. </dd>
  346. </dl>
  347. </div>
  348. </div>
  349. <h2 class="groupheader">Member Function Documentation</h2>
  350. <a id="a4baea142c9cd53293a93ef3d6a67aa16"></a>
  351. <h2 class="memtitle"><span class="permalink"><a href="#a4baea142c9cd53293a93ef3d6a67aa16">&#9670;&nbsp;</a></span>available()</h2>
  352. <div class="memitem">
  353. <div class="memproto">
  354. <table class="mlabels">
  355. <tr>
  356. <td class="mlabels-left">
  357. <table class="memname">
  358. <tr>
  359. <td class="memname">int FatFile::available </td>
  360. <td>(</td>
  361. <td class="paramname"></td><td>)</td>
  362. <td></td>
  363. </tr>
  364. </table>
  365. </td>
  366. <td class="mlabels-right">
  367. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  368. </tr>
  369. </table>
  370. </div><div class="memdoc">
  371. <dl class="section return"><dt>Returns</dt><dd>The number of bytes available from the current position to EOF for normal files. INT_MAX is returned for very large files.</dd></dl>
  372. <p>available64() is recomended for very large files.</p>
  373. <p>Zero is returned for directory files. </p>
  374. </div>
  375. </div>
  376. <a id="a651ffa37e7e586fc3c2de8cbbd500ea6"></a>
  377. <h2 class="memtitle"><span class="permalink"><a href="#a651ffa37e7e586fc3c2de8cbbd500ea6">&#9670;&nbsp;</a></span>available32()</h2>
  378. <div class="memitem">
  379. <div class="memproto">
  380. <table class="mlabels">
  381. <tr>
  382. <td class="mlabels-left">
  383. <table class="memname">
  384. <tr>
  385. <td class="memname">uint32_t FatFile::available32 </td>
  386. <td>(</td>
  387. <td class="paramname"></td><td>)</td>
  388. <td></td>
  389. </tr>
  390. </table>
  391. </td>
  392. <td class="mlabels-right">
  393. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  394. </tr>
  395. </table>
  396. </div><div class="memdoc">
  397. <dl class="section return"><dt>Returns</dt><dd>The number of bytes available from the current position to EOF for normal files. Zero is returned for directory files. </dd></dl>
  398. </div>
  399. </div>
  400. <a id="a052e2c15a39b322a5307b693b8835b22"></a>
  401. <h2 class="memtitle"><span class="permalink"><a href="#a052e2c15a39b322a5307b693b8835b22">&#9670;&nbsp;</a></span>clearError()</h2>
  402. <div class="memitem">
  403. <div class="memproto">
  404. <table class="mlabels">
  405. <tr>
  406. <td class="mlabels-left">
  407. <table class="memname">
  408. <tr>
  409. <td class="memname">void FatFile::clearError </td>
  410. <td>(</td>
  411. <td class="paramname"></td><td>)</td>
  412. <td></td>
  413. </tr>
  414. </table>
  415. </td>
  416. <td class="mlabels-right">
  417. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  418. </tr>
  419. </table>
  420. </div><div class="memdoc">
  421. <p>Clear all error bits. </p>
  422. </div>
  423. </div>
  424. <a id="aeca2a2eff91e6aa55fe1b0e3860c9a05"></a>
  425. <h2 class="memtitle"><span class="permalink"><a href="#aeca2a2eff91e6aa55fe1b0e3860c9a05">&#9670;&nbsp;</a></span>clearWriteError()</h2>
  426. <div class="memitem">
  427. <div class="memproto">
  428. <table class="mlabels">
  429. <tr>
  430. <td class="mlabels-left">
  431. <table class="memname">
  432. <tr>
  433. <td class="memname">void FatFile::clearWriteError </td>
  434. <td>(</td>
  435. <td class="paramname"></td><td>)</td>
  436. <td></td>
  437. </tr>
  438. </table>
  439. </td>
  440. <td class="mlabels-right">
  441. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  442. </tr>
  443. </table>
  444. </div><div class="memdoc">
  445. <p>Set writeError to zero </p>
  446. </div>
  447. </div>
  448. <a id="afd16af325e0642e4bff6430b7d8bb18b"></a>
  449. <h2 class="memtitle"><span class="permalink"><a href="#afd16af325e0642e4bff6430b7d8bb18b">&#9670;&nbsp;</a></span>close()</h2>
  450. <div class="memitem">
  451. <div class="memproto">
  452. <table class="memname">
  453. <tr>
  454. <td class="memname">bool FatFile::close </td>
  455. <td>(</td>
  456. <td class="paramname"></td><td>)</td>
  457. <td></td>
  458. </tr>
  459. </table>
  460. </div><div class="memdoc">
  461. <p>Close a file and force cached data and directory information to be written to the storage device.</p>
  462. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  463. </div>
  464. </div>
  465. <a id="a12b3c5a763416ca62c70e3db74033cd0"></a>
  466. <h2 class="memtitle"><span class="permalink"><a href="#a12b3c5a763416ca62c70e3db74033cd0">&#9670;&nbsp;</a></span>contiguousRange()</h2>
  467. <div class="memitem">
  468. <div class="memproto">
  469. <table class="memname">
  470. <tr>
  471. <td class="memname">bool FatFile::contiguousRange </td>
  472. <td>(</td>
  473. <td class="paramtype">uint32_t *&#160;</td>
  474. <td class="paramname"><em>bgnSector</em>, </td>
  475. </tr>
  476. <tr>
  477. <td class="paramkey"></td>
  478. <td></td>
  479. <td class="paramtype">uint32_t *&#160;</td>
  480. <td class="paramname"><em>endSector</em>&#160;</td>
  481. </tr>
  482. <tr>
  483. <td></td>
  484. <td>)</td>
  485. <td></td><td></td>
  486. </tr>
  487. </table>
  488. </div><div class="memdoc">
  489. <p>Check for contiguous file and return its raw sector range.</p>
  490. <dl class="params"><dt>Parameters</dt><dd>
  491. <table class="params">
  492. <tr><td class="paramdir">[out]</td><td class="paramname">bgnSector</td><td>the first sector address for the file. </td></tr>
  493. <tr><td class="paramdir">[out]</td><td class="paramname">endSector</td><td>the last sector address for the file.</td></tr>
  494. </table>
  495. </dd>
  496. </dl>
  497. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  498. </div>
  499. </div>
  500. <a id="a0853fbd44aee2798d14d8e3aed78f8bf"></a>
  501. <h2 class="memtitle"><span class="permalink"><a href="#a0853fbd44aee2798d14d8e3aed78f8bf">&#9670;&nbsp;</a></span>createContiguous() <span class="overload">[1/2]</span></h2>
  502. <div class="memitem">
  503. <div class="memproto">
  504. <table class="memname">
  505. <tr>
  506. <td class="memname">bool FatFile::createContiguous </td>
  507. <td>(</td>
  508. <td class="paramtype">const char *&#160;</td>
  509. <td class="paramname"><em>path</em>, </td>
  510. </tr>
  511. <tr>
  512. <td class="paramkey"></td>
  513. <td></td>
  514. <td class="paramtype">uint32_t&#160;</td>
  515. <td class="paramname"><em>size</em>&#160;</td>
  516. </tr>
  517. <tr>
  518. <td></td>
  519. <td>)</td>
  520. <td></td><td></td>
  521. </tr>
  522. </table>
  523. </div><div class="memdoc">
  524. <p>Create and open a new contiguous file of a specified size.</p>
  525. <dl class="params"><dt>Parameters</dt><dd>
  526. <table class="params">
  527. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a validfile name. </td></tr>
  528. <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>The desired file size.</td></tr>
  529. </table>
  530. </dd>
  531. </dl>
  532. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  533. </div>
  534. </div>
  535. <a id="a0afc2a1cffa238d1cb2049bfa2d8d199"></a>
  536. <h2 class="memtitle"><span class="permalink"><a href="#a0afc2a1cffa238d1cb2049bfa2d8d199">&#9670;&nbsp;</a></span>createContiguous() <span class="overload">[2/2]</span></h2>
  537. <div class="memitem">
  538. <div class="memproto">
  539. <table class="memname">
  540. <tr>
  541. <td class="memname">bool FatFile::createContiguous </td>
  542. <td>(</td>
  543. <td class="paramtype"><a class="el" href="class_fat_file.html">FatFile</a> *&#160;</td>
  544. <td class="paramname"><em>dirFile</em>, </td>
  545. </tr>
  546. <tr>
  547. <td class="paramkey"></td>
  548. <td></td>
  549. <td class="paramtype">const char *&#160;</td>
  550. <td class="paramname"><em>path</em>, </td>
  551. </tr>
  552. <tr>
  553. <td class="paramkey"></td>
  554. <td></td>
  555. <td class="paramtype">uint32_t&#160;</td>
  556. <td class="paramname"><em>size</em>&#160;</td>
  557. </tr>
  558. <tr>
  559. <td></td>
  560. <td>)</td>
  561. <td></td><td></td>
  562. </tr>
  563. </table>
  564. </div><div class="memdoc">
  565. <p>Create and open a new contiguous file of a specified size.</p>
  566. <dl class="params"><dt>Parameters</dt><dd>
  567. <table class="params">
  568. <tr><td class="paramdir">[in]</td><td class="paramname">dirFile</td><td>The directory where the file will be created. </td></tr>
  569. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a validfile name. </td></tr>
  570. <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>The desired file size.</td></tr>
  571. </table>
  572. </dd>
  573. </dl>
  574. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  575. </div>
  576. </div>
  577. <a id="a526f3dd56ce205690e45ffc86ef6f891"></a>
  578. <h2 class="memtitle"><span class="permalink"><a href="#a526f3dd56ce205690e45ffc86ef6f891">&#9670;&nbsp;</a></span>curCluster()</h2>
  579. <div class="memitem">
  580. <div class="memproto">
  581. <table class="mlabels">
  582. <tr>
  583. <td class="mlabels-left">
  584. <table class="memname">
  585. <tr>
  586. <td class="memname">uint32_t FatFile::curCluster </td>
  587. <td>(</td>
  588. <td class="paramname"></td><td>)</td>
  589. <td> const</td>
  590. </tr>
  591. </table>
  592. </td>
  593. <td class="mlabels-right">
  594. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  595. </tr>
  596. </table>
  597. </div><div class="memdoc">
  598. <dl class="section return"><dt>Returns</dt><dd>The current cluster number for a file or directory. </dd></dl>
  599. </div>
  600. </div>
  601. <a id="a97e0620949f97e9b9c91ed1094d728aa"></a>
  602. <h2 class="memtitle"><span class="permalink"><a href="#a97e0620949f97e9b9c91ed1094d728aa">&#9670;&nbsp;</a></span>curPosition()</h2>
  603. <div class="memitem">
  604. <div class="memproto">
  605. <table class="mlabels">
  606. <tr>
  607. <td class="mlabels-left">
  608. <table class="memname">
  609. <tr>
  610. <td class="memname">uint32_t FatFile::curPosition </td>
  611. <td>(</td>
  612. <td class="paramname"></td><td>)</td>
  613. <td> const</td>
  614. </tr>
  615. </table>
  616. </td>
  617. <td class="mlabels-right">
  618. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  619. </tr>
  620. </table>
  621. </div><div class="memdoc">
  622. <dl class="section return"><dt>Returns</dt><dd>The current position for a file or directory. </dd></dl>
  623. </div>
  624. </div>
  625. <a id="a2f4e9ab3056125b07f15d14ca26d5346"></a>
  626. <h2 class="memtitle"><span class="permalink"><a href="#a2f4e9ab3056125b07f15d14ca26d5346">&#9670;&nbsp;</a></span>dirEntry()</h2>
  627. <div class="memitem">
  628. <div class="memproto">
  629. <table class="memname">
  630. <tr>
  631. <td class="memname">bool FatFile::dirEntry </td>
  632. <td>(</td>
  633. <td class="paramtype">DirFat_t *&#160;</td>
  634. <td class="paramname"><em>dir</em></td><td>)</td>
  635. <td></td>
  636. </tr>
  637. </table>
  638. </div><div class="memdoc">
  639. <p>Return a file's directory entry.</p>
  640. <dl class="params"><dt>Parameters</dt><dd>
  641. <table class="params">
  642. <tr><td class="paramdir">[out]</td><td class="paramname">dir</td><td>Location for return of the file's directory entry.</td></tr>
  643. </table>
  644. </dd>
  645. </dl>
  646. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  647. </div>
  648. </div>
  649. <a id="ae5ec24d4a94d3780384d3f2b731c7eb9"></a>
  650. <h2 class="memtitle"><span class="permalink"><a href="#ae5ec24d4a94d3780384d3f2b731c7eb9">&#9670;&nbsp;</a></span>dirIndex()</h2>
  651. <div class="memitem">
  652. <div class="memproto">
  653. <table class="mlabels">
  654. <tr>
  655. <td class="mlabels-left">
  656. <table class="memname">
  657. <tr>
  658. <td class="memname">uint16_t FatFile::dirIndex </td>
  659. <td>(</td>
  660. <td class="paramname"></td><td>)</td>
  661. <td></td>
  662. </tr>
  663. </table>
  664. </td>
  665. <td class="mlabels-right">
  666. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  667. </tr>
  668. </table>
  669. </div><div class="memdoc">
  670. <dl class="section return"><dt>Returns</dt><dd>Directory entry index. </dd></dl>
  671. </div>
  672. </div>
  673. <a id="ae2ed15f05c9ccbce355e7a8d3ce8382d"></a>
  674. <h2 class="memtitle"><span class="permalink"><a href="#ae2ed15f05c9ccbce355e7a8d3ce8382d">&#9670;&nbsp;</a></span>dirSize()</h2>
  675. <div class="memitem">
  676. <div class="memproto">
  677. <table class="memname">
  678. <tr>
  679. <td class="memname">uint32_t FatFile::dirSize </td>
  680. <td>(</td>
  681. <td class="paramname"></td><td>)</td>
  682. <td></td>
  683. </tr>
  684. </table>
  685. </div><div class="memdoc">
  686. <dl class="section return"><dt>Returns</dt><dd>The number of bytes allocated to a directory or zero if an error occurs. </dd></dl>
  687. </div>
  688. </div>
  689. <a id="a4f01d27954ae49aeb6888ac7302f55d9"></a>
  690. <h2 class="memtitle"><span class="permalink"><a href="#a4f01d27954ae49aeb6888ac7302f55d9">&#9670;&nbsp;</a></span>dmpFile()</h2>
  691. <div class="memitem">
  692. <div class="memproto">
  693. <table class="memname">
  694. <tr>
  695. <td class="memname">void FatFile::dmpFile </td>
  696. <td>(</td>
  697. <td class="paramtype"><a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  698. <td class="paramname"><em>pr</em>, </td>
  699. </tr>
  700. <tr>
  701. <td class="paramkey"></td>
  702. <td></td>
  703. <td class="paramtype">uint32_t&#160;</td>
  704. <td class="paramname"><em>pos</em>, </td>
  705. </tr>
  706. <tr>
  707. <td class="paramkey"></td>
  708. <td></td>
  709. <td class="paramtype">size_t&#160;</td>
  710. <td class="paramname"><em>n</em>&#160;</td>
  711. </tr>
  712. <tr>
  713. <td></td>
  714. <td>)</td>
  715. <td></td><td></td>
  716. </tr>
  717. </table>
  718. </div><div class="memdoc">
  719. <p>Dump file in Hex </p><dl class="params"><dt>Parameters</dt><dd>
  720. <table class="params">
  721. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for list. </td></tr>
  722. <tr><td class="paramdir">[in]</td><td class="paramname">pos</td><td>Start position in file. </td></tr>
  723. <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>number of locations to dump. </td></tr>
  724. </table>
  725. </dd>
  726. </dl>
  727. </div>
  728. </div>
  729. <a id="a50242f98dea0d4488ce4039a279f2a57"></a>
  730. <h2 class="memtitle"><span class="permalink"><a href="#a50242f98dea0d4488ce4039a279f2a57">&#9670;&nbsp;</a></span>exists()</h2>
  731. <div class="memitem">
  732. <div class="memproto">
  733. <table class="mlabels">
  734. <tr>
  735. <td class="mlabels-left">
  736. <table class="memname">
  737. <tr>
  738. <td class="memname">bool FatFile::exists </td>
  739. <td>(</td>
  740. <td class="paramtype">const char *&#160;</td>
  741. <td class="paramname"><em>path</em></td><td>)</td>
  742. <td></td>
  743. </tr>
  744. </table>
  745. </td>
  746. <td class="mlabels-right">
  747. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  748. </tr>
  749. </table>
  750. </div><div class="memdoc">
  751. <p>Test for the existence of a file in a directory</p>
  752. <dl class="params"><dt>Parameters</dt><dd>
  753. <table class="params">
  754. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>Path of the file to be tested for.</td></tr>
  755. </table>
  756. </dd>
  757. </dl>
  758. <p>The calling instance must be an open directory file.</p>
  759. <p>dirFile.exists("TOFIND.TXT") searches for "TOFIND.TXT" in the directory dirFile.</p>
  760. <dl class="section return"><dt>Returns</dt><dd>True if the file exists. </dd></dl>
  761. </div>
  762. </div>
  763. <a id="a33e0b0a8a342047f29ab8e8aae9cae14"></a>
  764. <h2 class="memtitle"><span class="permalink"><a href="#a33e0b0a8a342047f29ab8e8aae9cae14">&#9670;&nbsp;</a></span>fgetpos()</h2>
  765. <div class="memitem">
  766. <div class="memproto">
  767. <table class="memname">
  768. <tr>
  769. <td class="memname">void FatFile::fgetpos </td>
  770. <td>(</td>
  771. <td class="paramtype">fspos_t *&#160;</td>
  772. <td class="paramname"><em>pos</em></td><td>)</td>
  773. <td></td>
  774. </tr>
  775. </table>
  776. </div><div class="memdoc">
  777. <p>get position for streams </p><dl class="params"><dt>Parameters</dt><dd>
  778. <table class="params">
  779. <tr><td class="paramdir">[out]</td><td class="paramname">pos</td><td>struct to receive position </td></tr>
  780. </table>
  781. </dd>
  782. </dl>
  783. </div>
  784. </div>
  785. <a id="a9e05a51767f7c8f70c6f337eecbdca03"></a>
  786. <h2 class="memtitle"><span class="permalink"><a href="#a9e05a51767f7c8f70c6f337eecbdca03">&#9670;&nbsp;</a></span>fgets()</h2>
  787. <div class="memitem">
  788. <div class="memproto">
  789. <table class="memname">
  790. <tr>
  791. <td class="memname">int FatFile::fgets </td>
  792. <td>(</td>
  793. <td class="paramtype">char *&#160;</td>
  794. <td class="paramname"><em>str</em>, </td>
  795. </tr>
  796. <tr>
  797. <td class="paramkey"></td>
  798. <td></td>
  799. <td class="paramtype">int&#160;</td>
  800. <td class="paramname"><em>num</em>, </td>
  801. </tr>
  802. <tr>
  803. <td class="paramkey"></td>
  804. <td></td>
  805. <td class="paramtype">char *&#160;</td>
  806. <td class="paramname"><em>delim</em> = <code><a class="el" href="_stdio_stream_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a></code>&#160;</td>
  807. </tr>
  808. <tr>
  809. <td></td>
  810. <td>)</td>
  811. <td></td><td></td>
  812. </tr>
  813. </table>
  814. </div><div class="memdoc">
  815. <p>Get a string from a file.</p>
  816. <p><a class="el" href="class_fat_file.html#a9e05a51767f7c8f70c6f337eecbdca03">fgets()</a> reads bytes from a file into the array pointed to by <em>str</em>, until <em>num</em> - 1 bytes are read, or a delimiter is read and transferred to <em>str</em>, or end-of-file is encountered. The string is then terminated with a null byte.</p>
  817. <p><a class="el" href="class_fat_file.html#a9e05a51767f7c8f70c6f337eecbdca03">fgets()</a> deletes CR, '\r', from the string. This insures only a '\n' terminates the string for Windows text files which use CRLF for newline.</p>
  818. <dl class="params"><dt>Parameters</dt><dd>
  819. <table class="params">
  820. <tr><td class="paramdir">[out]</td><td class="paramname">str</td><td>Pointer to the array where the string is stored. </td></tr>
  821. <tr><td class="paramdir">[in]</td><td class="paramname">num</td><td>Maximum number of characters to be read (including the final null byte). Usually the length of the array <em>str</em> is used. </td></tr>
  822. <tr><td class="paramdir">[in]</td><td class="paramname">delim</td><td>Optional set of delimiters. The default is "\n".</td></tr>
  823. </table>
  824. </dd>
  825. </dl>
  826. <dl class="section return"><dt>Returns</dt><dd>For success <a class="el" href="class_fat_file.html#a9e05a51767f7c8f70c6f337eecbdca03">fgets()</a> returns the length of the string in <em>str</em>. If no data is read, <a class="el" href="class_fat_file.html#a9e05a51767f7c8f70c6f337eecbdca03">fgets()</a> returns zero for EOF or -1 if an error occurred. </dd></dl>
  827. </div>
  828. </div>
  829. <a id="a874940574b9c99e763526465adf8dc28"></a>
  830. <h2 class="memtitle"><span class="permalink"><a href="#a874940574b9c99e763526465adf8dc28">&#9670;&nbsp;</a></span>fileSize()</h2>
  831. <div class="memitem">
  832. <div class="memproto">
  833. <table class="mlabels">
  834. <tr>
  835. <td class="mlabels-left">
  836. <table class="memname">
  837. <tr>
  838. <td class="memname">uint32_t FatFile::fileSize </td>
  839. <td>(</td>
  840. <td class="paramname"></td><td>)</td>
  841. <td> const</td>
  842. </tr>
  843. </table>
  844. </td>
  845. <td class="mlabels-right">
  846. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  847. </tr>
  848. </table>
  849. </div><div class="memdoc">
  850. <dl class="section return"><dt>Returns</dt><dd>The total number of bytes in a file. </dd></dl>
  851. </div>
  852. </div>
  853. <a id="a5ac8a604863d18840f4a93c5c788b7c8"></a>
  854. <h2 class="memtitle"><span class="permalink"><a href="#a5ac8a604863d18840f4a93c5c788b7c8">&#9670;&nbsp;</a></span>firstBlock()</h2>
  855. <div class="memitem">
  856. <div class="memproto">
  857. <table class="mlabels">
  858. <tr>
  859. <td class="mlabels-left">
  860. <table class="memname">
  861. <tr>
  862. <td class="memname">uint32_t FatFile::firstBlock </td>
  863. <td>(</td>
  864. <td class="paramname"></td><td>)</td>
  865. <td> const</td>
  866. </tr>
  867. </table>
  868. </td>
  869. <td class="mlabels-right">
  870. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  871. </tr>
  872. </table>
  873. </div><div class="memdoc">
  874. <dl class="section return"><dt>Returns</dt><dd>first sector of file or zero for empty file. </dd></dl>
  875. </div>
  876. </div>
  877. <a id="af3108df387f30ca3d367dd390a04daaa"></a>
  878. <h2 class="memtitle"><span class="permalink"><a href="#af3108df387f30ca3d367dd390a04daaa">&#9670;&nbsp;</a></span>firstSector()</h2>
  879. <div class="memitem">
  880. <div class="memproto">
  881. <table class="memname">
  882. <tr>
  883. <td class="memname">uint32_t FatFile::firstSector </td>
  884. <td>(</td>
  885. <td class="paramname"></td><td>)</td>
  886. <td> const</td>
  887. </tr>
  888. </table>
  889. </div><div class="memdoc">
  890. <dl class="section return"><dt>Returns</dt><dd>first sector of file or zero for empty file. </dd></dl>
  891. </div>
  892. </div>
  893. <a id="a166b5ff04754cc925f2aee71bf92f800"></a>
  894. <h2 class="memtitle"><span class="permalink"><a href="#a166b5ff04754cc925f2aee71bf92f800">&#9670;&nbsp;</a></span>flush()</h2>
  895. <div class="memitem">
  896. <div class="memproto">
  897. <table class="mlabels">
  898. <tr>
  899. <td class="mlabels-left">
  900. <table class="memname">
  901. <tr>
  902. <td class="memname">void FatFile::flush </td>
  903. <td>(</td>
  904. <td class="paramname"></td><td>)</td>
  905. <td></td>
  906. </tr>
  907. </table>
  908. </td>
  909. <td class="mlabels-right">
  910. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  911. </tr>
  912. </table>
  913. </div><div class="memdoc">
  914. <p>Arduino name for <a class="el" href="class_fat_file.html#a67f3dc4896c542d695e11aac927f585e">sync()</a> </p>
  915. </div>
  916. </div>
  917. <a id="ac042c43d41ecfff4e101b88f3f82086e"></a>
  918. <h2 class="memtitle"><span class="permalink"><a href="#ac042c43d41ecfff4e101b88f3f82086e">&#9670;&nbsp;</a></span>fsetpos()</h2>
  919. <div class="memitem">
  920. <div class="memproto">
  921. <table class="memname">
  922. <tr>
  923. <td class="memname">void FatFile::fsetpos </td>
  924. <td>(</td>
  925. <td class="paramtype">const fspos_t *&#160;</td>
  926. <td class="paramname"><em>pos</em></td><td>)</td>
  927. <td></td>
  928. </tr>
  929. </table>
  930. </div><div class="memdoc">
  931. <p>set position for streams </p><dl class="params"><dt>Parameters</dt><dd>
  932. <table class="params">
  933. <tr><td class="paramdir">[in]</td><td class="paramname">pos</td><td>struct with value for new position </td></tr>
  934. </table>
  935. </dd>
  936. </dl>
  937. </div>
  938. </div>
  939. <a id="ad0dbbd083180f44c7a3ce7124d4ce19c"></a>
  940. <h2 class="memtitle"><span class="permalink"><a href="#ad0dbbd083180f44c7a3ce7124d4ce19c">&#9670;&nbsp;</a></span>getError()</h2>
  941. <div class="memitem">
  942. <div class="memproto">
  943. <table class="mlabels">
  944. <tr>
  945. <td class="mlabels-left">
  946. <table class="memname">
  947. <tr>
  948. <td class="memname">uint8_t FatFile::getError </td>
  949. <td>(</td>
  950. <td class="paramname"></td><td>)</td>
  951. <td></td>
  952. </tr>
  953. </table>
  954. </td>
  955. <td class="mlabels-right">
  956. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  957. </tr>
  958. </table>
  959. </div><div class="memdoc">
  960. <dl class="section return"><dt>Returns</dt><dd>All error bits. </dd></dl>
  961. </div>
  962. </div>
  963. <a id="aafa565e286440aab612cdb430fc01da5"></a>
  964. <h2 class="memtitle"><span class="permalink"><a href="#aafa565e286440aab612cdb430fc01da5">&#9670;&nbsp;</a></span>getName()</h2>
  965. <div class="memitem">
  966. <div class="memproto">
  967. <table class="memname">
  968. <tr>
  969. <td class="memname">bool FatFile::getName </td>
  970. <td>(</td>
  971. <td class="paramtype">char *&#160;</td>
  972. <td class="paramname"><em>name</em>, </td>
  973. </tr>
  974. <tr>
  975. <td class="paramkey"></td>
  976. <td></td>
  977. <td class="paramtype">size_t&#160;</td>
  978. <td class="paramname"><em>size</em>&#160;</td>
  979. </tr>
  980. <tr>
  981. <td></td>
  982. <td>)</td>
  983. <td></td><td></td>
  984. </tr>
  985. </table>
  986. </div><div class="memdoc">
  987. <p>Get a file's name followed by a zero byte.</p>
  988. <dl class="params"><dt>Parameters</dt><dd>
  989. <table class="params">
  990. <tr><td class="paramdir">[out]</td><td class="paramname">name</td><td>An array of characters for the file's name. </td></tr>
  991. <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>The size of the array in bytes. The array must be at least 13 bytes long. The file's name will be truncated if the file's name is too long. </td></tr>
  992. </table>
  993. </dd>
  994. </dl>
  995. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  996. </div>
  997. </div>
  998. <a id="aba30e92a66f8e0d2f815c85662772a58"></a>
  999. <h2 class="memtitle"><span class="permalink"><a href="#aba30e92a66f8e0d2f815c85662772a58">&#9670;&nbsp;</a></span>getSFN()</h2>
  1000. <div class="memitem">
  1001. <div class="memproto">
  1002. <table class="memname">
  1003. <tr>
  1004. <td class="memname">bool FatFile::getSFN </td>
  1005. <td>(</td>
  1006. <td class="paramtype">char *&#160;</td>
  1007. <td class="paramname"><em>name</em></td><td>)</td>
  1008. <td></td>
  1009. </tr>
  1010. </table>
  1011. </div><div class="memdoc">
  1012. <p>Get a file's Short File Name followed by a zero byte.</p>
  1013. <dl class="params"><dt>Parameters</dt><dd>
  1014. <table class="params">
  1015. <tr><td class="paramdir">[out]</td><td class="paramname">name</td><td>An array of characters for the file's name. The array must be at least 13 bytes long. </td></tr>
  1016. </table>
  1017. </dd>
  1018. </dl>
  1019. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1020. </div>
  1021. </div>
  1022. <a id="a8062c0d3a118e8d77d0310418703d5f5"></a>
  1023. <h2 class="memtitle"><span class="permalink"><a href="#a8062c0d3a118e8d77d0310418703d5f5">&#9670;&nbsp;</a></span>getWriteError()</h2>
  1024. <div class="memitem">
  1025. <div class="memproto">
  1026. <table class="mlabels">
  1027. <tr>
  1028. <td class="mlabels-left">
  1029. <table class="memname">
  1030. <tr>
  1031. <td class="memname">bool FatFile::getWriteError </td>
  1032. <td>(</td>
  1033. <td class="paramname"></td><td>)</td>
  1034. <td></td>
  1035. </tr>
  1036. </table>
  1037. </td>
  1038. <td class="mlabels-right">
  1039. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1040. </tr>
  1041. </table>
  1042. </div><div class="memdoc">
  1043. <dl class="section return"><dt>Returns</dt><dd>value of writeError </dd></dl>
  1044. </div>
  1045. </div>
  1046. <a id="a16478eafdb731e867fb627d19091c3ce"></a>
  1047. <h2 class="memtitle"><span class="permalink"><a href="#a16478eafdb731e867fb627d19091c3ce">&#9670;&nbsp;</a></span>isContiguous()</h2>
  1048. <div class="memitem">
  1049. <div class="memproto">
  1050. <table class="mlabels">
  1051. <tr>
  1052. <td class="mlabels-left">
  1053. <table class="memname">
  1054. <tr>
  1055. <td class="memname">bool FatFile::isContiguous </td>
  1056. <td>(</td>
  1057. <td class="paramname"></td><td>)</td>
  1058. <td> const</td>
  1059. </tr>
  1060. </table>
  1061. </td>
  1062. <td class="mlabels-right">
  1063. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1064. </tr>
  1065. </table>
  1066. </div><div class="memdoc">
  1067. <dl class="section return"><dt>Returns</dt><dd>True if the file is contiguous. </dd></dl>
  1068. </div>
  1069. </div>
  1070. <a id="a933360b20b496421b2bd9ee7a95563a6"></a>
  1071. <h2 class="memtitle"><span class="permalink"><a href="#a933360b20b496421b2bd9ee7a95563a6">&#9670;&nbsp;</a></span>isDir()</h2>
  1072. <div class="memitem">
  1073. <div class="memproto">
  1074. <table class="mlabels">
  1075. <tr>
  1076. <td class="mlabels-left">
  1077. <table class="memname">
  1078. <tr>
  1079. <td class="memname">bool FatFile::isDir </td>
  1080. <td>(</td>
  1081. <td class="paramname"></td><td>)</td>
  1082. <td> const</td>
  1083. </tr>
  1084. </table>
  1085. </td>
  1086. <td class="mlabels-right">
  1087. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1088. </tr>
  1089. </table>
  1090. </div><div class="memdoc">
  1091. <dl class="section return"><dt>Returns</dt><dd>True if this is a directory. </dd></dl>
  1092. </div>
  1093. </div>
  1094. <a id="acc5a87da1a5c8cb9758bfeaa7ae47b57"></a>
  1095. <h2 class="memtitle"><span class="permalink"><a href="#acc5a87da1a5c8cb9758bfeaa7ae47b57">&#9670;&nbsp;</a></span>isFile()</h2>
  1096. <div class="memitem">
  1097. <div class="memproto">
  1098. <table class="mlabels">
  1099. <tr>
  1100. <td class="mlabels-left">
  1101. <table class="memname">
  1102. <tr>
  1103. <td class="memname">bool FatFile::isFile </td>
  1104. <td>(</td>
  1105. <td class="paramname"></td><td>)</td>
  1106. <td> const</td>
  1107. </tr>
  1108. </table>
  1109. </td>
  1110. <td class="mlabels-right">
  1111. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1112. </tr>
  1113. </table>
  1114. </div><div class="memdoc">
  1115. <dl class="section return"><dt>Returns</dt><dd>True if this is a normal file. </dd></dl>
  1116. </div>
  1117. </div>
  1118. <a id="ae216b4a2bc44a9cfb88478fa051a1fd8"></a>
  1119. <h2 class="memtitle"><span class="permalink"><a href="#ae216b4a2bc44a9cfb88478fa051a1fd8">&#9670;&nbsp;</a></span>isHidden()</h2>
  1120. <div class="memitem">
  1121. <div class="memproto">
  1122. <table class="mlabels">
  1123. <tr>
  1124. <td class="mlabels-left">
  1125. <table class="memname">
  1126. <tr>
  1127. <td class="memname">bool FatFile::isHidden </td>
  1128. <td>(</td>
  1129. <td class="paramname"></td><td>)</td>
  1130. <td> const</td>
  1131. </tr>
  1132. </table>
  1133. </td>
  1134. <td class="mlabels-right">
  1135. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1136. </tr>
  1137. </table>
  1138. </div><div class="memdoc">
  1139. <dl class="section return"><dt>Returns</dt><dd>True if this is a hidden file. </dd></dl>
  1140. </div>
  1141. </div>
  1142. <a id="af8f456ab790e818bfdd225cf6ffd40f3"></a>
  1143. <h2 class="memtitle"><span class="permalink"><a href="#af8f456ab790e818bfdd225cf6ffd40f3">&#9670;&nbsp;</a></span>isLFN()</h2>
  1144. <div class="memitem">
  1145. <div class="memproto">
  1146. <table class="mlabels">
  1147. <tr>
  1148. <td class="mlabels-left">
  1149. <table class="memname">
  1150. <tr>
  1151. <td class="memname">bool FatFile::isLFN </td>
  1152. <td>(</td>
  1153. <td class="paramname"></td><td>)</td>
  1154. <td> const</td>
  1155. </tr>
  1156. </table>
  1157. </td>
  1158. <td class="mlabels-right">
  1159. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1160. </tr>
  1161. </table>
  1162. </div><div class="memdoc">
  1163. <dl class="section return"><dt>Returns</dt><dd>true if this file has a Long File Name. </dd></dl>
  1164. </div>
  1165. </div>
  1166. <a id="a8b8a2850c086d3ce79bee64a23fbf7a6"></a>
  1167. <h2 class="memtitle"><span class="permalink"><a href="#a8b8a2850c086d3ce79bee64a23fbf7a6">&#9670;&nbsp;</a></span>isOpen()</h2>
  1168. <div class="memitem">
  1169. <div class="memproto">
  1170. <table class="mlabels">
  1171. <tr>
  1172. <td class="mlabels-left">
  1173. <table class="memname">
  1174. <tr>
  1175. <td class="memname">bool FatFile::isOpen </td>
  1176. <td>(</td>
  1177. <td class="paramname"></td><td>)</td>
  1178. <td> const</td>
  1179. </tr>
  1180. </table>
  1181. </td>
  1182. <td class="mlabels-right">
  1183. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1184. </tr>
  1185. </table>
  1186. </div><div class="memdoc">
  1187. <dl class="section return"><dt>Returns</dt><dd>True if this is an open file/directory. </dd></dl>
  1188. </div>
  1189. </div>
  1190. <a id="ae60b4cedb69c88ac641813d5edfa6b4a"></a>
  1191. <h2 class="memtitle"><span class="permalink"><a href="#ae60b4cedb69c88ac641813d5edfa6b4a">&#9670;&nbsp;</a></span>isReadable()</h2>
  1192. <div class="memitem">
  1193. <div class="memproto">
  1194. <table class="mlabels">
  1195. <tr>
  1196. <td class="mlabels-left">
  1197. <table class="memname">
  1198. <tr>
  1199. <td class="memname">bool FatFile::isReadable </td>
  1200. <td>(</td>
  1201. <td class="paramname"></td><td>)</td>
  1202. <td> const</td>
  1203. </tr>
  1204. </table>
  1205. </td>
  1206. <td class="mlabels-right">
  1207. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1208. </tr>
  1209. </table>
  1210. </div><div class="memdoc">
  1211. <dl class="section return"><dt>Returns</dt><dd>True file is writable. </dd></dl>
  1212. </div>
  1213. </div>
  1214. <a id="abaf639ec8f86f34aeb7e6b3615526f0b"></a>
  1215. <h2 class="memtitle"><span class="permalink"><a href="#abaf639ec8f86f34aeb7e6b3615526f0b">&#9670;&nbsp;</a></span>isReadOnly()</h2>
  1216. <div class="memitem">
  1217. <div class="memproto">
  1218. <table class="mlabels">
  1219. <tr>
  1220. <td class="mlabels-left">
  1221. <table class="memname">
  1222. <tr>
  1223. <td class="memname">bool FatFile::isReadOnly </td>
  1224. <td>(</td>
  1225. <td class="paramname"></td><td>)</td>
  1226. <td> const</td>
  1227. </tr>
  1228. </table>
  1229. </td>
  1230. <td class="mlabels-right">
  1231. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1232. </tr>
  1233. </table>
  1234. </div><div class="memdoc">
  1235. <dl class="section return"><dt>Returns</dt><dd>True if file is read-only </dd></dl>
  1236. </div>
  1237. </div>
  1238. <a id="a03421a0c28649332f55e6ca06d3aeedb"></a>
  1239. <h2 class="memtitle"><span class="permalink"><a href="#a03421a0c28649332f55e6ca06d3aeedb">&#9670;&nbsp;</a></span>isRoot()</h2>
  1240. <div class="memitem">
  1241. <div class="memproto">
  1242. <table class="mlabels">
  1243. <tr>
  1244. <td class="mlabels-left">
  1245. <table class="memname">
  1246. <tr>
  1247. <td class="memname">bool FatFile::isRoot </td>
  1248. <td>(</td>
  1249. <td class="paramname"></td><td>)</td>
  1250. <td> const</td>
  1251. </tr>
  1252. </table>
  1253. </td>
  1254. <td class="mlabels-right">
  1255. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1256. </tr>
  1257. </table>
  1258. </div><div class="memdoc">
  1259. <dl class="section return"><dt>Returns</dt><dd>True if this is the root directory. </dd></dl>
  1260. </div>
  1261. </div>
  1262. <a id="a8fda8004720ec4cc55710869dbb52e35"></a>
  1263. <h2 class="memtitle"><span class="permalink"><a href="#a8fda8004720ec4cc55710869dbb52e35">&#9670;&nbsp;</a></span>isRoot32()</h2>
  1264. <div class="memitem">
  1265. <div class="memproto">
  1266. <table class="mlabels">
  1267. <tr>
  1268. <td class="mlabels-left">
  1269. <table class="memname">
  1270. <tr>
  1271. <td class="memname">bool FatFile::isRoot32 </td>
  1272. <td>(</td>
  1273. <td class="paramname"></td><td>)</td>
  1274. <td> const</td>
  1275. </tr>
  1276. </table>
  1277. </td>
  1278. <td class="mlabels-right">
  1279. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1280. </tr>
  1281. </table>
  1282. </div><div class="memdoc">
  1283. <dl class="section return"><dt>Returns</dt><dd>True if this is the FAT32 root directory. </dd></dl>
  1284. </div>
  1285. </div>
  1286. <a id="a0cc65089f7ce6c1ff92edbf0bff59dee"></a>
  1287. <h2 class="memtitle"><span class="permalink"><a href="#a0cc65089f7ce6c1ff92edbf0bff59dee">&#9670;&nbsp;</a></span>isRootFixed()</h2>
  1288. <div class="memitem">
  1289. <div class="memproto">
  1290. <table class="mlabels">
  1291. <tr>
  1292. <td class="mlabels-left">
  1293. <table class="memname">
  1294. <tr>
  1295. <td class="memname">bool FatFile::isRootFixed </td>
  1296. <td>(</td>
  1297. <td class="paramname"></td><td>)</td>
  1298. <td> const</td>
  1299. </tr>
  1300. </table>
  1301. </td>
  1302. <td class="mlabels-right">
  1303. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1304. </tr>
  1305. </table>
  1306. </div><div class="memdoc">
  1307. <dl class="section return"><dt>Returns</dt><dd>True if this is the FAT12 of FAT16 root directory. </dd></dl>
  1308. </div>
  1309. </div>
  1310. <a id="abfd02c5d26f7d4f8739a8610116a6660"></a>
  1311. <h2 class="memtitle"><span class="permalink"><a href="#abfd02c5d26f7d4f8739a8610116a6660">&#9670;&nbsp;</a></span>isSubDir()</h2>
  1312. <div class="memitem">
  1313. <div class="memproto">
  1314. <table class="mlabels">
  1315. <tr>
  1316. <td class="mlabels-left">
  1317. <table class="memname">
  1318. <tr>
  1319. <td class="memname">bool FatFile::isSubDir </td>
  1320. <td>(</td>
  1321. <td class="paramname"></td><td>)</td>
  1322. <td> const</td>
  1323. </tr>
  1324. </table>
  1325. </td>
  1326. <td class="mlabels-right">
  1327. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1328. </tr>
  1329. </table>
  1330. </div><div class="memdoc">
  1331. <dl class="section return"><dt>Returns</dt><dd>True if this is a subdirectory. </dd></dl>
  1332. </div>
  1333. </div>
  1334. <a id="a48087bdeb6b94fc27e0f74c3d90af5a9"></a>
  1335. <h2 class="memtitle"><span class="permalink"><a href="#a48087bdeb6b94fc27e0f74c3d90af5a9">&#9670;&nbsp;</a></span>isSystem()</h2>
  1336. <div class="memitem">
  1337. <div class="memproto">
  1338. <table class="mlabels">
  1339. <tr>
  1340. <td class="mlabels-left">
  1341. <table class="memname">
  1342. <tr>
  1343. <td class="memname">bool FatFile::isSystem </td>
  1344. <td>(</td>
  1345. <td class="paramname"></td><td>)</td>
  1346. <td> const</td>
  1347. </tr>
  1348. </table>
  1349. </td>
  1350. <td class="mlabels-right">
  1351. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1352. </tr>
  1353. </table>
  1354. </div><div class="memdoc">
  1355. <dl class="section return"><dt>Returns</dt><dd>True if this is a system file. </dd></dl>
  1356. </div>
  1357. </div>
  1358. <a id="aa484d5b2b147c5f3fe0e26b6eaf11ffc"></a>
  1359. <h2 class="memtitle"><span class="permalink"><a href="#aa484d5b2b147c5f3fe0e26b6eaf11ffc">&#9670;&nbsp;</a></span>isWritable()</h2>
  1360. <div class="memitem">
  1361. <div class="memproto">
  1362. <table class="mlabels">
  1363. <tr>
  1364. <td class="mlabels-left">
  1365. <table class="memname">
  1366. <tr>
  1367. <td class="memname">bool FatFile::isWritable </td>
  1368. <td>(</td>
  1369. <td class="paramname"></td><td>)</td>
  1370. <td> const</td>
  1371. </tr>
  1372. </table>
  1373. </td>
  1374. <td class="mlabels-right">
  1375. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1376. </tr>
  1377. </table>
  1378. </div><div class="memdoc">
  1379. <dl class="section return"><dt>Returns</dt><dd>True file is writable. </dd></dl>
  1380. </div>
  1381. </div>
  1382. <a id="a94df8090f16e9666cdc53ca20f6aff90"></a>
  1383. <h2 class="memtitle"><span class="permalink"><a href="#a94df8090f16e9666cdc53ca20f6aff90">&#9670;&nbsp;</a></span>legal83Char()</h2>
  1384. <div class="memitem">
  1385. <div class="memproto">
  1386. <table class="mlabels">
  1387. <tr>
  1388. <td class="mlabels-left">
  1389. <table class="memname">
  1390. <tr>
  1391. <td class="memname">static bool FatFile::legal83Char </td>
  1392. <td>(</td>
  1393. <td class="paramtype">uint8_t&#160;</td>
  1394. <td class="paramname"><em>c</em></td><td>)</td>
  1395. <td></td>
  1396. </tr>
  1397. </table>
  1398. </td>
  1399. <td class="mlabels-right">
  1400. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  1401. </tr>
  1402. </table>
  1403. </div><div class="memdoc">
  1404. <p>Check for a legal 8.3 character. </p><dl class="params"><dt>Parameters</dt><dd>
  1405. <table class="params">
  1406. <tr><td class="paramdir">[in]</td><td class="paramname">c</td><td>Character to be checked. </td></tr>
  1407. </table>
  1408. </dd>
  1409. </dl>
  1410. <dl class="section return"><dt>Returns</dt><dd>true for a legal 8.3 character. </dd></dl>
  1411. </div>
  1412. </div>
  1413. <a id="a60ab9d16bcc778150a364c26de467de1"></a>
  1414. <h2 class="memtitle"><span class="permalink"><a href="#a60ab9d16bcc778150a364c26de467de1">&#9670;&nbsp;</a></span>ls() <span class="overload">[1/2]</span></h2>
  1415. <div class="memitem">
  1416. <div class="memproto">
  1417. <table class="memname">
  1418. <tr>
  1419. <td class="memname">bool FatFile::ls </td>
  1420. <td>(</td>
  1421. <td class="paramtype"><a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  1422. <td class="paramname"><em>pr</em>, </td>
  1423. </tr>
  1424. <tr>
  1425. <td class="paramkey"></td>
  1426. <td></td>
  1427. <td class="paramtype">uint8_t&#160;</td>
  1428. <td class="paramname"><em>flags</em> = <code>0</code>, </td>
  1429. </tr>
  1430. <tr>
  1431. <td class="paramkey"></td>
  1432. <td></td>
  1433. <td class="paramtype">uint8_t&#160;</td>
  1434. <td class="paramname"><em>indent</em> = <code>0</code>&#160;</td>
  1435. </tr>
  1436. <tr>
  1437. <td></td>
  1438. <td>)</td>
  1439. <td></td><td></td>
  1440. </tr>
  1441. </table>
  1442. </div><div class="memdoc">
  1443. <p>List directory contents.</p>
  1444. <dl class="params"><dt>Parameters</dt><dd>
  1445. <table class="params">
  1446. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for list.</td></tr>
  1447. <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>The inclusive OR of</td></tr>
  1448. </table>
  1449. </dd>
  1450. </dl>
  1451. <p>LS_DATE - Print file modification date</p>
  1452. <p>LS_SIZE - Print file size.</p>
  1453. <p>LS_R - Recursive list of subdirectories.</p>
  1454. <dl class="params"><dt>Parameters</dt><dd>
  1455. <table class="params">
  1456. <tr><td class="paramdir">[in]</td><td class="paramname">indent</td><td>Amount of space before file name. Used for recursive list to indicate subdirectory level.</td></tr>
  1457. </table>
  1458. </dd>
  1459. </dl>
  1460. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1461. </div>
  1462. </div>
  1463. <a id="a6a11f3307da6232b5f2d11812832d93a"></a>
  1464. <h2 class="memtitle"><span class="permalink"><a href="#a6a11f3307da6232b5f2d11812832d93a">&#9670;&nbsp;</a></span>ls() <span class="overload">[2/2]</span></h2>
  1465. <div class="memitem">
  1466. <div class="memproto">
  1467. <table class="mlabels">
  1468. <tr>
  1469. <td class="mlabels-left">
  1470. <table class="memname">
  1471. <tr>
  1472. <td class="memname">bool FatFile::ls </td>
  1473. <td>(</td>
  1474. <td class="paramtype">uint8_t&#160;</td>
  1475. <td class="paramname"><em>flags</em> = <code>0</code></td><td>)</td>
  1476. <td></td>
  1477. </tr>
  1478. </table>
  1479. </td>
  1480. <td class="mlabels-right">
  1481. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1482. </tr>
  1483. </table>
  1484. </div><div class="memdoc">
  1485. <p>List directory contents.</p>
  1486. <dl class="params"><dt>Parameters</dt><dd>
  1487. <table class="params">
  1488. <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>The inclusive OR of</td></tr>
  1489. </table>
  1490. </dd>
  1491. </dl>
  1492. <p>LS_DATE - Print file modification date</p>
  1493. <p>LS_SIZE - Print file size.</p>
  1494. <p>LS_R - Recursive list of subdirectories.</p>
  1495. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1496. </div>
  1497. </div>
  1498. <a id="abab5b9f72cc796388dd4eed01d13d90d"></a>
  1499. <h2 class="memtitle"><span class="permalink"><a href="#abab5b9f72cc796388dd4eed01d13d90d">&#9670;&nbsp;</a></span>mkdir()</h2>
  1500. <div class="memitem">
  1501. <div class="memproto">
  1502. <table class="memname">
  1503. <tr>
  1504. <td class="memname">bool FatFile::mkdir </td>
  1505. <td>(</td>
  1506. <td class="paramtype"><a class="el" href="class_fat_file.html">FatFile</a> *&#160;</td>
  1507. <td class="paramname"><em>dir</em>, </td>
  1508. </tr>
  1509. <tr>
  1510. <td class="paramkey"></td>
  1511. <td></td>
  1512. <td class="paramtype">const char *&#160;</td>
  1513. <td class="paramname"><em>path</em>, </td>
  1514. </tr>
  1515. <tr>
  1516. <td class="paramkey"></td>
  1517. <td></td>
  1518. <td class="paramtype">bool&#160;</td>
  1519. <td class="paramname"><em>pFlag</em> = <code>true</code>&#160;</td>
  1520. </tr>
  1521. <tr>
  1522. <td></td>
  1523. <td>)</td>
  1524. <td></td><td></td>
  1525. </tr>
  1526. </table>
  1527. </div><div class="memdoc">
  1528. <p>Make a new directory.</p>
  1529. <dl class="params"><dt>Parameters</dt><dd>
  1530. <table class="params">
  1531. <tr><td class="paramdir">[in]</td><td class="paramname">dir</td><td>An open <a class="el" href="class_fat_file.html" title="Basic file class.">FatFile</a> instance for the directory that will contain the new directory.</td></tr>
  1532. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a valid name for the new directory.</td></tr>
  1533. <tr><td class="paramdir">[in]</td><td class="paramname">pFlag</td><td>Create missing parent directories if true.</td></tr>
  1534. </table>
  1535. </dd>
  1536. </dl>
  1537. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1538. </div>
  1539. </div>
  1540. <a id="afd3e4d5a76b6751ca796fc57f4dd2be4"></a>
  1541. <h2 class="memtitle"><span class="permalink"><a href="#afd3e4d5a76b6751ca796fc57f4dd2be4">&#9670;&nbsp;</a></span>open() <span class="overload">[1/4]</span></h2>
  1542. <div class="memitem">
  1543. <div class="memproto">
  1544. <table class="memname">
  1545. <tr>
  1546. <td class="memname">bool FatFile::open </td>
  1547. <td>(</td>
  1548. <td class="paramtype">const char *&#160;</td>
  1549. <td class="paramname"><em>path</em>, </td>
  1550. </tr>
  1551. <tr>
  1552. <td class="paramkey"></td>
  1553. <td></td>
  1554. <td class="paramtype">oflag_t&#160;</td>
  1555. <td class="paramname"><em>oflag</em> = <code>0X00</code>&#160;</td>
  1556. </tr>
  1557. <tr>
  1558. <td></td>
  1559. <td>)</td>
  1560. <td></td><td></td>
  1561. </tr>
  1562. </table>
  1563. </div><div class="memdoc">
  1564. <p>Open a file in the current working volume.</p>
  1565. <dl class="params"><dt>Parameters</dt><dd>
  1566. <table class="params">
  1567. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a valid name for a file to be opened.</td></tr>
  1568. <tr><td class="paramdir">[in]</td><td class="paramname">oflag</td><td>bitwise-inclusive OR of open flags. See see <a class="el" href="class_fat_file.html#a58d6ea245f1bc3ae7a6df311cd25052f">FatFile::open(FatFile*, const char*, uint8_t)</a>.</td></tr>
  1569. </table>
  1570. </dd>
  1571. </dl>
  1572. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1573. </div>
  1574. </div>
  1575. <a id="a58d6ea245f1bc3ae7a6df311cd25052f"></a>
  1576. <h2 class="memtitle"><span class="permalink"><a href="#a58d6ea245f1bc3ae7a6df311cd25052f">&#9670;&nbsp;</a></span>open() <span class="overload">[2/4]</span></h2>
  1577. <div class="memitem">
  1578. <div class="memproto">
  1579. <table class="memname">
  1580. <tr>
  1581. <td class="memname">bool FatFile::open </td>
  1582. <td>(</td>
  1583. <td class="paramtype"><a class="el" href="class_fat_file.html">FatFile</a> *&#160;</td>
  1584. <td class="paramname"><em>dirFile</em>, </td>
  1585. </tr>
  1586. <tr>
  1587. <td class="paramkey"></td>
  1588. <td></td>
  1589. <td class="paramtype">const char *&#160;</td>
  1590. <td class="paramname"><em>path</em>, </td>
  1591. </tr>
  1592. <tr>
  1593. <td class="paramkey"></td>
  1594. <td></td>
  1595. <td class="paramtype">oflag_t&#160;</td>
  1596. <td class="paramname"><em>oflag</em>&#160;</td>
  1597. </tr>
  1598. <tr>
  1599. <td></td>
  1600. <td>)</td>
  1601. <td></td><td></td>
  1602. </tr>
  1603. </table>
  1604. </div><div class="memdoc">
  1605. <p>Open a file or directory by name.</p>
  1606. <dl class="params"><dt>Parameters</dt><dd>
  1607. <table class="params">
  1608. <tr><td class="paramdir">[in]</td><td class="paramname">dirFile</td><td>An open <a class="el" href="class_fat_file.html" title="Basic file class.">FatFile</a> instance for the directory containing the file to be opened.</td></tr>
  1609. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a valid name for a file to be opened.</td></tr>
  1610. <tr><td class="paramdir">[in]</td><td class="paramname">oflag</td><td>Values for <em>oflag</em> are constructed by a bitwise-inclusive OR of flags from the following list. Only one of O_RDONLY, O_READ, O_WRONLY, O_WRITE, or O_RDWR is allowed.</td></tr>
  1611. </table>
  1612. </dd>
  1613. </dl>
  1614. <p>O_RDONLY - Open for reading.</p>
  1615. <p>O_READ - Same as O_RDONLY.</p>
  1616. <p>O_WRONLY - Open for writing.</p>
  1617. <p>O_WRITE - Same as O_WRONLY.</p>
  1618. <p>O_RDWR - Open for reading and writing.</p>
  1619. <p>O_APPEND - If set, the file offset shall be set to the end of the file prior to each write.</p>
  1620. <p>O_AT_END - Set the initial position at the end of the file.</p>
  1621. <p>O_CREAT - If the file exists, this flag has no effect except as noted under O_EXCL below. Otherwise, the file shall be created</p>
  1622. <p>O_EXCL - If O_CREAT and O_EXCL are set, <a class="el" href="class_fat_file.html#af49a42dc64cd954debb271eae5639059">open()</a> shall fail if the file exists.</p>
  1623. <p>O_TRUNC - If the file exists and is a regular file, and the file is successfully opened and is not read only, its length shall be truncated to 0.</p>
  1624. <p>WARNING: A given file must not be opened by more than one <a class="el" href="class_fat_file.html" title="Basic file class.">FatFile</a> object or file corruption may occur.</p>
  1625. <dl class="section note"><dt>Note</dt><dd>Directory files must be opened read only. Write and truncation is not allowed for directory files.</dd></dl>
  1626. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1627. </div>
  1628. </div>
  1629. <a id="ab44920bb9cd5414b8e69c9dc4343394a"></a>
  1630. <h2 class="memtitle"><span class="permalink"><a href="#ab44920bb9cd5414b8e69c9dc4343394a">&#9670;&nbsp;</a></span>open() <span class="overload">[3/4]</span></h2>
  1631. <div class="memitem">
  1632. <div class="memproto">
  1633. <table class="memname">
  1634. <tr>
  1635. <td class="memname">bool FatFile::open </td>
  1636. <td>(</td>
  1637. <td class="paramtype"><a class="el" href="class_fat_file.html">FatFile</a> *&#160;</td>
  1638. <td class="paramname"><em>dirFile</em>, </td>
  1639. </tr>
  1640. <tr>
  1641. <td class="paramkey"></td>
  1642. <td></td>
  1643. <td class="paramtype">uint16_t&#160;</td>
  1644. <td class="paramname"><em>index</em>, </td>
  1645. </tr>
  1646. <tr>
  1647. <td class="paramkey"></td>
  1648. <td></td>
  1649. <td class="paramtype">oflag_t&#160;</td>
  1650. <td class="paramname"><em>oflag</em>&#160;</td>
  1651. </tr>
  1652. <tr>
  1653. <td></td>
  1654. <td>)</td>
  1655. <td></td><td></td>
  1656. </tr>
  1657. </table>
  1658. </div><div class="memdoc">
  1659. <p>Open a file by index.</p>
  1660. <dl class="params"><dt>Parameters</dt><dd>
  1661. <table class="params">
  1662. <tr><td class="paramdir">[in]</td><td class="paramname">dirFile</td><td>An open <a class="el" href="class_fat_file.html" title="Basic file class.">FatFile</a> instance for the directory.</td></tr>
  1663. <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>The <em>index</em> of the directory entry for the file to be opened. The value for <em>index</em> is (directory file position)/32.</td></tr>
  1664. <tr><td class="paramdir">[in]</td><td class="paramname">oflag</td><td>bitwise-inclusive OR of open flags. See see <a class="el" href="class_fat_file.html#a58d6ea245f1bc3ae7a6df311cd25052f">FatFile::open(FatFile*, const char*, uint8_t)</a>.</td></tr>
  1665. </table>
  1666. </dd>
  1667. </dl>
  1668. <p>See <a class="el" href="class_fat_file.html#af49a42dc64cd954debb271eae5639059">open()</a> by path for definition of flags. </p><dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1669. </div>
  1670. </div>
  1671. <a id="af49a42dc64cd954debb271eae5639059"></a>
  1672. <h2 class="memtitle"><span class="permalink"><a href="#af49a42dc64cd954debb271eae5639059">&#9670;&nbsp;</a></span>open() <span class="overload">[4/4]</span></h2>
  1673. <div class="memitem">
  1674. <div class="memproto">
  1675. <table class="memname">
  1676. <tr>
  1677. <td class="memname">bool FatFile::open </td>
  1678. <td>(</td>
  1679. <td class="paramtype"><a class="el" href="class_fat_volume.html">FatVolume</a> *&#160;</td>
  1680. <td class="paramname"><em>vol</em>, </td>
  1681. </tr>
  1682. <tr>
  1683. <td class="paramkey"></td>
  1684. <td></td>
  1685. <td class="paramtype">const char *&#160;</td>
  1686. <td class="paramname"><em>path</em>, </td>
  1687. </tr>
  1688. <tr>
  1689. <td class="paramkey"></td>
  1690. <td></td>
  1691. <td class="paramtype">oflag_t&#160;</td>
  1692. <td class="paramname"><em>oflag</em>&#160;</td>
  1693. </tr>
  1694. <tr>
  1695. <td></td>
  1696. <td>)</td>
  1697. <td></td><td></td>
  1698. </tr>
  1699. </table>
  1700. </div><div class="memdoc">
  1701. <p>Open a file in the volume root directory.</p>
  1702. <dl class="params"><dt>Parameters</dt><dd>
  1703. <table class="params">
  1704. <tr><td class="paramdir">[in]</td><td class="paramname">vol</td><td>Volume where the file is located.</td></tr>
  1705. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>with a valid name for a file to be opened.</td></tr>
  1706. <tr><td class="paramdir">[in]</td><td class="paramname">oflag</td><td>bitwise-inclusive OR of open flags. See see <a class="el" href="class_fat_file.html#a58d6ea245f1bc3ae7a6df311cd25052f">FatFile::open(FatFile*, const char*, uint8_t)</a>.</td></tr>
  1707. </table>
  1708. </dd>
  1709. </dl>
  1710. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1711. </div>
  1712. </div>
  1713. <a id="a7f98b908a686574efbd7e1d20121ef9a"></a>
  1714. <h2 class="memtitle"><span class="permalink"><a href="#a7f98b908a686574efbd7e1d20121ef9a">&#9670;&nbsp;</a></span>openNext()</h2>
  1715. <div class="memitem">
  1716. <div class="memproto">
  1717. <table class="memname">
  1718. <tr>
  1719. <td class="memname">bool FatFile::openNext </td>
  1720. <td>(</td>
  1721. <td class="paramtype"><a class="el" href="class_fat_file.html">FatFile</a> *&#160;</td>
  1722. <td class="paramname"><em>dirFile</em>, </td>
  1723. </tr>
  1724. <tr>
  1725. <td class="paramkey"></td>
  1726. <td></td>
  1727. <td class="paramtype">oflag_t&#160;</td>
  1728. <td class="paramname"><em>oflag</em> = <code>0X00</code>&#160;</td>
  1729. </tr>
  1730. <tr>
  1731. <td></td>
  1732. <td>)</td>
  1733. <td></td><td></td>
  1734. </tr>
  1735. </table>
  1736. </div><div class="memdoc">
  1737. <p>Open the next file or subdirectory in a directory.</p>
  1738. <dl class="params"><dt>Parameters</dt><dd>
  1739. <table class="params">
  1740. <tr><td class="paramdir">[in]</td><td class="paramname">dirFile</td><td>An open <a class="el" href="class_fat_file.html" title="Basic file class.">FatFile</a> instance for the directory containing the file to be opened.</td></tr>
  1741. <tr><td class="paramdir">[in]</td><td class="paramname">oflag</td><td>bitwise-inclusive OR of open flags. See see <a class="el" href="class_fat_file.html#a58d6ea245f1bc3ae7a6df311cd25052f">FatFile::open(FatFile*, const char*, uint8_t)</a>.</td></tr>
  1742. </table>
  1743. </dd>
  1744. </dl>
  1745. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1746. </div>
  1747. </div>
  1748. <a id="a7e0c0548fed3a69e7284b91b694439d4"></a>
  1749. <h2 class="memtitle"><span class="permalink"><a href="#a7e0c0548fed3a69e7284b91b694439d4">&#9670;&nbsp;</a></span>openRoot()</h2>
  1750. <div class="memitem">
  1751. <div class="memproto">
  1752. <table class="memname">
  1753. <tr>
  1754. <td class="memname">bool FatFile::openRoot </td>
  1755. <td>(</td>
  1756. <td class="paramtype"><a class="el" href="class_fat_volume.html">FatVolume</a> *&#160;</td>
  1757. <td class="paramname"><em>vol</em></td><td>)</td>
  1758. <td></td>
  1759. </tr>
  1760. </table>
  1761. </div><div class="memdoc">
  1762. <p>Open a volume's root directory.</p>
  1763. <dl class="params"><dt>Parameters</dt><dd>
  1764. <table class="params">
  1765. <tr><td class="paramdir">[in]</td><td class="paramname">vol</td><td>The FAT volume containing the root directory to be opened.</td></tr>
  1766. </table>
  1767. </dd>
  1768. </dl>
  1769. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1770. </div>
  1771. </div>
  1772. <a id="acd141c43d03cf790b3b9806f3b059e77"></a>
  1773. <h2 class="memtitle"><span class="permalink"><a href="#acd141c43d03cf790b3b9806f3b059e77">&#9670;&nbsp;</a></span>operator bool()</h2>
  1774. <div class="memitem">
  1775. <div class="memproto">
  1776. <table class="mlabels">
  1777. <tr>
  1778. <td class="mlabels-left">
  1779. <table class="memname">
  1780. <tr>
  1781. <td class="memname">FatFile::operator bool </td>
  1782. <td>(</td>
  1783. <td class="paramname"></td><td>)</td>
  1784. <td></td>
  1785. </tr>
  1786. </table>
  1787. </td>
  1788. <td class="mlabels-right">
  1789. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1790. </tr>
  1791. </table>
  1792. </div><div class="memdoc">
  1793. <p>The parenthesis operator.</p>
  1794. <dl class="section return"><dt>Returns</dt><dd>true if a file is open. </dd></dl>
  1795. </div>
  1796. </div>
  1797. <a id="ac05b7136b887539426856c623869aa3a"></a>
  1798. <h2 class="memtitle"><span class="permalink"><a href="#ac05b7136b887539426856c623869aa3a">&#9670;&nbsp;</a></span>peek()</h2>
  1799. <div class="memitem">
  1800. <div class="memproto">
  1801. <table class="memname">
  1802. <tr>
  1803. <td class="memname">int FatFile::peek </td>
  1804. <td>(</td>
  1805. <td class="paramname"></td><td>)</td>
  1806. <td></td>
  1807. </tr>
  1808. </table>
  1809. </div><div class="memdoc">
  1810. <p>Return the next available byte without consuming it.</p>
  1811. <dl class="section return"><dt>Returns</dt><dd>The byte if no error and not at eof else -1; </dd></dl>
  1812. </div>
  1813. </div>
  1814. <a id="aeeb13b9de68bf9097c863c41d655ee83"></a>
  1815. <h2 class="memtitle"><span class="permalink"><a href="#aeeb13b9de68bf9097c863c41d655ee83">&#9670;&nbsp;</a></span>preAllocate()</h2>
  1816. <div class="memitem">
  1817. <div class="memproto">
  1818. <table class="memname">
  1819. <tr>
  1820. <td class="memname">bool FatFile::preAllocate </td>
  1821. <td>(</td>
  1822. <td class="paramtype">uint32_t&#160;</td>
  1823. <td class="paramname"><em>length</em></td><td>)</td>
  1824. <td></td>
  1825. </tr>
  1826. </table>
  1827. </div><div class="memdoc">
  1828. <p>Allocate contiguous clusters to an empty file.</p>
  1829. <p>The file must be empty with no clusters allocated.</p>
  1830. <p>The file will contain uninitialized data.</p>
  1831. <dl class="params"><dt>Parameters</dt><dd>
  1832. <table class="params">
  1833. <tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>size of the file in bytes. </td></tr>
  1834. </table>
  1835. </dd>
  1836. </dl>
  1837. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1838. </div>
  1839. </div>
  1840. <a id="a22be4c339d0bfa331f75415b74dd4f37"></a>
  1841. <h2 class="memtitle"><span class="permalink"><a href="#a22be4c339d0bfa331f75415b74dd4f37">&#9670;&nbsp;</a></span>printAccessDate()</h2>
  1842. <div class="memitem">
  1843. <div class="memproto">
  1844. <table class="memname">
  1845. <tr>
  1846. <td class="memname">size_t FatFile::printAccessDate </td>
  1847. <td>(</td>
  1848. <td class="paramtype"><a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  1849. <td class="paramname"><em>pr</em></td><td>)</td>
  1850. <td></td>
  1851. </tr>
  1852. </table>
  1853. </div><div class="memdoc">
  1854. <p>Print a file's access date</p>
  1855. <dl class="params"><dt>Parameters</dt><dd>
  1856. <table class="params">
  1857. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output.</td></tr>
  1858. </table>
  1859. </dd>
  1860. </dl>
  1861. <dl class="section return"><dt>Returns</dt><dd>The number of characters printed. </dd></dl>
  1862. </div>
  1863. </div>
  1864. <a id="a19b3196bb1f6a68a2447e53b09369aef"></a>
  1865. <h2 class="memtitle"><span class="permalink"><a href="#a19b3196bb1f6a68a2447e53b09369aef">&#9670;&nbsp;</a></span>printAccessDateTime()</h2>
  1866. <div class="memitem">
  1867. <div class="memproto">
  1868. <table class="mlabels">
  1869. <tr>
  1870. <td class="mlabels-left">
  1871. <table class="memname">
  1872. <tr>
  1873. <td class="memname">size_t FatFile::printAccessDateTime </td>
  1874. <td>(</td>
  1875. <td class="paramtype"><a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  1876. <td class="paramname"><em>pr</em></td><td>)</td>
  1877. <td></td>
  1878. </tr>
  1879. </table>
  1880. </td>
  1881. <td class="mlabels-right">
  1882. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  1883. </tr>
  1884. </table>
  1885. </div><div class="memdoc">
  1886. <p>Print a file's access date</p>
  1887. <dl class="params"><dt>Parameters</dt><dd>
  1888. <table class="params">
  1889. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output.</td></tr>
  1890. </table>
  1891. </dd>
  1892. </dl>
  1893. <dl class="section return"><dt>Returns</dt><dd>The number of characters printed. </dd></dl>
  1894. </div>
  1895. </div>
  1896. <a id="ab22396a285e27b53501a0047ddd97f59"></a>
  1897. <h2 class="memtitle"><span class="permalink"><a href="#ab22396a285e27b53501a0047ddd97f59">&#9670;&nbsp;</a></span>printCreateDateTime()</h2>
  1898. <div class="memitem">
  1899. <div class="memproto">
  1900. <table class="memname">
  1901. <tr>
  1902. <td class="memname">size_t FatFile::printCreateDateTime </td>
  1903. <td>(</td>
  1904. <td class="paramtype"><a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  1905. <td class="paramname"><em>pr</em></td><td>)</td>
  1906. <td></td>
  1907. </tr>
  1908. </table>
  1909. </div><div class="memdoc">
  1910. <p>Print a file's creation date and time</p>
  1911. <dl class="params"><dt>Parameters</dt><dd>
  1912. <table class="params">
  1913. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output.</td></tr>
  1914. </table>
  1915. </dd>
  1916. </dl>
  1917. <dl class="section return"><dt>Returns</dt><dd>The number of bytes printed. </dd></dl>
  1918. </div>
  1919. </div>
  1920. <a id="aabcd863883bfcfb37b63dbd6021f7eb8"></a>
  1921. <h2 class="memtitle"><span class="permalink"><a href="#aabcd863883bfcfb37b63dbd6021f7eb8">&#9670;&nbsp;</a></span>printFatDate()</h2>
  1922. <div class="memitem">
  1923. <div class="memproto">
  1924. <table class="mlabels">
  1925. <tr>
  1926. <td class="mlabels-left">
  1927. <table class="memname">
  1928. <tr>
  1929. <td class="memname">static void FatFile::printFatDate </td>
  1930. <td>(</td>
  1931. <td class="paramtype"><a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  1932. <td class="paramname"><em>pr</em>, </td>
  1933. </tr>
  1934. <tr>
  1935. <td class="paramkey"></td>
  1936. <td></td>
  1937. <td class="paramtype">uint16_t&#160;</td>
  1938. <td class="paramname"><em>fatDate</em>&#160;</td>
  1939. </tr>
  1940. <tr>
  1941. <td></td>
  1942. <td>)</td>
  1943. <td></td><td></td>
  1944. </tr>
  1945. </table>
  1946. </td>
  1947. <td class="mlabels-right">
  1948. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  1949. </tr>
  1950. </table>
  1951. </div><div class="memdoc">
  1952. <p>Print a directory date field.</p>
  1953. <p>Format is yyyy-mm-dd.</p>
  1954. <dl class="params"><dt>Parameters</dt><dd>
  1955. <table class="params">
  1956. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output. </td></tr>
  1957. <tr><td class="paramdir">[in]</td><td class="paramname">fatDate</td><td>The date field from a directory entry. </td></tr>
  1958. </table>
  1959. </dd>
  1960. </dl>
  1961. </div>
  1962. </div>
  1963. <a id="a7f84d953190ea94710dad9ebb897b957"></a>
  1964. <h2 class="memtitle"><span class="permalink"><a href="#a7f84d953190ea94710dad9ebb897b957">&#9670;&nbsp;</a></span>printFatTime()</h2>
  1965. <div class="memitem">
  1966. <div class="memproto">
  1967. <table class="mlabels">
  1968. <tr>
  1969. <td class="mlabels-left">
  1970. <table class="memname">
  1971. <tr>
  1972. <td class="memname">static void FatFile::printFatTime </td>
  1973. <td>(</td>
  1974. <td class="paramtype"><a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  1975. <td class="paramname"><em>pr</em>, </td>
  1976. </tr>
  1977. <tr>
  1978. <td class="paramkey"></td>
  1979. <td></td>
  1980. <td class="paramtype">uint16_t&#160;</td>
  1981. <td class="paramname"><em>fatTime</em>&#160;</td>
  1982. </tr>
  1983. <tr>
  1984. <td></td>
  1985. <td>)</td>
  1986. <td></td><td></td>
  1987. </tr>
  1988. </table>
  1989. </td>
  1990. <td class="mlabels-right">
  1991. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  1992. </tr>
  1993. </table>
  1994. </div><div class="memdoc">
  1995. <p>Print a directory time field.</p>
  1996. <p>Format is hh:mm:ss.</p>
  1997. <dl class="params"><dt>Parameters</dt><dd>
  1998. <table class="params">
  1999. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output. </td></tr>
  2000. <tr><td class="paramdir">[in]</td><td class="paramname">fatTime</td><td>The time field from a directory entry. </td></tr>
  2001. </table>
  2002. </dd>
  2003. </dl>
  2004. </div>
  2005. </div>
  2006. <a id="aa4a61a0cca1813d2ad0f6fe99cc4e41d"></a>
  2007. <h2 class="memtitle"><span class="permalink"><a href="#aa4a61a0cca1813d2ad0f6fe99cc4e41d">&#9670;&nbsp;</a></span>printField() <span class="overload">[1/3]</span></h2>
  2008. <div class="memitem">
  2009. <div class="memproto">
  2010. <table class="mlabels">
  2011. <tr>
  2012. <td class="mlabels-left">
  2013. <table class="memname">
  2014. <tr>
  2015. <td class="memname">size_t FatFile::printField </td>
  2016. <td>(</td>
  2017. <td class="paramtype">double&#160;</td>
  2018. <td class="paramname"><em>value</em>, </td>
  2019. </tr>
  2020. <tr>
  2021. <td class="paramkey"></td>
  2022. <td></td>
  2023. <td class="paramtype">char&#160;</td>
  2024. <td class="paramname"><em>term</em>, </td>
  2025. </tr>
  2026. <tr>
  2027. <td class="paramkey"></td>
  2028. <td></td>
  2029. <td class="paramtype">uint8_t&#160;</td>
  2030. <td class="paramname"><em>prec</em> = <code>2</code>&#160;</td>
  2031. </tr>
  2032. <tr>
  2033. <td></td>
  2034. <td>)</td>
  2035. <td></td><td></td>
  2036. </tr>
  2037. </table>
  2038. </td>
  2039. <td class="mlabels-right">
  2040. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  2041. </tr>
  2042. </table>
  2043. </div><div class="memdoc">
  2044. <p>Print a number followed by a field terminator. </p><dl class="params"><dt>Parameters</dt><dd>
  2045. <table class="params">
  2046. <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>The number to be printed. </td></tr>
  2047. <tr><td class="paramdir">[in]</td><td class="paramname">term</td><td>The field terminator. Use '\n' for CR LF. </td></tr>
  2048. <tr><td class="paramdir">[in]</td><td class="paramname">prec</td><td>Number of digits after decimal point. </td></tr>
  2049. </table>
  2050. </dd>
  2051. </dl>
  2052. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  2053. </div>
  2054. </div>
  2055. <a id="a90ccef676afd62bbe7c773dd863a56e0"></a>
  2056. <h2 class="memtitle"><span class="permalink"><a href="#a90ccef676afd62bbe7c773dd863a56e0">&#9670;&nbsp;</a></span>printField() <span class="overload">[2/3]</span></h2>
  2057. <div class="memitem">
  2058. <div class="memproto">
  2059. <table class="mlabels">
  2060. <tr>
  2061. <td class="mlabels-left">
  2062. <table class="memname">
  2063. <tr>
  2064. <td class="memname">size_t FatFile::printField </td>
  2065. <td>(</td>
  2066. <td class="paramtype">float&#160;</td>
  2067. <td class="paramname"><em>value</em>, </td>
  2068. </tr>
  2069. <tr>
  2070. <td class="paramkey"></td>
  2071. <td></td>
  2072. <td class="paramtype">char&#160;</td>
  2073. <td class="paramname"><em>term</em>, </td>
  2074. </tr>
  2075. <tr>
  2076. <td class="paramkey"></td>
  2077. <td></td>
  2078. <td class="paramtype">uint8_t&#160;</td>
  2079. <td class="paramname"><em>prec</em> = <code>2</code>&#160;</td>
  2080. </tr>
  2081. <tr>
  2082. <td></td>
  2083. <td>)</td>
  2084. <td></td><td></td>
  2085. </tr>
  2086. </table>
  2087. </td>
  2088. <td class="mlabels-right">
  2089. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  2090. </tr>
  2091. </table>
  2092. </div><div class="memdoc">
  2093. <p>Print a number followed by a field terminator. </p><dl class="params"><dt>Parameters</dt><dd>
  2094. <table class="params">
  2095. <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>The number to be printed. </td></tr>
  2096. <tr><td class="paramdir">[in]</td><td class="paramname">term</td><td>The field terminator. Use '\n' for CR LF. </td></tr>
  2097. <tr><td class="paramdir">[in]</td><td class="paramname">prec</td><td>Number of digits after decimal point. </td></tr>
  2098. </table>
  2099. </dd>
  2100. </dl>
  2101. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  2102. </div>
  2103. </div>
  2104. <a id="a8f906be79086f38943cb0911310d67bf"></a>
  2105. <h2 class="memtitle"><span class="permalink"><a href="#a8f906be79086f38943cb0911310d67bf">&#9670;&nbsp;</a></span>printField() <span class="overload">[3/3]</span></h2>
  2106. <div class="memitem">
  2107. <div class="memproto">
  2108. <div class="memtemplate">
  2109. template&lt;typename Type &gt; </div>
  2110. <table class="mlabels">
  2111. <tr>
  2112. <td class="mlabels-left">
  2113. <table class="memname">
  2114. <tr>
  2115. <td class="memname">size_t FatFile::printField </td>
  2116. <td>(</td>
  2117. <td class="paramtype">Type&#160;</td>
  2118. <td class="paramname"><em>value</em>, </td>
  2119. </tr>
  2120. <tr>
  2121. <td class="paramkey"></td>
  2122. <td></td>
  2123. <td class="paramtype">char&#160;</td>
  2124. <td class="paramname"><em>term</em>&#160;</td>
  2125. </tr>
  2126. <tr>
  2127. <td></td>
  2128. <td>)</td>
  2129. <td></td><td></td>
  2130. </tr>
  2131. </table>
  2132. </td>
  2133. <td class="mlabels-right">
  2134. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  2135. </tr>
  2136. </table>
  2137. </div><div class="memdoc">
  2138. <p>Print a number followed by a field terminator. </p><dl class="params"><dt>Parameters</dt><dd>
  2139. <table class="params">
  2140. <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>The number to be printed. </td></tr>
  2141. <tr><td class="paramdir">[in]</td><td class="paramname">term</td><td>The field terminator. Use '\n' for CR LF. </td></tr>
  2142. </table>
  2143. </dd>
  2144. </dl>
  2145. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  2146. </div>
  2147. </div>
  2148. <a id="a12a5d2de2737c201aa39ca1bd2ab9c47"></a>
  2149. <h2 class="memtitle"><span class="permalink"><a href="#a12a5d2de2737c201aa39ca1bd2ab9c47">&#9670;&nbsp;</a></span>printFileSize()</h2>
  2150. <div class="memitem">
  2151. <div class="memproto">
  2152. <table class="memname">
  2153. <tr>
  2154. <td class="memname">size_t FatFile::printFileSize </td>
  2155. <td>(</td>
  2156. <td class="paramtype"><a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  2157. <td class="paramname"><em>pr</em></td><td>)</td>
  2158. <td></td>
  2159. </tr>
  2160. </table>
  2161. </div><div class="memdoc">
  2162. <p>Print a file's size.</p>
  2163. <dl class="params"><dt>Parameters</dt><dd>
  2164. <table class="params">
  2165. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output.</td></tr>
  2166. </table>
  2167. </dd>
  2168. </dl>
  2169. <dl class="section return"><dt>Returns</dt><dd>The number of characters printed is returned for success and zero is returned for failure. </dd></dl>
  2170. </div>
  2171. </div>
  2172. <a id="a43c8a1cabcae673e43c590f5db44c65a"></a>
  2173. <h2 class="memtitle"><span class="permalink"><a href="#a43c8a1cabcae673e43c590f5db44c65a">&#9670;&nbsp;</a></span>printModifyDateTime()</h2>
  2174. <div class="memitem">
  2175. <div class="memproto">
  2176. <table class="memname">
  2177. <tr>
  2178. <td class="memname">size_t FatFile::printModifyDateTime </td>
  2179. <td>(</td>
  2180. <td class="paramtype"><a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  2181. <td class="paramname"><em>pr</em></td><td>)</td>
  2182. <td></td>
  2183. </tr>
  2184. </table>
  2185. </div><div class="memdoc">
  2186. <p>Print a file's modify date and time</p>
  2187. <dl class="params"><dt>Parameters</dt><dd>
  2188. <table class="params">
  2189. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output.</td></tr>
  2190. </table>
  2191. </dd>
  2192. </dl>
  2193. <dl class="section return"><dt>Returns</dt><dd>The number of characters printed. </dd></dl>
  2194. </div>
  2195. </div>
  2196. <a id="ad1cbc3aeb0f5193b7a26595966da9621"></a>
  2197. <h2 class="memtitle"><span class="permalink"><a href="#ad1cbc3aeb0f5193b7a26595966da9621">&#9670;&nbsp;</a></span>printName() <span class="overload">[1/2]</span></h2>
  2198. <div class="memitem">
  2199. <div class="memproto">
  2200. <table class="mlabels">
  2201. <tr>
  2202. <td class="mlabels-left">
  2203. <table class="memname">
  2204. <tr>
  2205. <td class="memname">size_t FatFile::printName </td>
  2206. <td>(</td>
  2207. <td class="paramname"></td><td>)</td>
  2208. <td></td>
  2209. </tr>
  2210. </table>
  2211. </td>
  2212. <td class="mlabels-right">
  2213. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  2214. </tr>
  2215. </table>
  2216. </div><div class="memdoc">
  2217. <p>Print a file's name.</p>
  2218. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  2219. </div>
  2220. </div>
  2221. <a id="afe18a787fb8640e2d2483370c770f82f"></a>
  2222. <h2 class="memtitle"><span class="permalink"><a href="#afe18a787fb8640e2d2483370c770f82f">&#9670;&nbsp;</a></span>printName() <span class="overload">[2/2]</span></h2>
  2223. <div class="memitem">
  2224. <div class="memproto">
  2225. <table class="memname">
  2226. <tr>
  2227. <td class="memname">size_t FatFile::printName </td>
  2228. <td>(</td>
  2229. <td class="paramtype"><a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  2230. <td class="paramname"><em>pr</em></td><td>)</td>
  2231. <td></td>
  2232. </tr>
  2233. </table>
  2234. </div><div class="memdoc">
  2235. <p>Print a file's name</p>
  2236. <dl class="params"><dt>Parameters</dt><dd>
  2237. <table class="params">
  2238. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output.</td></tr>
  2239. </table>
  2240. </dd>
  2241. </dl>
  2242. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  2243. </div>
  2244. </div>
  2245. <a id="a791cd7aade71f609aab62ec018aea3c0"></a>
  2246. <h2 class="memtitle"><span class="permalink"><a href="#a791cd7aade71f609aab62ec018aea3c0">&#9670;&nbsp;</a></span>printSFN()</h2>
  2247. <div class="memitem">
  2248. <div class="memproto">
  2249. <table class="memname">
  2250. <tr>
  2251. <td class="memname">size_t FatFile::printSFN </td>
  2252. <td>(</td>
  2253. <td class="paramtype"><a class="el" href="_sys_call_8h.html#ac62f6449331cfe1a71f29be30efe7890">print_t</a> *&#160;</td>
  2254. <td class="paramname"><em>pr</em></td><td>)</td>
  2255. <td></td>
  2256. </tr>
  2257. </table>
  2258. </div><div class="memdoc">
  2259. <p>Print a file's Short File Name.</p>
  2260. <dl class="params"><dt>Parameters</dt><dd>
  2261. <table class="params">
  2262. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output.</td></tr>
  2263. </table>
  2264. </dd>
  2265. </dl>
  2266. <dl class="section return"><dt>Returns</dt><dd>The number of characters printed is returned for success and zero is returned for failure. </dd></dl>
  2267. </div>
  2268. </div>
  2269. <a id="a60ae55ff6fe158c2340071d702a363c5"></a>
  2270. <h2 class="memtitle"><span class="permalink"><a href="#a60ae55ff6fe158c2340071d702a363c5">&#9670;&nbsp;</a></span>read() <span class="overload">[1/2]</span></h2>
  2271. <div class="memitem">
  2272. <div class="memproto">
  2273. <table class="mlabels">
  2274. <tr>
  2275. <td class="mlabels-left">
  2276. <table class="memname">
  2277. <tr>
  2278. <td class="memname">int FatFile::read </td>
  2279. <td>(</td>
  2280. <td class="paramname"></td><td>)</td>
  2281. <td></td>
  2282. </tr>
  2283. </table>
  2284. </td>
  2285. <td class="mlabels-right">
  2286. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  2287. </tr>
  2288. </table>
  2289. </div><div class="memdoc">
  2290. <p>Read the next byte from a file.</p>
  2291. <dl class="section return"><dt>Returns</dt><dd>For success read returns the next byte in the file as an int. If an error occurs or end of file is reached -1 is returned. </dd></dl>
  2292. </div>
  2293. </div>
  2294. <a id="aba893af8107a18017482d2311b066187"></a>
  2295. <h2 class="memtitle"><span class="permalink"><a href="#aba893af8107a18017482d2311b066187">&#9670;&nbsp;</a></span>read() <span class="overload">[2/2]</span></h2>
  2296. <div class="memitem">
  2297. <div class="memproto">
  2298. <table class="memname">
  2299. <tr>
  2300. <td class="memname">int FatFile::read </td>
  2301. <td>(</td>
  2302. <td class="paramtype">void *&#160;</td>
  2303. <td class="paramname"><em>buf</em>, </td>
  2304. </tr>
  2305. <tr>
  2306. <td class="paramkey"></td>
  2307. <td></td>
  2308. <td class="paramtype">size_t&#160;</td>
  2309. <td class="paramname"><em>count</em>&#160;</td>
  2310. </tr>
  2311. <tr>
  2312. <td></td>
  2313. <td>)</td>
  2314. <td></td><td></td>
  2315. </tr>
  2316. </table>
  2317. </div><div class="memdoc">
  2318. <p>Read data from a file starting at the current position.</p>
  2319. <dl class="params"><dt>Parameters</dt><dd>
  2320. <table class="params">
  2321. <tr><td class="paramdir">[out]</td><td class="paramname">buf</td><td>Pointer to the location that will receive the data.</td></tr>
  2322. <tr><td class="paramdir">[in]</td><td class="paramname">count</td><td>Maximum number of bytes to read.</td></tr>
  2323. </table>
  2324. </dd>
  2325. </dl>
  2326. <dl class="section return"><dt>Returns</dt><dd>For success <a class="el" href="class_fat_file.html#a60ae55ff6fe158c2340071d702a363c5">read()</a> returns the number of bytes read. A value less than <em>nbyte</em>, including zero, will be returned if end of file is reached. If an error occurs, <a class="el" href="class_fat_file.html#a60ae55ff6fe158c2340071d702a363c5">read()</a> returns -1. </dd></dl>
  2327. </div>
  2328. </div>
  2329. <a id="a29502cd34ef186763d2196daef27df1f"></a>
  2330. <h2 class="memtitle"><span class="permalink"><a href="#a29502cd34ef186763d2196daef27df1f">&#9670;&nbsp;</a></span>readDir()</h2>
  2331. <div class="memitem">
  2332. <div class="memproto">
  2333. <table class="memname">
  2334. <tr>
  2335. <td class="memname">int8_t FatFile::readDir </td>
  2336. <td>(</td>
  2337. <td class="paramtype">DirFat_t *&#160;</td>
  2338. <td class="paramname"><em>dir</em></td><td>)</td>
  2339. <td></td>
  2340. </tr>
  2341. </table>
  2342. </div><div class="memdoc">
  2343. <p>Read the next directory entry from a directory file.</p>
  2344. <dl class="params"><dt>Parameters</dt><dd>
  2345. <table class="params">
  2346. <tr><td class="paramdir">[out]</td><td class="paramname">dir</td><td>The DirFat_t struct that will receive the data.</td></tr>
  2347. </table>
  2348. </dd>
  2349. </dl>
  2350. <dl class="section return"><dt>Returns</dt><dd>For success <a class="el" href="class_fat_file.html#a29502cd34ef186763d2196daef27df1f">readDir()</a> returns the number of bytes read. A value of zero will be returned if end of file is reached. If an error occurs, <a class="el" href="class_fat_file.html#a29502cd34ef186763d2196daef27df1f">readDir()</a> returns -1. Possible errors include <a class="el" href="class_fat_file.html#a29502cd34ef186763d2196daef27df1f">readDir()</a> called before a directory has been opened, this is not a directory file or an I/O error occurred. </dd></dl>
  2351. </div>
  2352. </div>
  2353. <a id="ac837a537fbcca14c7aa390c5fc9f4e7c"></a>
  2354. <h2 class="memtitle"><span class="permalink"><a href="#ac837a537fbcca14c7aa390c5fc9f4e7c">&#9670;&nbsp;</a></span>remove() <span class="overload">[1/2]</span></h2>
  2355. <div class="memitem">
  2356. <div class="memproto">
  2357. <table class="memname">
  2358. <tr>
  2359. <td class="memname">bool FatFile::remove </td>
  2360. <td>(</td>
  2361. <td class="paramname"></td><td>)</td>
  2362. <td></td>
  2363. </tr>
  2364. </table>
  2365. </div><div class="memdoc">
  2366. <p>Remove a file.</p>
  2367. <p>The directory entry and all data for the file are deleted.</p>
  2368. <dl class="section note"><dt>Note</dt><dd>This function should not be used to delete the 8.3 version of a file that has a long name. For example if a file has the long name "New Text Document.txt" you should not delete the 8.3 name "NEWTEX~1.TXT".</dd></dl>
  2369. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  2370. </div>
  2371. </div>
  2372. <a id="a75d3276f0b02b03e863afafe5731fedb"></a>
  2373. <h2 class="memtitle"><span class="permalink"><a href="#a75d3276f0b02b03e863afafe5731fedb">&#9670;&nbsp;</a></span>remove() <span class="overload">[2/2]</span></h2>
  2374. <div class="memitem">
  2375. <div class="memproto">
  2376. <table class="memname">
  2377. <tr>
  2378. <td class="memname">bool FatFile::remove </td>
  2379. <td>(</td>
  2380. <td class="paramtype">const char *&#160;</td>
  2381. <td class="paramname"><em>path</em></td><td>)</td>
  2382. <td></td>
  2383. </tr>
  2384. </table>
  2385. </div><div class="memdoc">
  2386. <p>Remove a file.</p>
  2387. <p>The directory entry and all data for the file are deleted.</p>
  2388. <dl class="params"><dt>Parameters</dt><dd>
  2389. <table class="params">
  2390. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>Path for the file to be removed.</td></tr>
  2391. </table>
  2392. </dd>
  2393. </dl>
  2394. <p>Example use: dirFile.remove(filenameToRemove);</p>
  2395. <dl class="section note"><dt>Note</dt><dd>This function should not be used to delete the 8.3 version of a file that has a long name. For example if a file has the long name "New Text Document.txt" you should not delete the 8.3 name "NEWTEX~1.TXT".</dd></dl>
  2396. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  2397. </div>
  2398. </div>
  2399. <a id="a4cebcac13c1f4c9de7a055ae73133599"></a>
  2400. <h2 class="memtitle"><span class="permalink"><a href="#a4cebcac13c1f4c9de7a055ae73133599">&#9670;&nbsp;</a></span>rename() <span class="overload">[1/2]</span></h2>
  2401. <div class="memitem">
  2402. <div class="memproto">
  2403. <table class="memname">
  2404. <tr>
  2405. <td class="memname">bool FatFile::rename </td>
  2406. <td>(</td>
  2407. <td class="paramtype">const char *&#160;</td>
  2408. <td class="paramname"><em>newPath</em></td><td>)</td>
  2409. <td></td>
  2410. </tr>
  2411. </table>
  2412. </div><div class="memdoc">
  2413. <p>Rename a file or subdirectory. </p><dl class="section note"><dt>Note</dt><dd>the renamed file will be moved to the current volume working directory.</dd></dl>
  2414. <dl class="params"><dt>Parameters</dt><dd>
  2415. <table class="params">
  2416. <tr><td class="paramdir">[in]</td><td class="paramname">newPath</td><td>New path name for the file/directory.</td></tr>
  2417. </table>
  2418. </dd>
  2419. </dl>
  2420. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  2421. </div>
  2422. </div>
  2423. <a id="a4b42f2454ff462555c07ea094a92a1e0"></a>
  2424. <h2 class="memtitle"><span class="permalink"><a href="#a4b42f2454ff462555c07ea094a92a1e0">&#9670;&nbsp;</a></span>rename() <span class="overload">[2/2]</span></h2>
  2425. <div class="memitem">
  2426. <div class="memproto">
  2427. <table class="memname">
  2428. <tr>
  2429. <td class="memname">bool FatFile::rename </td>
  2430. <td>(</td>
  2431. <td class="paramtype"><a class="el" href="class_fat_file.html">FatFile</a> *&#160;</td>
  2432. <td class="paramname"><em>dirFile</em>, </td>
  2433. </tr>
  2434. <tr>
  2435. <td class="paramkey"></td>
  2436. <td></td>
  2437. <td class="paramtype">const char *&#160;</td>
  2438. <td class="paramname"><em>newPath</em>&#160;</td>
  2439. </tr>
  2440. <tr>
  2441. <td></td>
  2442. <td>)</td>
  2443. <td></td><td></td>
  2444. </tr>
  2445. </table>
  2446. </div><div class="memdoc">
  2447. <p>Rename a file or subdirectory.</p>
  2448. <dl class="params"><dt>Parameters</dt><dd>
  2449. <table class="params">
  2450. <tr><td class="paramdir">[in]</td><td class="paramname">dirFile</td><td>Directory for the new path. </td></tr>
  2451. <tr><td class="paramdir">[in]</td><td class="paramname">newPath</td><td>New path name for the file/directory.</td></tr>
  2452. </table>
  2453. </dd>
  2454. </dl>
  2455. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  2456. </div>
  2457. </div>
  2458. <a id="a5aac6e0b3cb08fc8b8668e916a8b0ca5"></a>
  2459. <h2 class="memtitle"><span class="permalink"><a href="#a5aac6e0b3cb08fc8b8668e916a8b0ca5">&#9670;&nbsp;</a></span>rewind()</h2>
  2460. <div class="memitem">
  2461. <div class="memproto">
  2462. <table class="mlabels">
  2463. <tr>
  2464. <td class="mlabels-left">
  2465. <table class="memname">
  2466. <tr>
  2467. <td class="memname">void FatFile::rewind </td>
  2468. <td>(</td>
  2469. <td class="paramname"></td><td>)</td>
  2470. <td></td>
  2471. </tr>
  2472. </table>
  2473. </td>
  2474. <td class="mlabels-right">
  2475. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  2476. </tr>
  2477. </table>
  2478. </div><div class="memdoc">
  2479. <p>Set the file's current position to zero. </p>
  2480. </div>
  2481. </div>
  2482. <a id="a9515bac181d33e7f0125e88fa2ccd283"></a>
  2483. <h2 class="memtitle"><span class="permalink"><a href="#a9515bac181d33e7f0125e88fa2ccd283">&#9670;&nbsp;</a></span>rmdir()</h2>
  2484. <div class="memitem">
  2485. <div class="memproto">
  2486. <table class="memname">
  2487. <tr>
  2488. <td class="memname">bool FatFile::rmdir </td>
  2489. <td>(</td>
  2490. <td class="paramname"></td><td>)</td>
  2491. <td></td>
  2492. </tr>
  2493. </table>
  2494. </div><div class="memdoc">
  2495. <p>Remove a directory file.</p>
  2496. <p>The directory file will be removed only if it is empty and is not the root directory. <a class="el" href="class_fat_file.html#a9515bac181d33e7f0125e88fa2ccd283">rmdir()</a> follows DOS and Windows and ignores the read-only attribute for the directory.</p>
  2497. <dl class="section note"><dt>Note</dt><dd>This function should not be used to delete the 8.3 version of a directory that has a long name. For example if a directory has the long name "New folder" you should not delete the 8.3 name "NEWFOL~1".</dd></dl>
  2498. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  2499. </div>
  2500. </div>
  2501. <a id="ac780a80526f86d3def701ecdc99d8bfe"></a>
  2502. <h2 class="memtitle"><span class="permalink"><a href="#ac780a80526f86d3def701ecdc99d8bfe">&#9670;&nbsp;</a></span>rmRfStar()</h2>
  2503. <div class="memitem">
  2504. <div class="memproto">
  2505. <table class="memname">
  2506. <tr>
  2507. <td class="memname">bool FatFile::rmRfStar </td>
  2508. <td>(</td>
  2509. <td class="paramname"></td><td>)</td>
  2510. <td></td>
  2511. </tr>
  2512. </table>
  2513. </div><div class="memdoc">
  2514. <p>Recursively delete a directory and all contained files.</p>
  2515. <p>This is like the Unix/Linux 'rm -rf *' if called with the root directory hence the name.</p>
  2516. <p>Warning - This will remove all contents of the directory including subdirectories. The directory will then be removed if it is not root. The read-only attribute for files will be ignored.</p>
  2517. <dl class="section note"><dt>Note</dt><dd>This function should not be used to delete the 8.3 version of a directory that has a long name. See <a class="el" href="class_fat_file.html#ac837a537fbcca14c7aa390c5fc9f4e7c">remove()</a> and <a class="el" href="class_fat_file.html#a9515bac181d33e7f0125e88fa2ccd283">rmdir()</a>.</dd></dl>
  2518. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  2519. </div>
  2520. </div>
  2521. <a id="a5812037ea30777cc350698ad26f2c73f"></a>
  2522. <h2 class="memtitle"><span class="permalink"><a href="#a5812037ea30777cc350698ad26f2c73f">&#9670;&nbsp;</a></span>seekCur()</h2>
  2523. <div class="memitem">
  2524. <div class="memproto">
  2525. <table class="mlabels">
  2526. <tr>
  2527. <td class="mlabels-left">
  2528. <table class="memname">
  2529. <tr>
  2530. <td class="memname">bool FatFile::seekCur </td>
  2531. <td>(</td>
  2532. <td class="paramtype">int32_t&#160;</td>
  2533. <td class="paramname"><em>offset</em></td><td>)</td>
  2534. <td></td>
  2535. </tr>
  2536. </table>
  2537. </td>
  2538. <td class="mlabels-right">
  2539. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  2540. </tr>
  2541. </table>
  2542. </div><div class="memdoc">
  2543. <p>Set the files position to current position + <em>pos</em>. See <a class="el" href="class_fat_file.html#ab067190d25733ed7e697d9890f61fd7a">seekSet()</a>. </p><dl class="params"><dt>Parameters</dt><dd>
  2544. <table class="params">
  2545. <tr><td class="paramdir">[in]</td><td class="paramname">offset</td><td>The new position in bytes from the current position. </td></tr>
  2546. </table>
  2547. </dd>
  2548. </dl>
  2549. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  2550. </div>
  2551. </div>
  2552. <a id="a84f677f4e75ef6fa2eb632f4cdf6b486"></a>
  2553. <h2 class="memtitle"><span class="permalink"><a href="#a84f677f4e75ef6fa2eb632f4cdf6b486">&#9670;&nbsp;</a></span>seekEnd()</h2>
  2554. <div class="memitem">
  2555. <div class="memproto">
  2556. <table class="mlabels">
  2557. <tr>
  2558. <td class="mlabels-left">
  2559. <table class="memname">
  2560. <tr>
  2561. <td class="memname">bool FatFile::seekEnd </td>
  2562. <td>(</td>
  2563. <td class="paramtype">int32_t&#160;</td>
  2564. <td class="paramname"><em>offset</em> = <code>0</code></td><td>)</td>
  2565. <td></td>
  2566. </tr>
  2567. </table>
  2568. </td>
  2569. <td class="mlabels-right">
  2570. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  2571. </tr>
  2572. </table>
  2573. </div><div class="memdoc">
  2574. <p>Set the files position to end-of-file + <em>offset</em>. See <a class="el" href="class_fat_file.html#ab067190d25733ed7e697d9890f61fd7a">seekSet()</a>. Can't be used for directory files since file size is not defined. </p><dl class="params"><dt>Parameters</dt><dd>
  2575. <table class="params">
  2576. <tr><td class="paramdir">[in]</td><td class="paramname">offset</td><td>The new position in bytes from end-of-file. </td></tr>
  2577. </table>
  2578. </dd>
  2579. </dl>
  2580. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  2581. </div>
  2582. </div>
  2583. <a id="ab067190d25733ed7e697d9890f61fd7a"></a>
  2584. <h2 class="memtitle"><span class="permalink"><a href="#ab067190d25733ed7e697d9890f61fd7a">&#9670;&nbsp;</a></span>seekSet()</h2>
  2585. <div class="memitem">
  2586. <div class="memproto">
  2587. <table class="memname">
  2588. <tr>
  2589. <td class="memname">bool FatFile::seekSet </td>
  2590. <td>(</td>
  2591. <td class="paramtype">uint32_t&#160;</td>
  2592. <td class="paramname"><em>pos</em></td><td>)</td>
  2593. <td></td>
  2594. </tr>
  2595. </table>
  2596. </div><div class="memdoc">
  2597. <p>Sets a file's position.</p>
  2598. <dl class="params"><dt>Parameters</dt><dd>
  2599. <table class="params">
  2600. <tr><td class="paramdir">[in]</td><td class="paramname">pos</td><td>The new position in bytes from the beginning of the file.</td></tr>
  2601. </table>
  2602. </dd>
  2603. </dl>
  2604. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  2605. </div>
  2606. </div>
  2607. <a id="a67f3dc4896c542d695e11aac927f585e"></a>
  2608. <h2 class="memtitle"><span class="permalink"><a href="#a67f3dc4896c542d695e11aac927f585e">&#9670;&nbsp;</a></span>sync()</h2>
  2609. <div class="memitem">
  2610. <div class="memproto">
  2611. <table class="memname">
  2612. <tr>
  2613. <td class="memname">bool FatFile::sync </td>
  2614. <td>(</td>
  2615. <td class="paramname"></td><td>)</td>
  2616. <td></td>
  2617. </tr>
  2618. </table>
  2619. </div><div class="memdoc">
  2620. <p>The <a class="el" href="class_fat_file.html#a67f3dc4896c542d695e11aac927f585e">sync()</a> call causes all modified data and directory fields to be written to the storage device.</p>
  2621. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  2622. </div>
  2623. </div>
  2624. <a id="a56dabdf73833b7e961c4530eb8e16d23"></a>
  2625. <h2 class="memtitle"><span class="permalink"><a href="#a56dabdf73833b7e961c4530eb8e16d23">&#9670;&nbsp;</a></span>timestamp()</h2>
  2626. <div class="memitem">
  2627. <div class="memproto">
  2628. <table class="memname">
  2629. <tr>
  2630. <td class="memname">bool FatFile::timestamp </td>
  2631. <td>(</td>
  2632. <td class="paramtype">uint8_t&#160;</td>
  2633. <td class="paramname"><em>flags</em>, </td>
  2634. </tr>
  2635. <tr>
  2636. <td class="paramkey"></td>
  2637. <td></td>
  2638. <td class="paramtype">uint16_t&#160;</td>
  2639. <td class="paramname"><em>year</em>, </td>
  2640. </tr>
  2641. <tr>
  2642. <td class="paramkey"></td>
  2643. <td></td>
  2644. <td class="paramtype">uint8_t&#160;</td>
  2645. <td class="paramname"><em>month</em>, </td>
  2646. </tr>
  2647. <tr>
  2648. <td class="paramkey"></td>
  2649. <td></td>
  2650. <td class="paramtype">uint8_t&#160;</td>
  2651. <td class="paramname"><em>day</em>, </td>
  2652. </tr>
  2653. <tr>
  2654. <td class="paramkey"></td>
  2655. <td></td>
  2656. <td class="paramtype">uint8_t&#160;</td>
  2657. <td class="paramname"><em>hour</em>, </td>
  2658. </tr>
  2659. <tr>
  2660. <td class="paramkey"></td>
  2661. <td></td>
  2662. <td class="paramtype">uint8_t&#160;</td>
  2663. <td class="paramname"><em>minute</em>, </td>
  2664. </tr>
  2665. <tr>
  2666. <td class="paramkey"></td>
  2667. <td></td>
  2668. <td class="paramtype">uint8_t&#160;</td>
  2669. <td class="paramname"><em>second</em>&#160;</td>
  2670. </tr>
  2671. <tr>
  2672. <td></td>
  2673. <td>)</td>
  2674. <td></td><td></td>
  2675. </tr>
  2676. </table>
  2677. </div><div class="memdoc">
  2678. <p>Set a file's timestamps in its directory entry.</p>
  2679. <dl class="params"><dt>Parameters</dt><dd>
  2680. <table class="params">
  2681. <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>Values for <em>flags</em> are constructed by a bitwise-inclusive OR of flags from the following list</td></tr>
  2682. </table>
  2683. </dd>
  2684. </dl>
  2685. <p>T_ACCESS - Set the file's last access date.</p>
  2686. <p>T_CREATE - Set the file's creation date and time.</p>
  2687. <p>T_WRITE - Set the file's last write/modification date and time.</p>
  2688. <dl class="params"><dt>Parameters</dt><dd>
  2689. <table class="params">
  2690. <tr><td class="paramdir">[in]</td><td class="paramname">year</td><td>Valid range 1980 - 2107 inclusive.</td></tr>
  2691. <tr><td class="paramdir">[in]</td><td class="paramname">month</td><td>Valid range 1 - 12 inclusive.</td></tr>
  2692. <tr><td class="paramdir">[in]</td><td class="paramname">day</td><td>Valid range 1 - 31 inclusive.</td></tr>
  2693. <tr><td class="paramdir">[in]</td><td class="paramname">hour</td><td>Valid range 0 - 23 inclusive.</td></tr>
  2694. <tr><td class="paramdir">[in]</td><td class="paramname">minute</td><td>Valid range 0 - 59 inclusive.</td></tr>
  2695. <tr><td class="paramdir">[in]</td><td class="paramname">second</td><td>Valid range 0 - 59 inclusive</td></tr>
  2696. </table>
  2697. </dd>
  2698. </dl>
  2699. <dl class="section note"><dt>Note</dt><dd>It is possible to set an invalid date since there is no check for the number of days in a month.</dd>
  2700. <dd>
  2701. Modify and access timestamps may be overwritten if a date time callback function has been set by dateTimeCallback().</dd></dl>
  2702. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  2703. </div>
  2704. </div>
  2705. <a id="a7dda881dac19ea2aa9b2e85a229a98d7"></a>
  2706. <h2 class="memtitle"><span class="permalink"><a href="#a7dda881dac19ea2aa9b2e85a229a98d7">&#9670;&nbsp;</a></span>truncate() <span class="overload">[1/2]</span></h2>
  2707. <div class="memitem">
  2708. <div class="memproto">
  2709. <table class="memname">
  2710. <tr>
  2711. <td class="memname">bool FatFile::truncate </td>
  2712. <td>(</td>
  2713. <td class="paramname"></td><td>)</td>
  2714. <td></td>
  2715. </tr>
  2716. </table>
  2717. </div><div class="memdoc">
  2718. <p>Truncate a file at the current file position. will be maintained if it is less than or equal to <em>length</em> otherwise it will be set to end of file.</p>
  2719. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  2720. </div>
  2721. </div>
  2722. <a id="aa6e663098a578635d37d92e82d18d616"></a>
  2723. <h2 class="memtitle"><span class="permalink"><a href="#aa6e663098a578635d37d92e82d18d616">&#9670;&nbsp;</a></span>truncate() <span class="overload">[2/2]</span></h2>
  2724. <div class="memitem">
  2725. <div class="memproto">
  2726. <table class="mlabels">
  2727. <tr>
  2728. <td class="mlabels-left">
  2729. <table class="memname">
  2730. <tr>
  2731. <td class="memname">bool FatFile::truncate </td>
  2732. <td>(</td>
  2733. <td class="paramtype">uint32_t&#160;</td>
  2734. <td class="paramname"><em>length</em></td><td>)</td>
  2735. <td></td>
  2736. </tr>
  2737. </table>
  2738. </td>
  2739. <td class="mlabels-right">
  2740. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  2741. </tr>
  2742. </table>
  2743. </div><div class="memdoc">
  2744. <p>Truncate a file to a specified length. The current file position will be set to end of file.</p>
  2745. <dl class="params"><dt>Parameters</dt><dd>
  2746. <table class="params">
  2747. <tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The desired length for the file.</td></tr>
  2748. </table>
  2749. </dd>
  2750. </dl>
  2751. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  2752. </div>
  2753. </div>
  2754. <a id="a081dd810835f1ebf8c23ffe92706b485"></a>
  2755. <h2 class="memtitle"><span class="permalink"><a href="#a081dd810835f1ebf8c23ffe92706b485">&#9670;&nbsp;</a></span>write() <span class="overload">[1/3]</span></h2>
  2756. <div class="memitem">
  2757. <div class="memproto">
  2758. <table class="mlabels">
  2759. <tr>
  2760. <td class="mlabels-left">
  2761. <table class="memname">
  2762. <tr>
  2763. <td class="memname">size_t FatFile::write </td>
  2764. <td>(</td>
  2765. <td class="paramtype">const char *&#160;</td>
  2766. <td class="paramname"><em>str</em></td><td>)</td>
  2767. <td></td>
  2768. </tr>
  2769. </table>
  2770. </td>
  2771. <td class="mlabels-right">
  2772. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  2773. </tr>
  2774. </table>
  2775. </div><div class="memdoc">
  2776. <p>Write a string to a file. Used by the Arduino Print class. </p><dl class="params"><dt>Parameters</dt><dd>
  2777. <table class="params">
  2778. <tr><td class="paramdir">[in]</td><td class="paramname">str</td><td>Pointer to the string. Use getWriteError to check for errors. </td></tr>
  2779. </table>
  2780. </dd>
  2781. </dl>
  2782. <dl class="section return"><dt>Returns</dt><dd>count of characters written for success or -1 for failure. </dd></dl>
  2783. </div>
  2784. </div>
  2785. <a id="a5d84d871ac904a22aa48308713d14682"></a>
  2786. <h2 class="memtitle"><span class="permalink"><a href="#a5d84d871ac904a22aa48308713d14682">&#9670;&nbsp;</a></span>write() <span class="overload">[2/3]</span></h2>
  2787. <div class="memitem">
  2788. <div class="memproto">
  2789. <table class="memname">
  2790. <tr>
  2791. <td class="memname">size_t FatFile::write </td>
  2792. <td>(</td>
  2793. <td class="paramtype">const void *&#160;</td>
  2794. <td class="paramname"><em>buf</em>, </td>
  2795. </tr>
  2796. <tr>
  2797. <td class="paramkey"></td>
  2798. <td></td>
  2799. <td class="paramtype">size_t&#160;</td>
  2800. <td class="paramname"><em>count</em>&#160;</td>
  2801. </tr>
  2802. <tr>
  2803. <td></td>
  2804. <td>)</td>
  2805. <td></td><td></td>
  2806. </tr>
  2807. </table>
  2808. </div><div class="memdoc">
  2809. <p>Write data to an open file.</p>
  2810. <dl class="section note"><dt>Note</dt><dd>Data is moved to the cache but may not be written to the storage device until <a class="el" href="class_fat_file.html#a67f3dc4896c542d695e11aac927f585e">sync()</a> is called.</dd></dl>
  2811. <dl class="params"><dt>Parameters</dt><dd>
  2812. <table class="params">
  2813. <tr><td class="paramdir">[in]</td><td class="paramname">buf</td><td>Pointer to the location of the data to be written.</td></tr>
  2814. <tr><td class="paramdir">[in]</td><td class="paramname">count</td><td>Number of bytes to write.</td></tr>
  2815. </table>
  2816. </dd>
  2817. </dl>
  2818. <dl class="section return"><dt>Returns</dt><dd>For success <a class="el" href="class_fat_file.html#a081dd810835f1ebf8c23ffe92706b485">write()</a> returns the number of bytes written, always <em>count</em>. If an error occurs, <a class="el" href="class_fat_file.html#a081dd810835f1ebf8c23ffe92706b485">write()</a> returns -1. Possible errors include <a class="el" href="class_fat_file.html#a081dd810835f1ebf8c23ffe92706b485">write()</a> is called before a file has been opened, write is called for a read-only file, device is full, a corrupt file system or an I/O error. </dd></dl>
  2819. </div>
  2820. </div>
  2821. <a id="ae51e724ac6cc3d67d64a5a666d5850f1"></a>
  2822. <h2 class="memtitle"><span class="permalink"><a href="#ae51e724ac6cc3d67d64a5a666d5850f1">&#9670;&nbsp;</a></span>write() <span class="overload">[3/3]</span></h2>
  2823. <div class="memitem">
  2824. <div class="memproto">
  2825. <table class="mlabels">
  2826. <tr>
  2827. <td class="mlabels-left">
  2828. <table class="memname">
  2829. <tr>
  2830. <td class="memname">size_t FatFile::write </td>
  2831. <td>(</td>
  2832. <td class="paramtype">uint8_t&#160;</td>
  2833. <td class="paramname"><em>b</em></td><td>)</td>
  2834. <td></td>
  2835. </tr>
  2836. </table>
  2837. </td>
  2838. <td class="mlabels-right">
  2839. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  2840. </tr>
  2841. </table>
  2842. </div><div class="memdoc">
  2843. <p>Write a single byte. </p><dl class="params"><dt>Parameters</dt><dd>
  2844. <table class="params">
  2845. <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>The byte to be written. </td></tr>
  2846. </table>
  2847. </dd>
  2848. </dl>
  2849. <dl class="section return"><dt>Returns</dt><dd>+1 for success or -1 for failure. </dd></dl>
  2850. </div>
  2851. </div>
  2852. <h2 class="groupheader">Friends And Related Function Documentation</h2>
  2853. <a id="a6ca3f436167f187097347a20ea221555"></a>
  2854. <h2 class="memtitle"><span class="permalink"><a href="#a6ca3f436167f187097347a20ea221555">&#9670;&nbsp;</a></span>FatVolume</h2>
  2855. <div class="memitem">
  2856. <div class="memproto">
  2857. <table class="mlabels">
  2858. <tr>
  2859. <td class="mlabels-left">
  2860. <table class="memname">
  2861. <tr>
  2862. <td class="memname">friend class <a class="el" href="class_fat_volume.html">FatVolume</a></td>
  2863. </tr>
  2864. </table>
  2865. </td>
  2866. <td class="mlabels-right">
  2867. <span class="mlabels"><span class="mlabel">friend</span></span> </td>
  2868. </tr>
  2869. </table>
  2870. </div><div class="memdoc">
  2871. <p><a class="el" href="class_fat_volume.html" title="Integration class for the FatLib library.">FatVolume</a> allowed access to private members. </p>
  2872. </div>
  2873. </div>
  2874. <hr/>The documentation for this class was generated from the following files:<ul>
  2875. <li>ArduinoSdFat/libraries/SdFat/src/FatLib/<a class="el" href="_fat_file_8h.html">FatFile.h</a></li>
  2876. <li>ArduinoSdFat/libraries/SdFat/src/FatLib/FatFile.cpp</li>
  2877. <li>ArduinoSdFat/libraries/SdFat/src/FatLib/FatFileLFN.cpp</li>
  2878. <li>ArduinoSdFat/libraries/SdFat/src/FatLib/FatFilePrint.cpp</li>
  2879. <li>ArduinoSdFat/libraries/SdFat/src/FatLib/FatFileSFN.cpp</li>
  2880. </ul>
  2881. </div><!-- contents -->
  2882. <!-- start footer part -->
  2883. <hr class="footer"/><address class="footer"><small>
  2884. Generated on Fri Dec 6 2019 09:45:12 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  2885. <img class="footer" src="doxygen.png" alt="doxygen"/>
  2886. </a> 1.8.16
  2887. </small></address>
  2888. </body>
  2889. </html>