Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > f831237475ece7d1519c6812064707d4 > files > 119

libnfc-devel-1.4.2-1.fc14.i686.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>libnfc: nfc_device_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">libnfc&#160;<span id="projectnumber">1.4.2</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<h1>nfc_device_t Struct Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="nfc_device_t" -->
<p>NFC device information.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="nfc-types_8h_source.html">nfc-types.h</a>&gt;</code></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structdriver__callbacks.html">driver_callbacks</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnfc__device__t.html#ad0a5bc20d415e037233d637817234a64">pdc</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnfc__device__t.html#a3933f0bea196fedca0345a7f940dc85b">acName</a> [DEVICE_NAME_LENGTH]</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">nfc_chip_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnfc__device__t.html#ac38d710f875a0ffbee062569f513dfff">nc</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">nfc_device_spec_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnfc__device__t.html#a2cef5cf7a0f7590c2398bac39bef7bee">nds</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnfc__device__t.html#ae89fdb258019e1c68073c31acc8a1367">bActive</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnfc__device__t.html#a7ce8e0b0e4be5f10074c9a552b5a945d">bCrc</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnfc__device__t.html#ab066d77b77d543818477b07787d0b0a5">bPar</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnfc__device__t.html#a3abc6b0a43eff03de706bfbf26b83d66">bEasyFraming</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnfc__device__t.html#aa9961deed081691365bb58fd4ff1c1b2">bAutoIso14443_4</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnfc__device__t.html#ad24b24c1dce4c9b331f5d165f33e5f3a">ui8TxBits</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnfc__device__t.html#a6c783f64079dcaaf77d80d526878456b">ui8Parameters</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">byte_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnfc__device__t.html#a956ae1ef5582f5a2827d196c864b309d">btSupportByte</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnfc__device__t.html#a3cc2631649285ff97395e20d8abd1e6f">iLastError</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>NFC device information. </p>

<p>Definition at line <a class="el" href="nfc-types_8h_source.html#l00056">56</a> of file <a class="el" href="nfc-types_8h_source.html">nfc-types.h</a>.</p>
</div><hr/><h2>Field Documentation</h2>
<a class="anchor" id="a3933f0bea196fedca0345a7f940dc85b"></a><!-- doxytag: member="nfc_device_t::acName" ref="a3933f0bea196fedca0345a7f940dc85b" args="[DEVICE_NAME_LENGTH]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char <a class="el" href="structnfc__device__t.html#a3933f0bea196fedca0345a7f940dc85b">nfc_device_t::acName</a>[DEVICE_NAME_LENGTH]</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Device name string, including device wrapper firmware </p>

<p>Definition at line <a class="el" href="nfc-types_8h_source.html#l00060">60</a> of file <a class="el" href="nfc-types_8h_source.html">nfc-types.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae89fdb258019e1c68073c31acc8a1367"></a><!-- doxytag: member="nfc_device_t::bActive" ref="ae89fdb258019e1c68073c31acc8a1367" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structnfc__device__t.html#ae89fdb258019e1c68073c31acc8a1367">nfc_device_t::bActive</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This represents if the PN53X device was initialized succesful </p>

<p>Definition at line <a class="el" href="nfc-types_8h_source.html#l00066">66</a> of file <a class="el" href="nfc-types_8h_source.html">nfc-types.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa9961deed081691365bb58fd4ff1c1b2"></a><!-- doxytag: member="nfc_device_t::bAutoIso14443_4" ref="aa9961deed081691365bb58fd4ff1c1b2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structnfc__device__t.html#aa9961deed081691365bb58fd4ff1c1b2">nfc_device_t::bAutoIso14443_4</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Should the PN53x chip switch automatically in ISO14443-4 when ISO14443 </p>

<p>Definition at line <a class="el" href="nfc-types_8h_source.html#l00074">74</a> of file <a class="el" href="nfc-types_8h_source.html">nfc-types.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7ce8e0b0e4be5f10074c9a552b5a945d"></a><!-- doxytag: member="nfc_device_t::bCrc" ref="a7ce8e0b0e4be5f10074c9a552b5a945d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structnfc__device__t.html#a7ce8e0b0e4be5f10074c9a552b5a945d">nfc_device_t::bCrc</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Is the crc automaticly added, checked and removed from the frames </p>

<p>Definition at line <a class="el" href="nfc-types_8h_source.html#l00068">68</a> of file <a class="el" href="nfc-types_8h_source.html">nfc-types.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3abc6b0a43eff03de706bfbf26b83d66"></a><!-- doxytag: member="nfc_device_t::bEasyFraming" ref="a3abc6b0a43eff03de706bfbf26b83d66" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structnfc__device__t.html#a3abc6b0a43eff03de706bfbf26b83d66">nfc_device_t::bEasyFraming</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Should the PN53x chip handle frames encapsulation and chaining </p>

