?? manual_dsccounterdirectset.html
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html lang="en"><head><title>DscCounterDirectSet - Universal Driver Documentation</title><meta http-equiv="Content-type" content="text/html; charset=iso-8859-1"><meta name="robots" content="index,follow"><link rel="shortcut icon" href="/favicon.ico"><link rel="stylesheet" href="/dscud/style/wikiprintable.css"><script type="text/javascript" src="/dscud/style/wikibits.js"></script><style type='text/css'><!--a.new, #quickbar a.new { color: #CC2200; }#quickbar { position: absolute; top: 4px; left: 4px; border-right: 1px solid gray; }#article { margin-left: 152px; margin-right: 4px; }//--></style></head><body bgcolor='#FFFFFF'><div class='titlebox'><h1 class='pagetitle'>DscCounterDirectSet</h1><span class='subtitle'>Universal Driver Documentation</span></div><div class='navbox'><a href="manual_Main_Page.html" class='printable' title ="Main Page">Main Page</a> || <a href="manual_Table_of_Contents.html" class='printable' title ="Table of Contents">Table_of_Contents</a> || <a href="http://www.diamondsystems.com/">Diamond Systems Website</a></div></div><div class='bodytext'>Sets the configuration for an individual counter on an 82C54 chip. This chip is used on all boards with counter/timers except <a href="manual_Quartz-MM.html" class='printable' title ="Quartz-MM">Quartz-MM</a> and <a href="manual_Prometheus.html" class='printable' title ="Prometheus">Prometheus</a>. This function provides direct access to the 82C54 configuration register, enabling functionality other than simple rate generator. For information on the possible configuration data, see the 82C54 datasheet included with each board's user manual.
<p>
<h2><a name="Function_Definition">Function Definition</a></h2>
<p>
BYTE dscCounterDirectSet(<a href="manual_DSCB.html" class='printable' title ="DSCB">DSCB</a> board, BYTE code, WORD data, BYTE ctr_number);
<p>
<h2><a name="Function_Parameters">Function Parameters</a></h2>
<p>
<table border=1><tr ><TH>Name</TH><TH>Description</TH></tr><tr ><TD>board</TD><TD>The handle of the board to operate on</TD></tr><tr ><TD>code</TD><TD>The configuration code to write to the 82C54 chip; see the 82C54 datasheet at the back of the board's user manual for configuration code information</TD></tr><tr ><TD>data</TD><TD>The initial count to write to the selected counter; range is 0-65535</TD></tr><tr ><TD>ctr_number</TD><TD>The individual counter to set; range is 0-2</TD></tr></table><p>
<h2><a name="Return_Value">Return Value</a></h2>
<p>
Error code or 0.
<p></div><p><em> <br> This page was last modified 12:00, 12 Feb 2004.<br>Copyright (c) 2004 Diamond Systems. All Rights Reserved.</em><!-- Time since request: 0.15 secs. --></body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -