⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pio__example1__rainbow__lights_8c.html

📁 avr32100.zip Embedded demo
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>AVR321000 Communication with the AVR32 USART: testsuite/bravo_validation/pio/pio_example1_rainbow_lights.c File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"><link href="tabs.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.5.1 --><div class="tabs">  <ul>    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>    <li id="current"><a href="files.html"><span>Files</span></a></li>    <li><a href="dirs.html"><span>Directories</span></a></li>    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>  </ul></div><div class="tabs">  <ul>    <li><a href="files.html"><span>File&nbsp;List</span></a></li>    <li><a href="globals.html"><span>Globals</span></a></li>  </ul></div><div class="nav"><a class="el" href="dir_ed041fa8052270846d9a0dab17b0d151.html">testsuite</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_18e6971fa792d4606dff45a531675719.html">bravo_validation</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_bd98a3e3b315fca58ed670dc280e13b3.html">pio</a></div><h1>pio_example1_rainbow_lights.c File Reference</h1><p><code>#include &lt;avr32/io.h&gt;</code><br><code>#include &quot;<a class="el" href="pio__defines_8h-source.html">pio_defines.h</a>&quot;</code><br><p>Include dependency graph for pio_example1_rainbow_lights.c:<p><a href="pio__example1__rainbow__lights_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Defines</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pio__example1__rainbow__lights_8c.html#c28df5fb2095879dde9f0798fea73623">black</a>&nbsp;&nbsp;&nbsp;0x00</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pio__example1__rainbow__lights_8c.html#679c8f05bd397c3b2ad08274a1e5e752">blue</a>&nbsp;&nbsp;&nbsp;0x10</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pio__example1__rainbow__lights_8c.html#ba8a0d43a5485a31890e7840ddd9fb63">CPU_HZ</a>&nbsp;&nbsp;&nbsp;27000000</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pio__example1__rainbow__lights_8c.html#7027592d032f7d20b38a1304ae3da2a2">green</a>&nbsp;&nbsp;&nbsp;0x04</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pio__example1__rainbow__lights_8c.html#428f8207615465afdfcf1d31547ffef3">left</a>&nbsp;&nbsp;&nbsp;0</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pio__example1__rainbow__lights_8c.html#77bcafe72de852e8518e641e4cb09203">light_blue</a>&nbsp;&nbsp;&nbsp;0x14</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pio__example1__rainbow__lights_8c.html#3a8611389ef5db2547e5c36b442b6418">NoCOLORS</a>&nbsp;&nbsp;&nbsp;8</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pio__example1__rainbow__lights_8c.html#e8ddaa2baea40a4338f7009dfb562920">purple</a>&nbsp;&nbsp;&nbsp;0x11</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pio__example1__rainbow__lights_8c.html#b435487e41a1d42d4379464e35f873b4">red</a>&nbsp;&nbsp;&nbsp;0x01</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pio__example1__rainbow__lights_8c.html#e545bf658b2c876abbbae55a7d12875f">right</a>&nbsp;&nbsp;&nbsp;1</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pio__example1__rainbow__lights_8c.html#85bd03e30e523319b5e069e7a8a0f81d">white</a>&nbsp;&nbsp;&nbsp;0x15</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pio__example1__rainbow__lights_8c.html#aa509be08a5019c968f558d628a2a540">yellow</a>&nbsp;&nbsp;&nbsp;0x05</td></tr><tr><td colspan="2"><br><h2>Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pio__example1__rainbow__lights_8c.html#341d33c536d663703208ab568f7d1e0e">delay</a> (void)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pio__example1__rainbow__lights_8c.html#840291bc02cba5474a4cb46a9b9566fe">main</a> (void)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pio__example1__rainbow__lights_8c.html#8e32d9c0a4be3b5e4607856d4e843040">rgb_leds</a> (struct avr32_pio_t *pio, int pos, int color)</td></tr><tr><td colspan="2"><br><h2>Variables</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="pio__example1__rainbow__lights_8c.html#c18e34da7875ffc0b3a06a552795ab0f">color_array</a> [NoCOLORS] = {black,purple,blue,light_blue,green,yellow,red,white}</td></tr></table><hr><h2>Define Documentation</h2><a class="anchor" name="c28df5fb2095879dde9f0798fea73623"></a><!-- doxytag: member="pio_example1_rainbow_lights.c::black" ref="c28df5fb2095879dde9f0798fea73623" args="" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">#define black&nbsp;&nbsp;&nbsp;0x00          </td>        </tr>      </table></div><div class="memdoc"><p><p>Definition at line <a class="el" href="pio__example1__rainbow__lights_8c-source.html#l00012">12</a> of file <a class="el" href="pio__example1__rainbow__lights_8c-source.html">pio_example1_rainbow_lights.c</a>.</div></div><p><a class="anchor" name="679c8f05bd397c3b2ad08274a1e5e752"></a><!-- doxytag: member="pio_example1_rainbow_lights.c::blue" ref="679c8f05bd397c3b2ad08274a1e5e752" args="" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">#define blue&nbsp;&nbsp;&nbsp;0x10          </td>        </tr>      </table></div><div class="memdoc"><p><p>Definition at line <a class="el" href="pio__example1__rainbow__lights_8c-source.html#l00016">16</a> of file <a class="el" href="pio__example1__rainbow__lights_8c-source.html">pio_example1_rainbow_lights.c</a>.</div></div><p><a class="anchor" name="ba8a0d43a5485a31890e7840ddd9fb63"></a><!-- doxytag: member="pio_example1_rainbow_lights.c::CPU_HZ" ref="ba8a0d43a5485a31890e7840ddd9fb63" args="" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">#define CPU_HZ&nbsp;&nbsp;&nbsp;27000000          </td>        </tr>      </table></div><div class="memdoc"><p><p>Definition at line <a class="el" href="pio__example1__rainbow__lights_8c-source.html#l00004">4</a> of file <a class="el" href="pio__example1__rainbow__lights_8c-source.html">pio_example1_rainbow_lights.c</a>.</div></div><p><a class="anchor" name="7027592d032f7d20b38a1304ae3da2a2"></a><!-- doxytag: member="pio_example1_rainbow_lights.c::green" ref="7027592d032f7d20b38a1304ae3da2a2" args="" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">#define green&nbsp;&nbsp;&nbsp;0x04          </td>        </tr>      </table></div><div class="memdoc"><p><p>Definition at line <a class="el" href="pio__example1__rainbow__lights_8c-source.html#l00014">14</a> of file <a class="el" href="pio__example1__rainbow__lights_8c-source.html">pio_example1_rainbow_lights.c</a>.</div></div><p><a class="anchor" name="428f8207615465afdfcf1d31547ffef3"></a><!-- doxytag: member="pio_example1_rainbow_lights.c::left" ref="428f8207615465afdfcf1d31547ffef3" args="" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">#define left&nbsp;&nbsp;&nbsp;0          </td>        </tr>      </table></div><div class="memdoc"><p><p>Definition at line <a class="el" href="pio__example1__rainbow__lights_8c-source.html#l00008">8</a> of file <a class="el" href="pio__example1__rainbow__lights_8c-source.html">pio_example1_rainbow_lights.c</a>.<p>Referenced by <a class="el" href="pio__example1__rainbow__lights_8c-source.html#l00034">main()</a>.</div></div><p><a class="anchor" name="77bcafe72de852e8518e641e4cb09203"></a><!-- doxytag: member="pio_example1_rainbow_lights.c::light_blue" ref="77bcafe72de852e8518e641e4cb09203" args="" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">#define light_blue&nbsp;&nbsp;&nbsp;0x14          </td>        </tr>      </table></div><div class="memdoc"><p><p>Definition at line <a class="el" href="pio__example1__rainbow__lights_8c-source.html#l00018">18</a> of file <a class="el" href="pio__example1__rainbow__lights_8c-source.html">pio_example1_rainbow_lights.c</a>.</div></div><p><a class="anchor" name="3a8611389ef5db2547e5c36b442b6418"></a><!-- doxytag: member="pio_example1_rainbow_lights.c::NoCOLORS" ref="3a8611389ef5db2547e5c36b442b6418" args="" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">#define NoCOLORS&nbsp;&nbsp;&nbsp;8          </td>        </tr>      </table></div><div class="memdoc"><p><p>Definition at line <a class="el" href="pio__example1__rainbow__lights_8c-source.html#l00005">5</a> of file <a class="el" href="pio__example1__rainbow__lights_8c-source.html">pio_example1_rainbow_lights.c</a>.<p>Referenced by <a class="el" href="pio__example1__rainbow__lights_8c-source.html#l00034">main()</a>, and <a class="el" href="pio__example1__rainbow__lights_8c-source.html#l00072">rgb_leds()</a>.</div></div><p><a class="anchor" name="e8ddaa2baea40a4338f7009dfb562920"></a><!-- doxytag: member="pio_example1_rainbow_lights.c::purple" ref="e8ddaa2baea40a4338f7009dfb562920" args="" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">#define purple&nbsp;&nbsp;&nbsp;0x11          </td>        </tr>      </table></div><div class="memdoc"><p><p>Definition at line <a class="el" href="pio__example1__rainbow__lights_8c-source.html#l00017">17</a> of file <a class="el" href="pio__example1__rainbow__lights_8c-source.html">pio_example1_rainbow_lights.c</a>.</div></div><p><a class="anchor" name="b435487e41a1d42d4379464e35f873b4"></a><!-- doxytag: member="pio_example1_rainbow_lights.c::red" ref="b435487e41a1d42d4379464e35f873b4" args="" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">#define red&nbsp;&nbsp;&nbsp;0x01          </td>        </tr>      </table></div><div class="memdoc"><p><p>Definition at line <a class="el" href="pio__example1__rainbow__lights_8c-source.html#l00013">13</a> of file <a class="el" href="pio__example1__rainbow__lights_8c-source.html">pio_example1_rainbow_lights.c</a>.</div></div><p><a class="anchor" name="e545bf658b2c876abbbae55a7d12875f"></a><!-- doxytag: member="pio_example1_rainbow_lights.c::right" ref="e545bf658b2c876abbbae55a7d12875f" args="" -->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -