📄 cml__io_8h-source.html
字号:
<a name="l00087"></a>00087 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a35">IOOBJID_DOUT_16_VALUE</a> = 0x6300, <span class="comment">///< 16-bit digital output value</span><a name="l00088"></a>00088 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a36">IOOBJID_DOUT_16_POL</a> = 0x6302, <span class="comment">///< 16-bit digital output polarity</span><a name="l00089"></a>00089 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a37">IOOBJID_DOUT_16_ERRMODE</a> = 0x6306, <span class="comment">///< 16-bit digital output error mode</span><a name="l00090"></a>00090 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a38">IOOBJID_DOUT_16_ERRVAL</a> = 0x6307, <span class="comment">///< 16-bit digital output error value</span><a name="l00091"></a>00091 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a39">IOOBJID_DOUT_16_FILT</a> = 0x6308, <span class="comment">///< 16-bit digital output filter mask</span><a name="l00092"></a>00092 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a40">IOOBJID_DOUT_32_VALUE</a> = 0x6320, <span class="comment">///< 32-bit digital output value</span><a name="l00093"></a>00093 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a41">IOOBJID_DOUT_32_POL</a> = 0x6322, <span class="comment">///< 32-bit digital output polarity</span><a name="l00094"></a>00094 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a42">IOOBJID_DOUT_32_ERRMODE</a> = 0x6326, <span class="comment">///< 32-bit digital output error mode</span><a name="l00095"></a>00095 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a43">IOOBJID_DOUT_32_ERRVAL</a> = 0x6327, <span class="comment">///< 32-bit digital output error value</span><a name="l00096"></a>00096 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a44">IOOBJID_DOUT_32_FILT</a> = 0x6328, <span class="comment">///< 32-bit digital output filter mask</span><a name="l00097"></a>00097 <span class="comment"></span><a name="l00098"></a>00098 <a class="code" href="CML__IO_8h.html#a90a45">IOOBJID_AIN_8_VALUE</a> = 0x6400, <span class="comment">///< 8-bit analog input value</span><a name="l00099"></a>00099 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a46">IOOBJID_AIN_16_VALUE</a> = 0x6401, <span class="comment">///< 16-bit analog input value</span><a name="l00100"></a>00100 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a47">IOOBJID_AIN_32_VALUE</a> = 0x6402, <span class="comment">///< 32-bit analog input value</span><a name="l00101"></a>00101 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a48">IOOBJID_AIN_FLT_VALUE</a> = 0x6403, <span class="comment">///< floating point analog input value</span><a name="l00102"></a>00102 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a49">IOOBJID_AIN_MFG_VALUE</a> = 0x6404, <span class="comment">///< manufacturer specific analog input value</span><a name="l00103"></a>00103 <span class="comment"></span><a name="l00104"></a>00104 <a class="code" href="CML__IO_8h.html#a90a50">IOOBJID_AOUT_8_VALUE</a> = 0x6410, <span class="comment">///< 8-bit analog output value</span><a name="l00105"></a>00105 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a51">IOOBJID_AOUT_16_VALUE</a> = 0x6411, <span class="comment">///< 16-bit analog output value</span><a name="l00106"></a>00106 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a52">IOOBJID_AOUT_32_VALUE</a> = 0x6412, <span class="comment">///< 32-bit analog output value</span><a name="l00107"></a>00107 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a53">IOOBJID_AOUT_FLT_VALUE</a> = 0x6413, <span class="comment">///< floating point analog output value</span><a name="l00108"></a>00108 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a54">IOOBJID_AOUT_MFG_VALUE</a> = 0x6414, <span class="comment">///< manufacturer specific analog output value</span><a name="l00109"></a>00109 <span class="comment"></span><a name="l00110"></a>00110 <a class="code" href="CML__IO_8h.html#a90a55">IOOBJID_AIN_TRIG</a> = 0x6421, <span class="comment">///< Analog input trigger selection</span><a name="l00111"></a>00111 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a56">IOOBJID_AIN_INTSRC</a> = 0x6422, <span class="comment">///< Analog input interrupt source</span><a name="l00112"></a>00112 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a57">IOOBJID_AIN_INTENA</a> = 0x6423, <span class="comment">///< Analog input interrupt enable</span><a name="l00113"></a>00113 <span class="comment"></span><a name="l00114"></a>00114 <a class="code" href="CML__IO_8h.html#a90a58">IOOBJID_AIN_32_UPLIM</a> = 0x6424, <span class="comment">///< 32-bit analog input upper limit</span><a name="l00115"></a>00115 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a59">IOOBJID_AIN_32_LWLIM</a> = 0x6425, <span class="comment">///< 32-bit analog input lower limit</span><a name="l00116"></a>00116 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a60">IOOBJID_AIN_32_UDELTA</a> = 0x6426, <span class="comment">///< 32-bit analog input unsigned delta</span><a name="l00117"></a>00117 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a61">IOOBJID_AIN_32_NDELTA</a> = 0x6427, <span class="comment">///< 32-bit analog input negative delta</span><a name="l00118"></a>00118 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a62">IOOBJID_AIN_32_PDELTA</a> = 0x6428, <span class="comment">///< 32-bit analog input positive delta</span><a name="l00119"></a>00119 <span class="comment"></span><a name="l00120"></a>00120 <a class="code" href="CML__IO_8h.html#a90a63">IOOBJID_AIN_FLT_UPLIM</a> = 0x6429, <span class="comment">///< floating point analog input upper limit</span><a name="l00121"></a>00121 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a64">IOOBJID_AIN_FLT_LWLIM</a> = 0x642A, <span class="comment">///< floating point analog input lower limit</span><a name="l00122"></a>00122 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a65">IOOBJID_AIN_FLT_UDELTA</a> = 0x642B, <span class="comment">///< floating point analog input unsigned delta</span><a name="l00123"></a>00123 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a66">IOOBJID_AIN_FLT_NDELTA</a> = 0x642C, <span class="comment">///< floating point analog input negative delta</span><a name="l00124"></a>00124 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a67">IOOBJID_AIN_FLT_PDELTA</a> = 0x642D, <span class="comment">///< floating point analog input positive delta</span><a name="l00125"></a>00125 <span class="comment"></span><a name="l00126"></a>00126 <a class="code" href="CML__IO_8h.html#a90a68">IOOBJID_AIN_FLT_OFFSET</a> = 0x642E, <span class="comment">///< floating point analog input offset</span><a name="l00127"></a>00127 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a69">IOOBJID_AIN_FLT_SCALE</a> = 0x642F, <span class="comment">///< floating point analog input scaling</span><a name="l00128"></a>00128 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a70">IOOBJID_AIN_UNIT</a> = 0x6430, <span class="comment">///< analog input SI Unit</span><a name="l00129"></a>00129 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a71">IOOBJID_AIN_32_OFFSET</a> = 0x6431, <span class="comment">///< 32-bit analog input offset</span><a name="l00130"></a>00130 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a72">IOOBJID_AIN_32_SCALE</a> = 0x6432, <span class="comment">///< 32-bit analog input scaling</span><a name="l00131"></a>00131 <span class="comment"></span><a name="l00132"></a>00132 <a class="code" href="CML__IO_8h.html#a90a73">IOOBJID_AOUT_FLT_OFFSET</a> = 0x6441, <span class="comment">///< floating point analog output offset</span><a name="l00133"></a>00133 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a74">IOOBJID_AOUT_FLT_SCALE</a> = 0x6442, <span class="comment">///< floating point analog output scaling</span><a name="l00134"></a>00134 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a75">IOOBJID_AOUT_ERRMODE</a> = 0x6443, <span class="comment">///< analog output error mode</span><a name="l00135"></a>00135 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a76">IOOBJID_AOUT_32_ERRVAL</a> = 0x6444, <span class="comment">///< 32-bit analog output error value</span><a name="l00136"></a>00136 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a77">IOOBJID_AOUT_FLT_ERRVAL</a> = 0x6445, <span class="comment">///< floating point analog output error value</span><a name="l00137"></a>00137 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a78">IOOBJID_AOUT_32_OFFSET</a> = 0x6446, <span class="comment">///< 32-bit analog output offset</span><a name="l00138"></a>00138 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a79">IOOBJID_AOUT_32_SCALE</a> = 0x6447, <span class="comment">///< 32-bit analog output scaling</span><a name="l00139"></a><a class="code" href="CML__IO_8h.html#a90a80">00139</a> <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a90a80">IOOBJID_AOUT_UNIT</a> = 0x6450 <span class="comment">///< analog output SI Unit</span><a name="l00140"></a>00140 <span class="comment"></span>};<a name="l00141"></a>00141 <a name="l00142"></a>00142 <span class="comment">/***************************************************************************/</span><span class="comment"></span><a name="l00143"></a>00143 <span class="comment">/**</span><a name="l00144"></a>00144 <span class="comment"> This enumeration is used to define the types of events that may cause an</span><a name="l00145"></a>00145 <span class="comment"> analog input to generate an interrupt event.</span><a name="l00146"></a>00146 <span class="comment"> */</span><a name="l00147"></a>00147 <span class="comment">/***************************************************************************/</span><a name="l00148"></a><a class="code" href="CML__IO_8h.html#a91">00148</a> <span class="keyword">enum</span> <a class="code" href="CML__IO_8h.html#a91">IO_AIN_TRIG_TYPE</a><a name="l00149"></a>00149 {<a name="l00150"></a>00150 <a class="code" href="CML__IO_8h.html#a91a81">IOAINTRIG_UPPER_LIM</a> = 0x0001, <span class="comment">///< Input above upper limit </span><a name="l00151"></a>00151 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a91a82">IOAINTRIG_LOWER_LIM</a> = 0x0002, <span class="comment">///< Input below lower limit</span><a name="l00152"></a>00152 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a91a83">IOAINTRIG_UDELTA</a> = 0x0004, <span class="comment">///< Input changed by more then the unsigned delta amount</span><a name="l00153"></a>00153 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a91a84">IOAINTRIG_NDELTA</a> = 0x0008, <span class="comment">///< Input reduced by more then the negative delta amount</span><a name="l00154"></a><a class="code" href="CML__IO_8h.html#a91a85">00154</a> <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a91a85">IOAINTRIG_PDELTA</a> = 0x0010 <span class="comment">///< Input increased by more then the positive delta</span><a name="l00155"></a>00155 <span class="comment"></span>};<a name="l00156"></a>00156 <a name="l00157"></a>00157 <span class="comment">/***************************************************************************/</span><span class="comment"></span><a name="l00158"></a>00158 <span class="comment">/**</span><a name="l00159"></a>00159 <span class="comment"> This enumeration gives the various events that can be waited on. The default</span><a name="l00160"></a>00160 <span class="comment"> events are simply the reception of one of the standard transmit PDO objects.</span><a name="l00161"></a>00161 <span class="comment"> */</span><a name="l00162"></a>00162 <span class="comment">/***************************************************************************/</span><a name="l00163"></a><a class="code" href="CML__IO_8h.html#a92">00163</a> <span class="keyword">enum</span> <a class="code" href="CML__IO_8h.html#a92">IOMODULE_EVENTS</a><a name="l00164"></a>00164 {<span class="comment"></span><a name="l00165"></a>00165 <span class="comment"> /// Digital input PDO 0 was received. By default, this PDO is</span><a name="l00166"></a>00166 <span class="comment"> /// transmitted by the module when any of the first 64 digital</span><a name="l00167"></a>00167 <span class="comment"> /// inputs changes state.</span><a name="l00168"></a>00168 <span class="comment"></span> <a class="code" href="CML__IO_8h.html#a92a86">IOEVENT_DIN_PDO0</a> = 0x00000001,<a name="l00169"></a>00169 <span class="comment"></span><a name="l00170"></a>00170 <span class="comment"> /// Analog input PDO 0 was received. By default, this PDO is</span><a name="l00171"></a>00171 <span class="comment"> /// transmitted by the module when any of the first 4 16-bit</span><a name="l00172"></a>00172 <span class="comment"> /// analog inputs generates an event.</span><a name="l00173"></a>00173 <span class="comment"> ///</span><a name="l00174"></a>00174 <span class="comment"> /// There are many different types of events that are programmable</span><a name="l00175"></a>00175 <span class="comment"> /// for analog inputs, however not all I/O module manufacturers </span><a name="l00176"></a>00176 <span class="comment"> /// support all (or any) of these events. The function </span><a name="l00177"></a>00177 <span class="comment"> /// IOmodule::AinSetTrigType can be used to set the type of event</span><a name="l00178"></a>00178 <span class="comment"> /// associated with an analog input.</span><a name="l00179"></a>00179 <span class="comment"> ///</span><a name="l00180"></a>00180 <span class="comment"> /// Consult the documentation provided with the I/O module to determine</span><a name="l00181"></a>00181 <span class="comment"> /// what types of analog input events are available for your module.</span>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -