ch08s03.html 3.4 KB

123456789101112131415161718192021
  1. <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>SPI Serial Driver</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><meta name="keywords" content="Intellon, Atheros, Qualcomm, HomePlug, powerline, communications, INT6000, INT6300, INT6400, AR7400, AR7420"><link rel="home" href="index.html" title="Qualcomm Atheros Open Powerline Toolkit"><link rel="up" href="ch08.html" title="Chapter 8.  Serial Drivers"><link rel="prev" href="ch08s02.html" title="Principles of Operation"><link rel="next" href="ch08s04.html" title="Register Functions"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">
  2. SPI Serial Driver
  3. </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch08s02.html">Prev</a> </td><th width="60%" align="center">Chapter 8. 
  4. Serial Drivers
  5. </th><td width="20%" align="right"> <a accesskey="n" href="ch08s04.html">Next</a></td></tr></table><hr></div><div class="section" title="SPI Serial Driver"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="qcaspi1"></a>
  6. SPI Serial Driver
  7. </h2></div></div></div><div class="section" title="qcaspi_spi_thread"><div class="titlepage"><div><div><h3 class="title"><a name="qcaspi_spi_thread"></a>
  8. qcaspi_spi_thread
  9. </h3></div></div></div><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table"><tr><td><code class="funcdef">static int <b class="fsfunc">qcaspi_spi_thread</b>(</code></td><td><var class="pdparam">data</var><code>)</code>;</td><td> </td></tr></table><div class="paramdef-list"><code>char void * <var class="pdparam">data</var></code>;</div><div class="funcprototype-spacer"> </div></div><p>
  10. Manages synchronization with the exteranl QCA7000.
  11. Handles interrupts fomr the external QCA7000.
  12. Transmits frames for the transmit queue to the QCA7000.
  13. </p></div><div class="section" title="qcaspi_qca7k_sync"><div class="titlepage"><div><div><h3 class="title"><a name="qcaspi_qca7k_sync"></a>
  14. qcaspi_qca7k_sync
  15. </h3></div></div></div><div class="funcsynopsis"><table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" class="funcprototype-table"><tr><td><code class="funcdef">void <b class="fsfunc">qca_qca7k_sync</b>(</code></td><td><var class="pdparam">qca</var>, </td><td> </td></tr><tr><td> </td><td><var class="pdparam">event</var><code>)</code>;</td><td> </td></tr></table><div class="paramdef-list"><code>char struct qcaspi * <var class="pdparam">qca</var></code>;<br><code>int <var class="pdparam">event</var></code>;</div><div class="funcprototype-spacer"> </div></div><p>
  16. Keeps track of the current synchonization state.
  17. </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch08s02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch08.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch08s04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">
  18. Principles of Operation
  19.  </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 
  20. Register Functions
  21. </td></tr></table></div></body></html>