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

📄 cml__ampdef_8h.html

📁 美国COPLEY驱动器,程序开发工具之一.
💻 HTML
📖 第 1 页 / 共 5 页
字号:
</table><a class="anchor" name="a405"></a><!-- doxytag: member="CML_AmpDef.h::AMP_PHASE_MODE" ref="a405" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">enum <a class="el" href="CML__AmpDef_8h.html#a405">AMP_PHASE_MODE</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Amplifier phasing mode. <p>This enumeration gives the legal values for the amplifier phasing mode setting. The phasing mode controls what type of input the amplifier uses to determing the phase angle when commutating a brushless DC motor.<dl compact><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"><tr><td valign="top"><em><a class="anchor" name="a405a320"></a><!-- doxytag: member="PHASE_MODE_ENCODER" ref="a405a320" args="" -->PHASE_MODE_ENCODER</em>&nbsp;</td><td>Use a combination of hall sensors and encoder input. <p>The hall sensors are used at startup, and will be used to constantly adjust the phase angle on every hall transition. This is the default phase mode, and should be used when both hall sensors and encoder input are present. </td></tr><tr><td valign="top"><em><a class="anchor" name="a405a321"></a><!-- doxytag: member="PHASE_MODE_TRAP" ref="a405a321" args="" -->PHASE_MODE_TRAP</em>&nbsp;</td><td>Phase using only the hall sensor inputs. <p>This mode gives rougher operation then the encoder based mode, however it can be used when no encoder input is available. </td></tr><tr><td valign="top"><em><a class="anchor" name="a405a322"></a><!-- doxytag: member="PHASE_MODE_NOADJUST" ref="a405a322" args="" -->PHASE_MODE_NOADJUST</em>&nbsp;</td><td>Use both encoder &amp; hall inputs, but only use the hall inputs on startup and ignore them after that. <p>This mode should normally not be used unless there is a good reason to ignore the hall inputs after startup. </td></tr><tr><td valign="top"><em><a class="anchor" name="a405a323"></a><!-- doxytag: member="PHASE_MODE_BRUSHED" ref="a405a323" args="" -->PHASE_MODE_BRUSHED</em>&nbsp;</td><td>This phase mode is used to force brushed DC motor output. <p>It should only be used when the amplifier is connected to a brushed DC motor. </td></tr><tr><td valign="top"><em><a class="anchor" name="a405a324"></a><!-- doxytag: member="PHASE_MODE_NOHALL" ref="a405a324" args="" -->PHASE_MODE_NOHALL</em>&nbsp;</td><td>Phase using the encoder only. <p>In this mode, the amplifier will use an algorithmic phase initialization on startup. This mode can be used when an encoder is present, but no halls are available. </td></tr></table></dl><p>Definition at line <a class="el" href="CML__AmpDef_8h-source.html#l00953">953</a> of file <a class="el" href="CML__AmpDef_8h-source.html">CML_AmpDef.h</a>.    </td>  </tr></table><a class="anchor" name="a406"></a><!-- doxytag: member="CML_AmpDef.h::AMP_PWM_MODE" ref="a406" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">enum <a class="el" href="CML__AmpDef_8h.html#a406">AMP_PWM_MODE</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Amplifier PWM output mode. <p>This enumeration gives the legal values for setting up the amplifier's PWM output mode. The PWM output mode controls some details of how the amplifier drives it's PWM outputs.<dl compact><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"><tr><td valign="top"><em><a class="anchor" name="a406a325"></a><!-- doxytag: member="PWM_MODE_STANDARD" ref="a406a325" args="" -->PWM_MODE_STANDARD</em>&nbsp;</td><td>Standard PWM mode. This mode should be selected for most applications. </td></tr><tr><td valign="top"><em><a class="anchor" name="a406a326"></a><!-- doxytag: member="PWM_MODE_FORCECLAMP" ref="a406a326" args="" -->PWM_MODE_FORCECLAMP</em>&nbsp;</td><td>This bit forces the amplifier into PWM bus clamping mode. <p>Bus clamping mode is a different method of driving the PWM outputs. It can produce less switching loss at the expense of greater cross over distortion. </td></tr><tr><td valign="top"><em><a class="anchor" name="a406a327"></a><!-- doxytag: member="PWM_MODE_AUTOCLAMP" ref="a406a327" args="" -->PWM_MODE_AUTOCLAMP</em>&nbsp;</td><td>Automatically switch between bus clamping and normal output mode based on the PWM duty cycle. <p>Bus clamping mode is used at high duty cycles, normal mode is used at low duty cycles. </td></tr><tr><td valign="top"><em><a class="anchor" name="a406a328"></a><!-- doxytag: member="PWM_MODE_HEXLIMIT" ref="a406a328" args="" -->PWM_MODE_HEXLIMIT</em>&nbsp;</td><td>If this bit is set, the amplifier's output voltage is limited using a method known as hexagonal limiting. <p>If this bit is clear, circular limiting is used. Hexagonal limiting gives the maximum voltage output at the expense of some added torque ripple. Higher top speeds may be attained using hexagonal limiting. </td></tr></table></dl><p>Definition at line <a class="el" href="CML__AmpDef_8h-source.html#l00988">988</a> of file <a class="el" href="CML__AmpDef_8h-source.html">CML_AmpDef.h</a>.    </td>  </tr></table><a class="anchor" name="a408"></a><!-- doxytag: member="CML_AmpDef.h::AMP_TRACE_STATUS" ref="a408" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">enum <a class="el" href="CML__AmpDef_8h.html#a408">AMP_TRACE_STATUS</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Amplifier trace status bits. <p>The amplifier's trace mechanism reports it's status as a collection of these bits.<p>Definition at line <a class="el" href="CML__AmpDef_8h-source.html#l01067">1067</a> of file <a class="el" href="CML__AmpDef_8h-source.html">CML_AmpDef.h</a>.    </td>  </tr></table><a class="anchor" name="a409"></a><!-- doxytag: member="CML_AmpDef.h::AMP_TRACE_TRIGGER" ref="a409" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">enum <a class="el" href="CML__AmpDef_8h.html#a409">AMP_TRACE_TRIGGER</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Amplifier trace trigger settings. <p><dl compact><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"><tr><td valign="top"><em><a class="anchor" name="a409a369"></a><!-- doxytag: member="TRACETRIG_CHANNEL" ref="a409a369" args="" -->TRACETRIG_CHANNEL</em>&nbsp;</td><td>These bits define which of the trace channels to use for triggering. <p>Not all trigger types require a trace channel, for those this value is ignored. </td></tr><tr><td valign="top"><em><a class="anchor" name="a409a370"></a><!-- doxytag: member="TRACETRIG_TYPE" ref="a409a370" args="" -->TRACETRIG_TYPE</em>&nbsp;</td><td>These bits define the trace trigger type to use. </td></tr><tr><td valign="top"><em><a class="anchor" name="a409a371"></a><!-- doxytag: member="TRACETRIG_NONE" ref="a409a371" args="" -->TRACETRIG_NONE</em>&nbsp;</td><td>Trace trigger type none. <p>The trace is triggered immediately on start. </td></tr><tr><td valign="top"><em><a class="anchor" name="a409a372"></a><!-- doxytag: member="TRACETRIG_ABOVE" ref="a409a372" args="" -->TRACETRIG_ABOVE</em>&nbsp;</td><td>Trigger as soon as the value on the selected variable is above the trigger level. </td></tr><tr><td valign="top"><em><a class="anchor" name="a409a373"></a><!-- doxytag: member="TRACETRIG_BELOW" ref="a409a373" args="" -->TRACETRIG_BELOW</em>&nbsp;</td><td>Trigger as soon as the value on the selected variable is below the trigger level. </td></tr><tr><td valign="top"><em><a class="anchor" name="a409a374"></a><!-- doxytag: member="TRACETRIG_RISE" ref="a409a374" args="" -->TRACETRIG_RISE</em>&nbsp;</td><td>Trigger when the value on the selected variable changes from below the trigger level to above it. </td></tr><tr><td valign="top"><em><a class="anchor" name="a409a375"></a><!-- doxytag: member="TRACETRIG_FALL" ref="a409a375" args="" -->TRACETRIG_FALL</em>&nbsp;</td><td>Trigger when the value on the selected variable changes from above the trigger level to below it. </td></tr><tr><td valign="top"><em><a class="anchor" name="a409a376"></a><!-- doxytag: member="TRACETRIG_BITSET" ref="a409a376" args="" -->TRACETRIG_BITSET</em>&nbsp;</td><td>Treat the trigger level as a bit mask which selects one or more bits on the selected trace variable. <p>The trigger occurs as soon as any of the selected bits are set. </td></tr><tr><td valign="top"><em><a class="anchor" name="a409a377"></a><!-- doxytag: member="TRACETRIG_BITCLR" ref="a409a377" args="" -->TRACETRIG_BITCLR</em>&nbsp;</td><td>Treat the trigger level as a bit mask which selects one or more bits on the selected trace variable. <p>The trigger occurs as soon as any of the selected bits are clear. </td></tr><tr><td valign="top"><em><a class="anchor" name="a409a378"></a><!-- doxytag: member="TRACETRIG_CHANGE" ref="a409a378" args="" -->TRACETRIG_CHANGE</em>&nbsp;</td><td>Trigger any time the selected trace variable value changes. </td></tr><tr><td valign="top"><em><a class="anchor" name="a409a379"></a><!-- doxytag: member="TRACETRIG_EVENTSET" ref="a409a379" args="" -->TRACETRIG_EVENTSET</em>&nbsp;</td><td>Treat the trigger level as a bit mask which selects one or more bits on the amplifier's event status register. <p>The trigger occurs as any of the selected bits are set. Note that this trigger type does not use a trace variable. </td></tr><tr><td valign="top"><em><a class="anchor" name="a409a380"></a><!-- doxytag: member="TRACETRIG_EVENTCLR" ref="a409a380" args="" -->TRACETRIG_EVENTCLR</em>&nbsp;</td><td>Treat the trigger level as a bit mask which selects one or more bits on the amplifier's event status register. <p>The trigger occurs as any of the selected bits are clear. Note that this trigger type does not use a trace variable. </td></tr><tr><td valign="top"><em><a class="anchor" name="a409a381"></a><!-- doxytag: member="TRACETRIG_FGEN_CYCLE" ref="a409a381" args="" -->TRACETRIG_FGEN_CYCLE</em>&nbsp;</td><td>Trigger at the start of the next function generator cycle. <p>This trigger type is only useful when running in function generator mode. It does not use a trace variable or the trigger level. </td></tr><tr><td valign="top"><em><a class="anchor" name="a409a382"></a><!-- doxytag: member="TRACETRIG_NODELAY" ref="a409a382" args="" -->TRACETRIG_NODELAY</em>&nbsp;</td><td>If this bit is set, then the trigger is allowed to occure even if the trace setup delay has not yet occured. <p>Normally, if a negative trace delay is set then that much time must expire after the trace has been started before a trigger will be recognized. If this bit is set, the trigger will be recognized even if the setup delay hasn't been met. </td></tr><tr><td valign="top"><em><a class="anchor" name="a409a383"></a><!-- doxytag: member="TRACETRIG_SAMPLE" ref="a409a383" args="" -->TRACETRIG_SAMPLE</em>&nbsp;</td><td>Only take a single sample for each trigger. <p>Normally, the occurance of the trigger causes the trace to begin sampling data and stop when the trace buffer is full. If this bit is set, each trigger occurance will cause a single sample of trace data. </td></tr></table></dl><p>Definition at line <a class="el" href="CML__AmpDef_8h-source.html#l01080">1080</a> of file <a clas

⌨️ 快捷键说明

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