📄 flashmem.ax(2).toc7.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title><i class="i">tffsDrv</i>( ) Subroutines </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a></a><a href="flashMem.aX%282%29.TOC.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="flashMem.aX%282%29.TOC6.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="flashMem.aX%282%29.TOC8.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h2 class="H1"><i><a name="4679"> <i class="i">tffsDrv</i>( ) </a></i></h2></font><h4 class="SH"><a name="4680"> </a>NAME </h4><dl class="margin"><dl class="margin"><dd><a name="4681"><div class="aX"><b class="routine"><i class="routine">tffsDrv</i></b><b>( )</b> - initialize the TrueFFS system </div></a></dl></dl><h4 class="SH"><a name="4682"> </a>SYNOPSIS </h4><dl class="margin"><dl class="margin"><dd><pre class="Code"><b><a name="4684">STATUS tffsDrv (void)</a></b></pre></dl></dl><h4 class="SH"><a name="4685"> </a>DESCRIPTION </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="4686"> </a>This routine sets up the structures, the global variables, and the mutual exclusion semaphore needed to manage TrueFFS. This call also registers socket component drivers for the flash devices attached to your target, and, in the process, this function binds an appropriate translation layer module and MTD to the socket component driver.</p><dd><p class="Body"><a name="4687"> </a>Because <b><i>tffsDrv</i></b><b>( )</b> is the call that initializes the TrueFFS system, this function must be called (exactly once) before calling any other TrueFFS utilities, such as <b><i>tffsDevFormat</i></b><b>( )</b> or <b><i>tffsDevCreate</i></b><b>( )</b>. Typically, the call to <b><i>tffsDrv</i></b><b>( )</b> is handled for you automatically by the VxWorks start up code if you defined <b>INCLUDE_TFFS</b> or <b>INCLUDE_PCMCIA </b>in you BSP's <b>config.h</b>. </p></dl></dl><h4 class="SH"><a name="4688"> </a>RETURNS </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="4689"> </a>OK, or ERROR if it fails. </p></dl></dl><h4 class="SH"><a name="4690"> </a>SEE ALSO </h4><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="4691"> </a><b>tffsDrv</b> </p></dl></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a></a><a href="flashMem.aX%282%29.TOC.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="flashMem.aX%282%29.TOC6.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="flashMem.aX%282%29.TOC8.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc. conversion tool: Quadralay WebWorks Publisher 4.0.11 template: CSS Template, Jan 1998 - Jefro --->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -