⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 manual_dscqmmmcc.html

📁 Diamond公司Dscud通用驱动使用说明手册
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"        "http://www.w3.org/TR/html4/loose.dtd"><html lang="en"><head><title>DSCQMMMCC - 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'>DSCQMMMCC</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 Multiple Counter Control. This structure is used to execute load, arm, disarm, and save actions. An Arm command causes the counter to start counting, and a Disarm command causes it to stop. The counter will not count until it receives an Arm command.  The Save command or Disarm and Save command are used to latch the current contents of the counter into the Hold register for reading. If just the Save command is executed, the counter will continue to count; this is equivalent to the Lap button on a stopwatch. After executing one of these commands, use the dscReadHoldRegister function to read the latched data.  The Load command or Load and Arm command are used to load the contents of the Load register into the counter before or while arming it. Before executing one of these commands, use the dscSetLoadRegister() function to load the Load register with the desired data.  If you are using a QMM-5 board with only one 9513 chip, or if you are acting on only one counter chip, set the other counter's action to QMM_ACTION_NONE (0).
<p>
<h2><a name="Structure_Definition">Structure Definition</a></h2>
<p>
typedef struct {
<p>
<pre>    BYTE group1_action;
    BYTE group1_counter_select;
    BYTE group2_action;
    BYTE group2_counter_select;
</pre><p>
} DSCQMMMCC;
<p>
<h2><a name="Structure_Members">Structure Members</a></h2>
<p>
<table border=1><tr ><TH>Name</TH><TH>Description</TH></tr><tr ><TD>group1_action</TD><TD>Determines the action for counter group 1 (counters 1-5); select from counter action macros in above list</TD></tr><tr ><TD>group1_counter_select</TD><TD>Selects which counters will be acted on by the action in group1_action. All counters in the group are acted on in the same way at the same time.</TD></tr><tr ><TD>group2_action</TD><TD>Determines the action for counter group 2 (counters 6-10)</TD></tr><tr ><TD>group2_counter_select</TD><TD>Selects which counters will be acted on by the action in group2_actionAll counters selected in each group receive the same action specified for that group. The parameters for group1_counter_select and group2_counter_select use the following format:
<p>
Group1_counter_select:
Bit No.
7
6
5
4
3
2
1
0
Name
0
0
0
CTR5
CTR4
CTR3
CTR2
CTR1
<p>
<p>
Group2_counter_select:
Bit No.
7
6
5
4
3
2
1
0
Name
0
0
0
CTR10
CTR9
CTR8
CTR7
CTR6
<p>
CTRn	select counter n; 1 = selected, 0 = not selected
</TD></tr></table><p></div><p><em> <br> This page was last modified 01:39, 30 Jan 2004.<br>Copyright (c) 2004 Diamond Systems.  All Rights Reserved.</em><!-- Time since request: 0.16 secs. --></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -