231 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			231 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <html lang="en">
 | |
| <head>
 | |
| <title>Asuro: drivermanagement</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 drivermanagement</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"><a class="section" href="#PasDoc-Classes">Classes, Interfaces, Objects and Records</a></div><div class="one_section"><a class="section" href="#PasDoc-FuncsProcs">Functions and Procedures</a></div><div class="one_section"><a class="section" href="#PasDoc-Types">Types</a></div><div class="one_section"><a class="section" href="#PasDoc-Constants">Constants</a></div><div class="one_section"><a class="section" href="#PasDoc-Variables">Variables</a></div></div>
 | |
| <span id="PasDoc-Description"></span><h2 class="description">Description</h2>
 | |
| <p>
 | |
| <code>DriverManagement</code> - Driver Initialization & Management Interface.
 | |
| 
 | |
| <p></p>
 | |
| <span id="PasDoc-Uses"></span><h2 class="uses">Uses</h2>
 | |
| <ul class="useslist"><li><a  href="console.html">console</a></li><li><a  href="util.html">util</a></li><li><a  href="strings.html">strings</a></li><li><a  href="lmemorymanager.html">lmemorymanager</a></li><li><a  href="terminal.html">terminal</a></li><li><a  href="tracer.html">tracer</a></li></ul><h2 class="overview">Overview</h2>
 | |
| <span id="PasDoc-Classes"></span><h3 class="cio">Classes, Interfaces, Objects and Records</h3>
 | |
| <table class="classestable wide_list">
 | |
| <tr class="listheader">
 | |
| <th class="itemname">Name</th>
 | |
| <th class="itemdesc">Description</th>
 | |
| </tr>
 | |
| <tr class="list">
 | |
| <td class="itemname">Record <a class="bold" href="drivermanagement.TDevEx.html"><code>TDevEx</code></a></td>
 | |
| <td class="itemdesc"> </td>
 | |
| </tr>
 | |
| <tr class="list2">
 | |
| <td class="itemname">Record <a class="bold" href="drivermanagement.TDeviceIdentifier.html"><code>TDeviceIdentifier</code></a></td>
 | |
| <td class="itemdesc"> </td>
 | |
| </tr>
 | |
| <tr class="list">
 | |
| <td class="itemname">Record <a class="bold" href="drivermanagement.TDriverRegistration.html"><code>TDriverRegistration</code></a></td>
 | |
| <td class="itemdesc"> </td>
 | |
| </tr>
 | |
| <tr class="list2">
 | |
| <td class="itemname">Record <a class="bold" href="drivermanagement.TDeviceRegistration.html"><code>TDeviceRegistration</code></a></td>
 | |
| <td class="itemdesc"> </td>
 | |
| </tr>
 | |
| </table>
 | |
| <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="drivermanagement.html#init">init</a></b>;</code></td>
 | |
| </tr>
 | |
| <tr class="list2">
 | |
| <td class="itemcode"><code>procedure <b><a  href="drivermanagement.html#register_driver">register_driver</a></b>(Driver_Name : <a  href="system.html#pchar">PChar</a>; DeviceID : <a  href="drivermanagement.html#PDeviceIdentifier">PDeviceIdentifier</a>; Load_Callback : <a  href="drivermanagement.html#TDriverLoadCallback">TDriverLoadCallback</a>);</code></td>
 | |
| </tr>
 | |
| <tr class="list">
 | |
| <td class="itemcode"><code>procedure <b><a  href="drivermanagement.html#register_driver_ex">register_driver_ex</a></b>(Driver_Name : <a  href="system.html#pchar">PChar</a>; DeviceID : <a  href="drivermanagement.html#PDeviceIdentifier">PDeviceIdentifier</a>; Load_Callback : <a  href="drivermanagement.html#TDriverLoadCallback">TDriverLoadCallback</a>; force_load : boolean);</code></td>
 | |
| </tr>
 | |
| <tr class="list2">
 | |
| <td class="itemcode"><code>procedure <b><a  href="drivermanagement.html#register_device">register_device</a></b>(Device_Name : <a  href="system.html#pchar">PChar</a>; DeviceID : <a  href="drivermanagement.html#PDeviceIdentifier">PDeviceIdentifier</a>; ptr : <a  href="system.html#Void">void</a>);</code></td>
 | |
| </tr>
 | |
| </table>
 | |
| <span id="PasDoc-Types"></span><h3 class="summary">Types</h3>
 | |
| <table class="summary wide_list">
 | |
| <tr class="list">
 | |
| <td class="itemcode"><code><b><a  href="drivermanagement.html#PDevEx">PDevEx</a></b> = ˆ<a  href="drivermanagement.TDevEx.html">TDevEx</a>;</code></td>
 | |
| </tr>
 | |
| <tr class="list2">
 | |
| <td class="itemcode"><code><b><a  href="drivermanagement.html#TBusIdentifier">TBusIdentifier</a></b> = (...);</code></td>
 | |
| </tr>
 | |
| <tr class="list">
 | |
| <td class="itemcode"><code><b><a  href="drivermanagement.html#PDeviceIdentifier">PDeviceIdentifier</a></b> = ˆ<a  href="drivermanagement.TDeviceIdentifier.html">TDeviceIdentifier</a>;</code></td>
 | |
| </tr>
 | |
| <tr class="list2">
 | |
| <td class="itemcode"><code><b><a  href="drivermanagement.html#TDriverLoadCallback">TDriverLoadCallback</a></b> = function(ptr : <a  href="system.html#Void">void</a>) : boolean;</code></td>
 | |
| </tr>
 | |
| <tr class="list">
 | |
| <td class="itemcode"><code><b><a  href="drivermanagement.html#PDriverRegistration">PDriverRegistration</a></b> = ˆ<a  href="drivermanagement.TDriverRegistration.html">TDriverRegistration</a>;</code></td>
 | |
| </tr>
 | |
| <tr class="list2">
 | |
| <td class="itemcode"><code><b><a  href="drivermanagement.html#PDeviceRegistration">PDeviceRegistration</a></b> = ˆ<a  href="drivermanagement.TDeviceRegistration.html">TDeviceRegistration</a>;</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="drivermanagement.html#idANY">idANY</a></b> = $FFFFFFFF;</code></td>
 | |
| </tr>
 | |
| </table>
 | |
| <span id="PasDoc-Variables"></span><h3 class="summary">Variables</h3>
 | |
| <table class="summary wide_list">
 | |
| <tr class="list">
 | |
| <td class="itemcode"><code><b><a  href="drivermanagement.html#Root">Root</a></b>: <a  href="drivermanagement.html#PDriverRegistration">PDriverRegistration</a> = nil;</code></td>
 | |
| </tr>
 | |
| <tr class="list2">
 | |
| <td class="itemcode"><code><b><a  href="drivermanagement.html#Dev">Dev</a></b>: <a  href="drivermanagement.html#PDeviceRegistration">PDeviceRegistration</a> = nil;</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="register_driver"></span><code>procedure <b>register_driver</b>(Driver_Name : <a  href="system.html#pchar">PChar</a>; DeviceID : <a  href="drivermanagement.html#PDeviceIdentifier">PDeviceIdentifier</a>; Load_Callback : <a  href="drivermanagement.html#TDriverLoadCallback">TDriverLoadCallback</a>);</code></td>
 | |
| </tr>
 | |
| <tr><td colspan="1">
 | |
|  </td></tr>
 | |
| </table>
 | |
| <table class="detail wide_list">
 | |
| <tr class="list">
 | |
| <td class="itemcode"><span id="register_driver_ex"></span><code>procedure <b>register_driver_ex</b>(Driver_Name : <a  href="system.html#pchar">PChar</a>; DeviceID : <a  href="drivermanagement.html#PDeviceIdentifier">PDeviceIdentifier</a>; Load_Callback : <a  href="drivermanagement.html#TDriverLoadCallback">TDriverLoadCallback</a>; force_load : boolean);</code></td>
 | |
| </tr>
 | |
| <tr><td colspan="1">
 | |
|  </td></tr>
 | |
| </table>
 | |
| <table class="detail wide_list">
 | |
| <tr class="list">
 | |
| <td class="itemcode"><span id="register_device"></span><code>procedure <b>register_device</b>(Device_Name : <a  href="system.html#pchar">PChar</a>; DeviceID : <a  href="drivermanagement.html#PDeviceIdentifier">PDeviceIdentifier</a>; ptr : <a  href="system.html#Void">void</a>);</code></td>
 | |
| </tr>
 | |
| <tr><td colspan="1">
 | |
|  </td></tr>
 | |
| </table>
 | |
| <h3 class="detail">Types</h3>
 | |
| <table class="detail wide_list">
 | |
| <tr class="list">
 | |
| <td class="itemcode"><span id="PDevEx"></span><code><b>PDevEx</b> = ˆ<a  href="drivermanagement.TDevEx.html">TDevEx</a>;</code></td>
 | |
| </tr>
 | |
| <tr><td colspan="1">
 | |
|  </td></tr>
 | |
| </table>
 | |
| <table class="detail wide_list">
 | |
| <tr class="list">
 | |
| <td class="itemcode"><span id="TBusIdentifier"></span><code><b>TBusIdentifier</b> = (...);</code></td>
 | |
| </tr>
 | |
| <tr><td colspan="1">
 | |
|  <h6 class="description_section">Values</h6>
 | |
| <ul>
 | |
| <li>
 | |
| <span id="biUnknown">biUnknown</span></li>
 | |
| <li>
 | |
| <span id="biPCI">biPCI</span></li>
 | |
| <li>
 | |
| <span id="biUSB">biUSB</span></li>
 | |
| <li>
 | |
| <span id="bii2c">bii2c</span></li>
 | |
| <li>
 | |
| <span id="biPCIe">biPCIe</span></li>
 | |
| <li>
 | |
| <span id="biANY">biANY</span></li>
 | |
| </ul>
 | |
| </td></tr>
 | |
| </table>
 | |
| <table class="detail wide_list">
 | |
| <tr class="list">
 | |
| <td class="itemcode"><span id="PDeviceIdentifier"></span><code><b>PDeviceIdentifier</b> = ˆ<a  href="drivermanagement.TDeviceIdentifier.html">TDeviceIdentifier</a>;</code></td>
 | |
| </tr>
 | |
| <tr><td colspan="1">
 | |
|  </td></tr>
 | |
| </table>
 | |
| <table class="detail wide_list">
 | |
| <tr class="list">
 | |
| <td class="itemcode"><span id="TDriverLoadCallback"></span><code><b>TDriverLoadCallback</b> = function(ptr : <a  href="system.html#Void">void</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="PDriverRegistration"></span><code><b>PDriverRegistration</b> = ˆ<a  href="drivermanagement.TDriverRegistration.html">TDriverRegistration</a>;</code></td>
 | |
| </tr>
 | |
| <tr><td colspan="1">
 | |
|  </td></tr>
 | |
| </table>
 | |
| <table class="detail wide_list">
 | |
| <tr class="list">
 | |
| <td class="itemcode"><span id="PDeviceRegistration"></span><code><b>PDeviceRegistration</b> = ˆ<a  href="drivermanagement.TDeviceRegistration.html">TDeviceRegistration</a>;</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="idANY"></span><code><b>idANY</b> = $FFFFFFFF;</code></td>
 | |
| </tr>
 | |
| <tr><td colspan="1">
 | |
|  </td></tr>
 | |
| </table>
 | |
| <h3 class="detail">Variables</h3>
 | |
| <table class="detail wide_list">
 | |
| <tr class="list">
 | |
| <td class="itemcode"><span id="Root"></span><code><b>Root</b>: <a  href="drivermanagement.html#PDriverRegistration">PDriverRegistration</a> = nil;</code></td>
 | |
| </tr>
 | |
| <tr><td colspan="1">
 | |
|  </td></tr>
 | |
| </table>
 | |
| <table class="detail wide_list">
 | |
| <tr class="list">
 | |
| <td class="itemcode"><span id="Dev"></span><code><b>Dev</b>: <a  href="drivermanagement.html#PDeviceRegistration">PDeviceRegistration</a> = nil;</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>
 | 
