<!DOCTYPE html> <html lang="en"> <head> <title>Asuro: net</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="generator" content="PasDoc 0.15.0"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="tipuesearch/tipuesearch.css"> <link rel="StyleSheet" type="text/css" href="pasdoc.css"> </head> <body> <table class="container"><tr><td class="navigation"> <h2>Asuro</h2><p><a href="AllUnits.html" class="navigation">Units</a></p><p><a href="ClassHierarchy.html" class="navigation">Class Hierarchy</a></p><p><a href="AllClasses.html" class="navigation">Classes, Interfaces, Objects and Records</a></p><p><a href="AllTypes.html" class="navigation">Types</a></p><p><a href="AllVariables.html" class="navigation">Variables</a></p><p><a href="AllConstants.html" class="navigation">Constants</a></p><p><a href="AllFunctions.html" class="navigation">Functions and Procedures</a></p><p><a href="AllIdentifiers.html" class="navigation">Identifiers</a></p><p><a href="GVUses.png" class="navigation">Unit dependency graph</a></p><form class="search-form" action="_tipue_results.html"><div class="search-input"><input type="text" name="q" id="tipue_search_input"></div><div class="search-button"><input type="button" id="tipue_search_button" onclick="this.form.submit();"></div></form> <div style="clear: both"></div> <script type="text/javascript"> $(document).ready(function() { $('#tipue_search_input').tipuesearch({ /* 10 items to display seems standard */ 'show': 10, /* For PasDoc docs, showing urls is not very useful, since the page title already shows the unit and identifier. */ 'showURL': false }); }); </script> </td><td class="content"> <h1 class="unit">Unit net</h1> <div class="sections"> <div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Uses">Uses</a></div><div class="one_section">Classes, Interfaces, Objects and Records</div><div class="one_section"><a class="section" href="#PasDoc-FuncsProcs">Functions and Procedures</a></div><div class="one_section">Types</div><div class="one_section">Constants</div><div class="one_section">Variables</div></div> <span id="PasDoc-Description"></span><h2 class="description">Description</h2> <p> Driver-><code>Net</code>->L1-><code>Net</code> - Network Card<->Driver Interface. <p></p> <span id="PasDoc-Uses"></span><h2 class="uses">Uses</h2> <ul class="useslist"><li><a href="tracer.html">tracer</a></li><li><a href="console.html">console</a></li><li><a href="nettypes.html">nettypes</a></li><li><a href="netutils.html">netutils</a></li><li><a href="netlog.html">netlog</a></li><li><a href="RTC.html">RTC</a></li></ul><h2 class="overview">Overview</h2> <span id="PasDoc-FuncsProcs"></span><h3 class="summary">Functions and Procedures</h3> <table class="summary wide_list"> <tr class="list"> <td class="itemcode"><code>procedure <b><a href="net.html#init">init</a></b>;</code></td> </tr> <tr class="list2"> <td class="itemcode"><code>procedure <b><a href="net.html#registerNetworkCard">registerNetworkCard</a></b>(SendCallback : <a href="nettypes.html#TNetSendCallback">TNetSendCallback</a>; _MAC : <a href="system.html#PuInt8">puint8</a>);</code></td> </tr> <tr class="list"> <td class="itemcode"><code>procedure <b><a href="net.html#registerNextLayer">registerNextLayer</a></b>(RecvCallback : <a href="nettypes.html#TRecvCallback">TRecvCallback</a>);</code></td> </tr> <tr class="list2"> <td class="itemcode"><code>procedure <b><a href="net.html#send">send</a></b>(p_data : <a href="system.html#Void">void</a>; p_len : <a href="system.html#uInt16">uint16</a>);</code></td> </tr> <tr class="list"> <td class="itemcode"><code>procedure <b><a href="net.html#recv">recv</a></b>(p_data : <a href="system.html#Void">void</a>; p_len : <a href="system.html#uInt16">uint16</a>);</code></td> </tr> <tr class="list2"> <td class="itemcode"><code>function <b><a href="net.html#getMAC">getMAC</a></b> : <a href="system.html#PuInt8">puint8</a>;</code></td> </tr> <tr class="list"> <td class="itemcode"><code>procedure <b><a href="net.html#writeToLog">writeToLog</a></b>(str : <a href="system.html#pchar">pchar</a>);</code></td> </tr> <tr class="list2"> <td class="itemcode"><code>procedure <b><a href="net.html#writeToLogLn">writeToLogLn</a></b>(str : <a href="system.html#pchar">pchar</a>);</code></td> </tr> </table> <h2 class="description">Description</h2> <h3 class="detail">Functions and Procedures</h3> <table class="detail wide_list"> <tr class="list"> <td class="itemcode"><span id="init"></span><code>procedure <b>init</b>;</code></td> </tr> <tr><td colspan="1"> </td></tr> </table> <table class="detail wide_list"> <tr class="list"> <td class="itemcode"><span id="registerNetworkCard"></span><code>procedure <b>registerNetworkCard</b>(SendCallback : <a href="nettypes.html#TNetSendCallback">TNetSendCallback</a>; _MAC : <a href="system.html#PuInt8">puint8</a>);</code></td> </tr> <tr><td colspan="1"> </td></tr> </table> <table class="detail wide_list"> <tr class="list"> <td class="itemcode"><span id="registerNextLayer"></span><code>procedure <b>registerNextLayer</b>(RecvCallback : <a href="nettypes.html#TRecvCallback">TRecvCallback</a>);</code></td> </tr> <tr><td colspan="1"> </td></tr> </table> <table class="detail wide_list"> <tr class="list"> <td class="itemcode"><span id="send"></span><code>procedure <b>send</b>(p_data : <a href="system.html#Void">void</a>; p_len : <a href="system.html#uInt16">uint16</a>);</code></td> </tr> <tr><td colspan="1"> </td></tr> </table> <table class="detail wide_list"> <tr class="list"> <td class="itemcode"><span id="recv"></span><code>procedure <b>recv</b>(p_data : <a href="system.html#Void">void</a>; p_len : <a href="system.html#uInt16">uint16</a>);</code></td> </tr> <tr><td colspan="1"> </td></tr> </table> <table class="detail wide_list"> <tr class="list"> <td class="itemcode"><span id="getMAC"></span><code>function <b>getMAC</b> : <a href="system.html#PuInt8">puint8</a>;</code></td> </tr> <tr><td colspan="1"> </td></tr> </table> <table class="detail wide_list"> <tr class="list"> <td class="itemcode"><span id="writeToLog"></span><code>procedure <b>writeToLog</b>(str : <a href="system.html#pchar">pchar</a>);</code></td> </tr> <tr><td colspan="1"> </td></tr> </table> <table class="detail wide_list"> <tr class="list"> <td class="itemcode"><span id="writeToLogLn"></span><code>procedure <b>writeToLogLn</b>(str : <a href="system.html#pchar">pchar</a>);</code></td> </tr> <tr><td colspan="1"> </td></tr> </table> <h2 class="authors">Author</h2> <ul class="authors"> <li>Kieron Morris <<a href="mailto:kjm@kieronmorris.me">kjm@kieronmorris.me</a>></li> </ul> <hr><span class="appinfo"><em>Generated by <a href="https://github.com/pasdoc/pasdoc/wiki">PasDoc 0.15.0</a>. </em> </span> </td></tr></table></body></html>