📄 config_8h.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>config.h File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="main.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindex" href="examples.html">Examples</a> </center><hr><h1>/opentcp/include/inet/arch/config.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2> <dl compact><dt><b>Author: </b></dt><dd> <ul><li> Vladan Jovanovic (<a href="mailto:vladan.jovanovic@violasystems.com">vladan.jovanovic@violasystems.com</a>) </ul></dl><dl compact><dt><b>Version: </b></dt><dd>1.0 </dl><dl compact><dt><b>Date: </b></dt><dd>20.9.2002</dl>Various MCU and hardware-dependant configuration stuff is located here.<p><p>Definition in file <a class="el" href="config_8h-source.html">config.h</a>.<p><a href="config_8h-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 nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="config_8h.html#a0">MB90F553A</a></td></tr><tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="config_8h.html#a1">DDR_OUT</a> 0xFF</td></tr><tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="config_8h.html#a2">DDR_IN</a> 0x00</td></tr><tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="config_8h.html#a3">DATABUS</a> PDR1</td></tr><tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="config_8h.html#a4">DATADIR</a> DDR1</td></tr><tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="config_8h.html#a5">ADRBUS</a> PDR2</td></tr><tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="config_8h.html#a6">IOW</a> PDR2_P26</td></tr><tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="config_8h.html#a7">IOR</a> PDR2_P25</td></tr><tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="config_8h.html#a8">IOCHRDY</a> PDR0_P05</td></tr><tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="config_8h.html#a9">RESETPIN_NE2000</a> PDR2_P27</td></tr></table><hr><h2>Define Documentation</h2><a name="a0" doxytag="config.h::MB90F553A"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define MB90F553A </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Define this for Fujitsu's MB90F553A MCU <p>Definition at line <a class="el" href="config_8h-source.html#l00067">67</a> of file <a class="el" href="config_8h-source.html">config.h</a>. </td> </tr></table><a name="a1" doxytag="config.h::DDR_OUT"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define DDR_OUT 0xFF </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Value for data direction register so that pins are configured as outputs <p>Definition at line <a class="el" href="config_8h-source.html#l00082">82</a> of file <a class="el" href="config_8h-source.html">config.h</a>.<p>Referenced by <a class="el" href="ethernet_8c-source.html#l00570">InitTransmission()</a>, and <a class="el" href="ethernet_8c-source.html#l00118">outNE2000()</a>. </td> </tr></table><a name="a2" doxytag="config.h::DDR_IN"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define DDR_IN 0x00 </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Value for data direction register so that pins are configured as inputs <p>Definition at line <a class="el" href="config_8h-source.html#l00085">85</a> of file <a class="el" href="config_8h-source.html">config.h</a>.<p>Referenced by <a class="el" href="ethernet_8c-source.html#l00198">inNE2000()</a>, and <a class="el" href="ethernet_8c-source.html#l00665">NE2000DMAInit_position()</a>. </td> </tr></table><a name="a3" doxytag="config.h::DATABUS"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define DATABUS PDR1 </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Port used as databus towards the Ethernet controller <p>Definition at line <a class="el" href="config_8h-source.html#l00091">91</a> of file <a class="el" href="config_8h-source.html">config.h</a>.<p>Referenced by <a class="el" href="ethernet_8c-source.html#l00198">inNE2000()</a>, <a class="el" href="ethernet_8c-source.html#l00226">inNE2000again()</a>, <a class="el" href="ethernet_8c-source.html#l00252">inNE2000againbuf()</a>, <a class="el" href="ethernet_8c-source.html#l00118">outNE2000()</a>, <a class="el" href="ethernet_8c-source.html#l00148">outNE2000again()</a>, and <a class="el" href="ethernet_8c-source.html#l00175">outNE2000againbuf()</a>. </td> </tr></table><a name="a4" doxytag="config.h::DATADIR"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define DATADIR DDR1 </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Data direction register for the data bus <p>Definition at line <a class="el" href="config_8h-source.html#l00094">94</a> of file <a class="el" href="config_8h-source.html">config.h</a>.<p>Referenced by <a class="el" href="ethernet_8c-source.html#l00570">InitTransmission()</a>, <a class="el" href="ethernet_8c-source.html#l00198">inNE2000()</a>, <a class="el" href="ethernet_8c-source.html#l00665">NE2000DMAInit_position()</a>, and <a class="el" href="ethernet_8c-source.html#l00118">outNE2000()</a>. </td> </tr></table><a name="a5" doxytag="config.h::ADRBUS"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define ADRBUS PDR2 </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Port used as address bus towards the Ethernet controller <p>Definition at line <a class="el" href="config_8h-source.html#l00097">97</a> of file <a class="el" href="config_8h-source.html">config.h</a>.<p>Referenced by <a class="el" href="ethernet_8c-source.html#l00570">InitTransmission()</a>, <a class="el" href="ethernet_8c-source.html#l00198">inNE2000()</a>, <a class="el" href="ethernet_8c-source.html#l00665">NE2000DMAInit_position()</a>, and <a class="el" href="ethernet_8c-source.html#l00118">outNE2000()</a>. </td> </tr></table><a name="a6" doxytag="config.h::IOW"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define IOW PDR2_P26 </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Write pin <p>Definition at line <a class="el" href="config_8h-source.html#l00100">100</a> of file <a class="el" href="config_8h-source.html">config.h</a>.<p>Referenced by <a class="el" href="ethernet_8c-source.html#l00118">outNE2000()</a>, <a class="el" href="ethernet_8c-source.html#l00148">outNE2000again()</a>, and <a class="el" href="ethernet_8c-source.html#l00175">outNE2000againbuf()</a>. </td> </tr></table><a name="a7" doxytag="config.h::IOR"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define IOR PDR2_P25 </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Read pin <p>Definition at line <a class="el" href="config_8h-source.html#l00101">101</a> of file <a class="el" href="config_8h-source.html">config.h</a>.<p>Referenced by <a class="el" href="ethernet_8c-source.html#l00198">inNE2000()</a>, <a class="el" href="ethernet_8c-source.html#l00226">inNE2000again()</a>, and <a class="el" href="ethernet_8c-source.html#l00252">inNE2000againbuf()</a>. </td> </tr></table><a name="a8" doxytag="config.h::IOCHRDY"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define IOCHRDY PDR0_P05 </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>IOCHRDY pin <p>Definition at line <a class="el" href="config_8h-source.html#l00102">102</a> of file <a class="el" href="config_8h-source.html">config.h</a>.<p>Referenced by <a class="el" href="ethernet_8c-source.html#l00198">inNE2000()</a>, <a class="el" href="ethernet_8c-source.html#l00226">inNE2000again()</a>, <a class="el" href="ethernet_8c-source.html#l00252">inNE2000againbuf()</a>, <a class="el" href="ethernet_8c-source.html#l00118">outNE2000()</a>, <a class="el" href="ethernet_8c-source.html#l00148">outNE2000again()</a>, and <a class="el" href="ethernet_8c-source.html#l00175">outNE2000againbuf()</a>. </td> </tr></table><a name="a9" doxytag="config.h::RESETPIN_NE2000"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define RESETPIN_NE2000 PDR2_P27 </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Reset pin <p>Definition at line <a class="el" href="config_8h-source.html#l00104">104</a> of file <a class="el" href="config_8h-source.html">config.h</a>.<p>Referenced by <a class="el" href="ethernet_8c-source.html#l00327">NE2000Init()</a>. </td> </tr></table><hr><address style="align: right;"><small>Generated on Sun Aug 3 20:33:00 2003 for OpenTCP by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -