1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>z8530_read_port</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Z8530 Programming Guide"><link rel="up" href="intfunctions.html" title="Chapter 10. Internal Functions"><link rel="prev" href="intfunctions.html" title="Chapter 10. Internal Functions"><link rel="next" href="API-z8530-write-port.html" title="z8530_write_port"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">z8530_read_port</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="intfunctions.html">Prev</a> </td><th width="60%" align="center">Chapter 10. Internal Functions</th><td width="20%" align="right"> <a accesskey="n" href="API-z8530-write-port.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-z8530-read-port"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>z8530_read_port — 2 Architecture specific interface function 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">int <b class="fsfunc">z8530_read_port </b>(</code></td><td>unsigned long <var class="pdparam">p</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idp1119377972"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>p</code></em></span></dt><dd><p> 4 port to read 5 </p></dd></dl></div></div><div class="refsect1"><a name="idp1119379500"></a><h2>Description</h2><p> 6 Provided port access methods. The Comtrol SV11 requires no delays 7 between accesses and uses PC I/O. Some drivers may need a 5uS delay 8 </p><p> 9 10 In the longer term this should become an architecture specific 11 section so that this can become a generic driver interface for all 12 platforms. For now we only handle PC I/O ports with or without the 13 dread 5uS sanity delay. 14 </p><p> 15 16 The caller must hold sufficient locks to avoid violating the horrible 17 5uS delay rule. 18</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="intfunctions.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="intfunctions.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-z8530-write-port.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 10. Internal Functions </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">z8530_write_port</span></td></tr></table></div></body></html> 19