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

📄 structusart__options__t.html.svn-base

📁 avr32100.zip Embedded demo
💻 SVN-BASE
字号:
<!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>AVR32100 Communication with the AVR32 USART: usart_options_t Struct Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.4 --><div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div><h1>usart_options_t Struct Reference</h1><!-- doxytag: class="usart_options_t" --><code>#include &lt;<a class="el" href="usart_8h-source.html">usart.h</a>&gt;</code><p><hr><a name="_details"></a><h2>Detailed Description</h2>Input parameters when initializing rs232 mode, and some similar modes.<p><p>Definition at line <a class="el" href="usart_8h-source.html#l00045">45</a> of file <a class="el" href="usart_8h-source.html">usart.h</a>.<table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Data Fields</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structusart__options__t.html#o0">baudrate</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structusart__options__t.html#o1">channelmode</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structusart__options__t.html#o2">charlength</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned char&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structusart__options__t.html#o3">paritytype</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned short&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structusart__options__t.html#o4">stopbits</a></td></tr></table><hr><h2>Field Documentation</h2><a class="anchor" name="o0"></a><!-- doxytag: member="usart_options_t::baudrate" ref="o0" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">unsigned long <a class="el" href="structusart__options__t.html#o0">usart_options_t::baudrate</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set baudrate of the usart<p>Definition at line <a class="el" href="usart_8h-source.html#l00050">50</a> of file <a class="el" href="usart_8h-source.html">usart.h</a>.<p>Referenced by <a class="el" href="usart__example_8c-source.html#l00068">main()</a>, and <a class="el" href="usart_8c-source.html#l00131">usart_init_rs232()</a>.    </td>  </tr></table><a class="anchor" name="o1"></a><!-- doxytag: member="usart_options_t::channelmode" ref="o1" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">unsigned char <a class="el" href="structusart__options__t.html#o1">usart_options_t::channelmode</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Run the channel in testmode: 0=normal tx/rx, 1=auto echo(tx-&gt;rx), 2=local loopback(tx-&gt;rx), 3=remote loopback(rx-&gt;tx)<p>Definition at line <a class="el" href="usart_8h-source.html#l00077">77</a> of file <a class="el" href="usart_8h-source.html">usart.h</a>.<p>Referenced by <a class="el" href="usart__example_8c-source.html#l00068">main()</a>, and <a class="el" href="usart_8c-source.html#l00131">usart_init_rs232()</a>.    </td>  </tr></table><a class="anchor" name="o2"></a><!-- doxytag: member="usart_options_t::charlength" ref="o2" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">unsigned char <a class="el" href="structusart__options__t.html#o2">usart_options_t::charlength</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Number of bits to transmit as a character (5-9)<p>Definition at line <a class="el" href="usart_8h-source.html#l00055">55</a> of file <a class="el" href="usart_8h-source.html">usart.h</a>.<p>Referenced by <a class="el" href="usart__example_8c-source.html#l00068">main()</a>, and <a class="el" href="usart_8c-source.html#l00131">usart_init_rs232()</a>.    </td>  </tr></table><a class="anchor" name="o3"></a><!-- doxytag: member="usart_options_t::paritytype" ref="o3" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">unsigned char <a class="el" href="structusart__options__t.html#o3">usart_options_t::paritytype</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>How to calculate the parity bit: 0=even parity, 1=odd parity, 2=space, 3=mark, 4|5=no parity bit, 6|7=multidrop mode<p>Definition at line <a class="el" href="usart_8h-source.html#l00062">62</a> of file <a class="el" href="usart_8h-source.html">usart.h</a>.<p>Referenced by <a class="el" href="usart__example_8c-source.html#l00068">main()</a>, and <a class="el" href="usart_8c-source.html#l00131">usart_init_rs232()</a>.    </td>  </tr></table><a class="anchor" name="o4"></a><!-- doxytag: member="usart_options_t::stopbits" ref="o4" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">unsigned short <a class="el" href="structusart__options__t.html#o4">usart_options_t::stopbits</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Number of stop bits between to characters: 0=1bit, 1=1.5bit(async mode only), 2=2bits, the numbers 3 to 257 will result in a time guard period of that length between characters.<p>Definition at line <a class="el" href="usart_8h-source.html#l00070">70</a> of file <a class="el" href="usart_8h-source.html">usart.h</a>.<p>Referenced by <a class="el" href="usart__example_8c-source.html#l00068">main()</a>, and <a class="el" href="usart_8c-source.html#l00131">usart_init_rs232()</a>.    </td>  </tr></table><hr size="1"><address style="align: right;"><small>Generated on Tue May 2 15:00:51 2006 for AVR32100 Communication with the AVR32 USART by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address></body></html>

⌨️ 快捷键说明

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