1234567891011121314151617181920212223 |
- <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Interrupt Functions</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="ch08s04.html" title="Register Functions"><link rel="next" href="ch08s06.html" title="Transmit 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">
- Interrupt Functions
- </th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch08s04.html">Prev</a> </td><th width="60%" align="center">Chapter 8.
- Serial Drivers
- </th><td width="20%" align="right"> <a accesskey="n" href="ch08s06.html">Next</a></td></tr></table><hr></div><div class="section" title="Interrupt Functions"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="qcaspi3"></a>
- Interrupt Functions
- </h2></div></div></div><div class="section" title="disable_spi_interrupts"><div class="titlepage"><div><div><h3 class="title"><a name="disable_spi_interrupts"></a>
- disable_spi_interrupts
- </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">uint32_t <b class="fsfunc">disable_spi_interrupts</b>(</code></td><td><var class="pdparam">qca</var><code>)</code>;</td><td> </td></tr></table><div class="paramdef-list"><code>struct qcaspi * <var class="pdparam">qca</var></code>;</div><div class="funcprototype-spacer"> </div></div><p>
- Disables interrupts by writing <code class="constant">0</code> to the QCA7000 <code class="varname">INTR_ENABLE</code> register.
- </p></div><div class="section" title="enable_spi_interrupts"><div class="titlepage"><div><div><h3 class="title"><a name="enable_spi_interrupts"></a>
- enable_spi_interrupts
- </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">uint32_t <b class="fsfunc">enable_spi_interrupts</b>(</code></td><td><var class="pdparam">qca</var>, </td><td> </td></tr><tr><td> </td><td><var class="pdparam">intr_enable</var><code>)</code>;</td><td> </td></tr></table><div class="paramdef-list"><code>struct qcaspi * <var class="pdparam">qca</var></code>;<br><code>uint32_t <var class="pdparam">intr_enable</var></code>;</div><div class="funcprototype-spacer"> </div></div><p>
- Enables interrupts specified by writing to the QCA7000 <code class="varname">INTR_ENABLE</code> register and returns the previous register value.
- </p></div><div class="section" title="qcaspi_intr_handler"><div class="titlepage"><div><div><h3 class="title"><a name="qcaspi_intr_handler"></a>
- qcaspi_intr_handler
- </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 irqreturn_t <b class="fsfunc">qcaspi_intr_handler</b>(</code></td><td><var class="pdparam">irq</var>, </td><td> </td></tr><tr><td> </td><td><var class="pdparam">data</var><code>)</code>;</td><td> </td></tr></table><div class="paramdef-list"><code>int <var class="pdparam">irq</var></code>;<br><code>void * <var class="pdparam">data</var></code>;</div><div class="funcprototype-spacer"> </div></div><p>
- Called to service interrupts on rising edge of the QCA7000 interrupt line.
- </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch08s04.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="ch08s06.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">
- Register Functions
- </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">
- Transmit Functions
- </td></tr></table></div></body></html>
|