📄 manual_dscqmmmmr.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html lang="en"><head><title>DSCQMMMMR - 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'>DSCQMMMMR</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'>Structure containing configuration data for the Quartz-MM Master Mode Register. Each 9513 chip has its own master mode register. The master mode register must be programmed before any counter on that chip can be used.
<p>
<h2><a name="Structure_Definition">Structure Definition</a></h2>
<p>
typedef struct {
<p>
<pre> BYTE counter_group;
BYTE fout_divider;
BYTE fout_source;
BYTE compare1_enable;
BYTE compare2_enable;
BYTE tod_mode;
</pre><p>
} DSCQMMMMR;
<p>
<h2><a name="Structure_Members">Structure Members</a></h2>
<p>
<table border=1><tr ><TH>Name</TH><TH>Description</TH></tr><tr ><TD>counter_group</TD><TD>The control code to write to or read from the control word register</TD></tr><tr ><TD>fout_divider</TD><TD>Divider for the 9513 chip's internal frequency generator; range is 1-16. The output frequency of the fout pin is fout_source / fout_divider. The fout (frequency output) pin from counter chip 1 is available on pin 31 of the board's I/O header and may be used by counters 1-5. The fout signal from chip 2 is not available externally but may be used within the chip by counters no. 6-10.</TD></tr><tr ><TD>fout_source</TD><TD>Source frequency for the 9513 chip's internal frequency generator. Select from fout macros in above list.</TD></tr><tr ><TD>compare1_enable</TD><TD>TRUE = Enable the comparator on counter 1; FALSE = disabled</TD></tr><tr ><TD>compare2_enable</TD><TD>TRUE = Enable the comparator on counter 2; FALSE = disabled The comparator function allows the use of counters 1 and 2 on each 9513 chip as totalizers with alarm outputs. When the count of any counter whose comparator is enabled equals the value programmed in that counter's alarm register, the counter output will be true, otherwise it will be false. The alarm register is programmed with function dscQMMSpecialCounterFunction.
</TD></tr><tr ><TD>tod_mode</TD><TD>Time-of-day mode; select from time-of-day macros in above list. The time-of-day circuit is intended to be used with an input frequency of 50Hz, 60Hz, or 100Hz. The divider of 5, 6, or 10 is chosen to match the input frequency and provide a 0.1 second resolution. On a CPU with a built-in real-time clock, the time-of-day circuit is generally not needed.</TD></tr></table><p>
<p>
Also see this list of <a href="manual_QMM_Macros.html" class='printable' title ="QMM Macros">QMM Macros</a>.
<p></div><p><em> <br> This page was last modified 01:48, 30 Jan 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 + -