<!DOCTYPE html> <html lang="en"> <head> <title>Asuro: serial</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 serial</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"><a class="section" href="#PasDoc-Constants">Constants</a></div><div class="one_section">Variables</div></div> <span id="PasDoc-Description"></span><h2 class="description">Description</h2> <p> Driver->Interface-><code>Serial</code> - <code>Serial</code> Driver. <p></p> <span id="PasDoc-Uses"></span><h2 class="uses">Uses</h2> <ul class="useslist"><li><a href="util.html">util</a></li><li><a href="isrmanager.html">isrmanager</a></li><li><a href="strings.html">strings</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="serial.html#init">init</a></b>();</code></td> </tr> <tr class="list2"> <td class="itemcode"><code>function <b><a href="serial.html#receive">receive</a></b>(PORT : <a href="system.html#uInt16">uint16</a>; timeout : <a href="system.html#uInt32">uint32</a>) : <a href="system.html#uInt8">uint8</a>;</code></td> </tr> <tr class="list"> <td class="itemcode"><code>function <b><a href="serial.html#send">send</a></b>(PORT : <a href="system.html#uInt16">uint16</a>; data : <a href="system.html#uInt8">uint8</a>; timeout : <a href="system.html#uInt32">uint32</a>) : boolean;</code></td> </tr> <tr class="list2"> <td class="itemcode"><code>function <b><a href="serial.html#sendString">sendString</a></b>(str : <a href="system.html#pchar">pchar</a>) : boolean;</code></td> </tr> </table> <span id="PasDoc-Constants"></span><h3 class="summary">Constants</h3> <table class="summary wide_list"> <tr class="list"> <td class="itemcode"><code><b><a href="serial.html#COM1">COM1</a></b> = $3F8;</code></td> </tr> <tr class="list2"> <td class="itemcode"><code><b><a href="serial.html#COM2">COM2</a></b> = $2F8;</code></td> </tr> <tr class="list"> <td class="itemcode"><code><b><a href="serial.html#COM3">COM3</a></b> = $3E8;</code></td> </tr> <tr class="list2"> <td class="itemcode"><code><b><a href="serial.html#COM4">COM4</a></b> = $2E8;</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="receive"></span><code>function <b>receive</b>(PORT : <a href="system.html#uInt16">uint16</a>; timeout : <a href="system.html#uInt32">uint32</a>) : <a href="system.html#uInt8">uint8</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>function <b>send</b>(PORT : <a href="system.html#uInt16">uint16</a>; data : <a href="system.html#uInt8">uint8</a>; timeout : <a href="system.html#uInt32">uint32</a>) : boolean;</code></td> </tr> <tr><td colspan="1"> </td></tr> </table> <table class="detail wide_list"> <tr class="list"> <td class="itemcode"><span id="sendString"></span><code>function <b>sendString</b>(str : <a href="system.html#pchar">pchar</a>) : boolean;</code></td> </tr> <tr><td colspan="1"> </td></tr> </table> <h3 class="detail">Constants</h3> <table class="detail wide_list"> <tr class="list"> <td class="itemcode"><span id="COM1"></span><code><b>COM1</b> = $3F8;</code></td> </tr> <tr><td colspan="1"> </td></tr> </table> <table class="detail wide_list"> <tr class="list"> <td class="itemcode"><span id="COM2"></span><code><b>COM2</b> = $2F8;</code></td> </tr> <tr><td colspan="1"> </td></tr> </table> <table class="detail wide_list"> <tr class="list"> <td class="itemcode"><span id="COM3"></span><code><b>COM3</b> = $3E8;</code></td> </tr> <tr><td colspan="1"> </td></tr> </table> <table class="detail wide_list"> <tr class="list"> <td class="itemcode"><span id="COM4"></span><code><b>COM4</b> = $2E8;</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>