<p>Definition at line <a class="el" href="nfc-types_8h_source.html#l00072">72</a> of file <a class="el" href="nfc-types_8h_source.html">nfc-types.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab066d77b77d543818477b07787d0b0a5"></a><!-- doxytag: member="nfc_device_t::bPar" ref="ab066d77b77d543818477b07787d0b0a5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="structnfc__device__t.html#ab066d77b77d543818477b07787d0b0a5">nfc_device_t::bPar</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Does the PN53x chip handles parity bits, all parities are handled as data </p>

<p>Definition at line <a class="el" href="nfc-types_8h_source.html#l00070">70</a> of file <a class="el" href="nfc-types_8h_source.html">nfc-types.h</a>.</p>

</div>
</div>
<a class="anchor" id="a956ae1ef5582f5a2827d196c864b309d"></a><!-- doxytag: member="nfc_device_t::btSupportByte" ref="a956ae1ef5582f5a2827d196c864b309d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">byte_t <a class="el" href="structnfc__device__t.html#a956ae1ef5582f5a2827d196c864b309d">nfc_device_t::btSupportByte</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Supported modulation encoded in a byte </p>

<p>Definition at line <a class="el" href="nfc-types_8h_source.html#l00080">80</a> of file <a class="el" href="nfc-types_8h_source.html">nfc-types.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3cc2631649285ff97395e20d8abd1e6f"></a><!-- doxytag: member="nfc_device_t::iLastError" ref="a3cc2631649285ff97395e20d8abd1e6f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structnfc__device__t.html#a3cc2631649285ff97395e20d8abd1e6f">nfc_device_t::iLastError</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Last error reported by the PCD / encountered by the PCD driver MSB LSB | 00 | 00 | || || || ++----- Chip-level error (as reported by the PCD) |+---------- Driver-level specific error +----------- Driver-level general error (common to all drivers) </p>

<p>Definition at line <a class="el" href="nfc-types_8h_source.html#l00089">89</a> of file <a class="el" href="nfc-types_8h_source.html">nfc-types.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac38d710f875a0ffbee062569f513dfff"></a><!-- doxytag: member="nfc_device_t::nc" ref="ac38d710f875a0ffbee062569f513dfff" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">nfc_chip_t <a class="el" href="structnfc__device__t.html#ac38d710f875a0ffbee062569f513dfff">nfc_device_t::nc</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>PN53X chip type, this is useful for some "bug" work-arounds </p>

<p>Definition at line <a class="el" href="nfc-types_8h_source.html#l00062">62</a> of file <a class="el" href="nfc-types_8h_source.html">nfc-types.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2cef5cf7a0f7590c2398bac39bef7bee"></a><!-- doxytag: member="nfc_device_t::nds" ref="a2cef5cf7a0f7590c2398bac39bef7bee" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">nfc_device_spec_t <a class="el" href="structnfc__device__t.html#a2cef5cf7a0f7590c2398bac39bef7bee">nfc_device_t::nds</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Pointer to the device connection specification </p>

<p>Definition at line <a class="el" href="nfc-types_8h_source.html#l00064">64</a> of file <a class="el" href="nfc-types_8h_source.html">nfc-types.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad0a5bc20d415e037233d637817234a64"></a><!-- doxytag: member="nfc_device_t::pdc" ref="ad0a5bc20d415e037233d637817234a64" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structdriver__callbacks.html">driver_callbacks</a>* <a class="el" href="structnfc__device__t.html#ad0a5bc20d415e037233d637817234a64">nfc_device_t::pdc</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Callback functions for handling device specific wrapping </p>

<p>Definition at line <a class="el" href="nfc-types_8h_source.html#l00058">58</a> of file <a class="el" href="nfc-types_8h_source.html">nfc-types.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6c783f64079dcaaf77d80d526878456b"></a><!-- doxytag: member="nfc_device_t::ui8Parameters" ref="a6c783f64079dcaaf77d80d526878456b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t <a class="el" href="structnfc__device__t.html#a6c783f64079dcaaf77d80d526878456b">nfc_device_t::ui8Parameters</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Register cache for SetParameters function. </p>

<p>Definition at line <a class="el" href="nfc-types_8h_source.html#l00078">78</a> of file <a class="el" href="nfc-types_8h_source.html">nfc-types.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad24b24c1dce4c9b331f5d165f33e5f3a"></a><!-- doxytag: member="nfc_device_t::ui8TxBits" ref="ad24b24c1dce4c9b331f5d165f33e5f3a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t <a class="el" href="structnfc__device__t.html#ad24b24c1dce4c9b331f5d165f33e5f3a">nfc_device_t::ui8TxBits</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Register cache for REG_CIU_BIT_FRAMING, SYMBOL_TX_LAST_BITS: The last TX bits setting, we need to reset this if it does not apply anymore </p>

<p>Definition at line <a class="el" href="nfc-types_8h_source.html#l00076">76</a> of file <a class="el" href="nfc-types_8h_source.html">nfc-types.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="nfc-types_8h_source.html">nfc-types.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Wed Feb 23 2011 for libnfc by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
</body>
</html>