Newer
Older
UbixOS / doc / html / d9 / d95 / dma_8h.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>UbixOS: include/sys/dma.h File Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">UbixOS
   &#160;<span id="projectnumber">2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('../../',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('d9/d95/dma_8h.html','../../');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">dma.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;<a class="el" href="../../d0/d27/include_2sys_2types_8h_source.html">sys/types.h</a>&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for dma.h:</div>
<div class="dyncontent">
<div class="center"><img src="../../df/d36/dma_8h__incl.png" border="0" usemap="#include_2sys_2dma_8h" alt=""/></div>
<map name="include_2sys_2dma_8h" id="include_2sys_2dma_8h">
<area shape="rect" title=" " alt="" coords="5,5,133,32"/>
<area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="24,80,115,107"/>
<area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="183,304,281,331"/>
<area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="121,155,215,181"/>
<area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="59,229,149,256"/>
<area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="173,229,291,256"/>
<area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="315,229,421,256"/>
<area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="445,229,545,256"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="../../d9/db7/dma_8h__dep__incl.png" border="0" usemap="#include_2sys_2dma_8hdep" alt=""/></div>
<map name="include_2sys_2dma_8hdep" id="include_2sys_2dma_8hdep">
<area shape="rect" title=" " alt="" coords="27,5,155,32"/>
<area shape="rect" href="../../d9/d43/fdc_8c.html" title=" " alt="" coords="5,80,76,107"/>
<area shape="rect" href="../../d8/d51/dma_8c.html" title=" " alt="" coords="101,80,183,107"/>
</map>
</div>
</div>
<p><a href="../../d9/d95/dma_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ae136d2bd6481a13de8e96f5a583c45eb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d95/dma_8h.html#ae136d2bd6481a13de8e96f5a583c45eb">_dmaXfer</a> (<a class="el" href="../../dd/d1e/objgfx30_8h.html#aa4e0f27a9aca905e340c06d2dcae843c">uInt8</a> dmaChannel, <a class="el" href="../../dd/d1e/objgfx30_8h.html#aa4e0f27a9aca905e340c06d2dcae843c">uInt8</a> page, <a class="el" href="../../d0/d27/include_2sys_2types_8h.html#a87d141052bcd5ec8a80812a565c70369">uInt</a> offset, <a class="el" href="../../d0/d27/include_2sys_2types_8h.html#a87d141052bcd5ec8a80812a565c70369">uInt</a> length, <a class="el" href="../../dd/d1e/objgfx30_8h.html#aa4e0f27a9aca905e340c06d2dcae843c">uInt8</a> mode)</td></tr>
<tr class="separator:ae136d2bd6481a13de8e96f5a583c45eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e2aa65e3e12777006ad192f7ff8bb5a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d95/dma_8h.html#a7e2aa65e3e12777006ad192f7ff8bb5a">dmaXfer</a> (<a class="el" href="../../dd/d1e/objgfx30_8h.html#aa4e0f27a9aca905e340c06d2dcae843c">uInt8</a> channel, <a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> address, <a class="el" href="../../d0/d27/include_2sys_2types_8h.html#a87d141052bcd5ec8a80812a565c70369">uInt</a> length, <a class="el" href="../../dd/d1e/objgfx30_8h.html#aa4e0f27a9aca905e340c06d2dcae843c">uInt8</a> <a class="el" href="../../d3/d0a/gen__calls_8c.html#a5eff3a25d417fafce7c4f211db219ca2">read</a>)</td></tr>
<tr class="separator:a7e2aa65e3e12777006ad192f7ff8bb5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ae136d2bd6481a13de8e96f5a583c45eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae136d2bd6481a13de8e96f5a583c45eb">&#9670;&nbsp;</a></span>_dmaXfer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void _dmaXfer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dd/d1e/objgfx30_8h.html#aa4e0f27a9aca905e340c06d2dcae843c">uInt8</a>&#160;</td>
          <td class="paramname"><em>dmaChannel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dd/d1e/objgfx30_8h.html#aa4e0f27a9aca905e340c06d2dcae843c">uInt8</a>&#160;</td>
          <td class="paramname"><em>page</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#a87d141052bcd5ec8a80812a565c70369">uInt</a>&#160;</td>
          <td class="paramname"><em>offset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#a87d141052bcd5ec8a80812a565c70369">uInt</a>&#160;</td>
          <td class="paramname"><em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dd/d1e/objgfx30_8h.html#aa4e0f27a9aca905e340c06d2dcae843c">uInt8</a>&#160;</td>
          <td class="paramname"><em>mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="../../d8/d51/dma_8c_source.html#l00057">57</a> of file <a class="el" href="../../d8/d51/dma_8c_source.html">dma.c</a>.</p>

<p class="reference">References <a class="el" href="../../df/d0a/io_8c_source.html#l00072">outportByte()</a>.</p>

<p class="reference">Referenced by <a class="el" href="../../d8/d51/dma_8c_source.html#l00042">dmaXfer()</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="../../d9/d95/dma_8h_ae136d2bd6481a13de8e96f5a583c45eb_cgraph.png" border="0" usemap="#d9/d95/dma_8h_ae136d2bd6481a13de8e96f5a583c45eb_cgraph" alt=""/></div>
<map name="d9/d95/dma_8h_ae136d2bd6481a13de8e96f5a583c45eb_cgraph" id="d9/d95/dma_8h_ae136d2bd6481a13de8e96f5a583c45eb_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,80,32"/>
<area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="128,5,217,32"/>
</map>
</div>

</div>
</div>
<a id="a7e2aa65e3e12777006ad192f7ff8bb5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e2aa65e3e12777006ad192f7ff8bb5a">&#9670;&nbsp;</a></span>dmaXfer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dmaXfer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../dd/d1e/objgfx30_8h.html#aa4e0f27a9aca905e340c06d2dcae843c">uInt8</a>&#160;</td>
          <td class="paramname"><em>channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a>&#160;</td>
          <td class="paramname"><em>address</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#a87d141052bcd5ec8a80812a565c70369">uInt</a>&#160;</td>
          <td class="paramname"><em>length</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="../../dd/d1e/objgfx30_8h.html#aa4e0f27a9aca905e340c06d2dcae843c">uInt8</a>&#160;</td>
          <td class="paramname"><em>read</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_317ea3797c15f4a1d9c156bc812661ca.html">sys</a></li><li class="navelem"><a class="el" href="../../d9/d95/dma_8h.html">dma.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.16 </li>
  </ul>
</div>
</body>
</html>