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

📄 manual_dscqmmpwm.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>DSCQMMPWM - 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'>DSCQMMPWM</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 pulse width modulation function on Quartz-MM. The structure contains both input and output parameters.
<p>
<h2><a name="Structure_Definion">Structure Definion</a></h2>
<p>
typedef struct {
<p>
<pre>    BYTE init;
    BYTE counter;
    FLOAT output_freq;
    FLOAT duty_cycle;
    DWORD input_freq;
    WORD load_reg;
    WORD hold_reg; 
    BYTE hit_extreme;
</pre><p>
} DSCQMM_PWM;
<p>
<h2><a name="Structure_Members">Structure Members</a></h2>
<p>
<table border=1><tr ><TH>Name</TH><TH>Description</TH></tr><tr ><TD>init</TD><TD>1 if the current function call is an initializing call, i.e. the first call for this counter and this output frequency0 if the current function call is just to modify the duty cycle of a currently-running PWM signal
</TD></tr><tr ><TD>counter</TD><TD>Counter number: 1-5 for QMM-5, 1-10 for QMM-10</TD></tr><tr ><TD>output_freq</TD><TD>Desired output frequency; the function will select the best clock source from the 9513 chip's built-in frequency generator to achieve the desired output frequency with maximum duty cycle resolution</TD></tr><tr ><TD>duty_cycle</TD><TD>Desired duty cycle in percent: range is 0 - 99.99 in steps of .01; a duty cycle of 100% is not possible</TD></tr><tr ><TD>input_freq</TD><TD>Input clock source selected by the function</TD></tr><tr ><TD>load_reg</TD><TD>Resulting load register value from the selected output frequency and duty cycle</TD></tr><tr ><TD>hold_reg</TD><TD>Resulting load register value from the selected output frequency and duty cycle</TD></tr><tr ><TD>hit_extreme</TD><TD>1 if the function has reached either duty cycle limit (0 or 99.99); 0 otherwise</TD></tr></table><p></div><p><em> <br> This page was last modified 01:44, 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 + -