manual_ad_interrupt_mode_reference.html
来自「Diamond公司Dscud通用驱动使用说明手册」· HTML 代码 · 共 377 行 · 第 1/2 页
HTML
377 行
<TD><strong>Interrupt Occurrence</strong> </TD><TD> An interrupt occurs after each entire scan is complete.</TD></tr><tr ><TD><strong>Interrupt Rate</strong> </TD><TD> The interrupt rate is equal to the A/D clock rate.</TD></tr><tr ><TD> <strong>Interrupt Operation</strong> </TD><TD> The interrupt routine reads a complete scan of data in from the board each time it runs and stores the data in the driver's sample buffer.</TD></tr><tr ><TD><strong>Data Buffer</strong> </TD><TD> The buffer size is equal to the number of scans to be performed times the scan size.</TD></tr><tr ><TD><strong>Termination</strong> </TD><TD> After the specified number of A/D conversions is complete, the interrupt operation automatically terminates.<p>
The user may also terminate early by calling the function dscCancelOp().
</TD></tr></table><p>
<h3><a name="Mode_3:_FIFO_=_0,_Scan_=_1,_Recycle_=_1">Mode 3: FIFO = 0, Scan = 1, Recycle = 1</a></h3>
<hr>
<p>
<table border=1><tr ><TD><strong>Sampling Operation</strong> </TD><TD> Each A/D clock generates an A/D conversion on all channels in the programmed channel range, beginning with the low channel.</TD></tr><tr ><TD><strong>Sample Rate</strong> </TD><TD> The overall sample rate is equal to the A/D clock rate times the scan size.<p>
The sample rate for each channel in the range is equal to the A/D clock rate.
</TD></tr><tr ><TD><strong>Interrupt Occurrence</strong> </TD><TD> An interrupt occurs after each entire scan is complete.</TD></tr><tr ><TD> <strong>Interrupt Rate</strong> </TD><TD> The interrupt rate is equal to the A/D clock rate.</TD></tr><tr ><TD><strong>Interrupt Operation</strong> </TD><TD> The interrupt routine reads a complete scan of data in from the board each time it runs and stores the data in the driver's sample buffer.</TD></tr><tr ><TD><strong>Data Buffer</strong> </TD><TD> The buffer size must be equal to num_conversions. This number must be an integral multiple of the scan size. This number is not related to the total number of samples, since recycle mode is enabled.</TD></tr><tr ><TD><strong>Termination</strong> </TD><TD> After the specified number of scans (the total number of conversions divided by the scan size) is complete, the interrupt operation will return to the beginning of the buffer and repeat the process indefinitely.The user may terminate the operation at any time by calling dscCancelOp().
</TD></tr></table><p>
<h3><a name="Mode_4:_FIFO_=_1,_Scan_=_0,_Recycle_=_0">Mode 4: FIFO = 1, Scan = 0, Recycle = 0</a></h3>
<hr>
<p>
<table border=1><tr ><TD><strong>Sampling Operation</strong> </TD><TD> Each A/D clock generates a single A/D conversion on the current channel.<p>
The channel register is then incremented to the next in the range (or resets to the lowest if already at the end).
<p>
All A/D samples are evenly spaced apart in time.
</TD></tr><tr ><TD><strong>Sample Rate</strong> </TD><TD> The overall sample rate is equal to the A/D clock rate.The sample rate for each channel in the range is equal to the A/D clock rate divided by the number of channels in the range.
</TD></tr><tr ><TD><strong>Interrupt Occurrence</strong> </TD><TD> An interrupt occurs after the FIFO reaches or exceeds the programmed threshold.</TD></tr><tr ><TD><strong>Interrupt Rate</strong> </TD><TD> The interrupt rate is equal to the A/D clock rate divided by the FIFO threshold.</TD></tr><tr ><TD><strong>Interrupt Operation</strong> </TD><TD> The interrupt routine reads a number of A/D samples from the board equal to the FIFO depth and stores them in the program's sample buffer.</TD></tr><tr ><TD><strong>Data Buffer</strong> </TD><TD> The buffer size must be equal to the number of A/D samples. The buffer size and FIFO threshold must be chosen such that the buffer size is equal to an integral multiple of the FIFO threshold.</TD></tr><tr ><TD><strong>Termination</strong> </TD><TD> After the specified number of A/D conversions is complete, the interrupt operation automatically terminates.<p>
The user may also terminate early by calling the function dscCancelOp().
</TD></tr></table><p>
<h3><a name="Mode_5:_FIFO_=_1,_Scan_=_0,_Recycle_=_1">Mode 5: FIFO = 1, Scan = 0, Recycle = 1</a></h3>
<hr>
<p>
<table border=1><tr ><TD><strong>Sampling Operation</strong> </TD><TD> Each A/D clock generates a single A/D conversion on the current channel.<p>
The channel register is then incremented to the next in the range (or resets to the lowest if already at the end).
<p>
All A/D samples are evenly spaced apart in time.
</TD></tr><tr ><TD> <strong>Sample Rate</strong> </TD><TD> The overall sample rate is equal to the A/D clock rate.<p>
The sample rate for each channel in the range is equal to the A/D clock rate divided by the number of channels in the range.
</TD></tr><tr ><TD><strong>Interrupt Occurrence</strong> </TD><TD> An interrupt occurs after the FIFO reaches or exceeds the programmed threshold.</TD></tr><tr ><TD><strong>Interrupt Rate</strong> </TD><TD> The interrupt rate is equal to the A/D clock rate divided by the FIFO threshold.</TD></tr><tr ><TD><strong>Interrupt Operation</strong> </TD><TD> The interrupt routine reads a number of A/D samples from the board equal to the FIFO threshold and stores them in the program's sample buffer.</TD></tr><tr ><TD><strong>Data Buffer</strong> </TD><TD> The buffer size must be equal to the number of samples, num_conversions, specified in the function call. This number does not indicate the total number of samples to be taken, since recycle mode is enabled.<p>
The buffer size and FIFO threshold must be chosen such that the buffer size is equal to an integral multiple of the FIFO threshold.
</TD></tr><tr ><TD><strong>Termination</strong> </TD><TD> After the specified number of conversions is complete, the interrupt operation will return to the beginning of the buffer and repeat the process indefinitely.<p>
The user may terminate the operation at any time by calling dscCancelOp().
</TD></tr></table><p>
<h3><a name="Mode_6:_FIFO_=_1,_Scan_=_1,_Recycle_=_0">Mode 6: FIFO = 1, Scan = 1, Recycle = 0</a></h3>
<hr>
<p>
<table border=1><tr ><TD><strong>Sampling Operation</strong> </TD><TD> Each A/D clock generates an A/D conversion on all channels in the programmed channel range, beginning with the low channel.</TD></tr><tr ><TD><strong>Sample Rate</strong> </TD><TD> The overall sample rate is equal to the A/D clock rate times the scan size.<p>
The sample rate for each channel in the range is equal to the A/D clock rate.
</TD></tr><tr ><TD><strong>Interrupt Occurrence</strong> </TD><TD> An interrupt occurs after the FIFO reaches or exceeds the programmed threshold and the current scan is complete.</TD></tr><tr ><TD><strong>Interrupt Rate</strong> </TD><TD> The interrupt rate is equal to the A/D clock rate times the no. of channels in the scan range divided by the FIFO threshold.</TD></tr><tr ><TD><strong>Interrupt Operation</strong> </TD><TD> The interrupt routine reads a number of A/D samples from the board equal to the FIFO threshold and stores them in the driver's sample buffer.</TD></tr><tr ><TD><strong>Data Buffer</strong> </TD><TD> The buffer size must equal to the number of A/D samples to be taken.<p>
The buffer size and FIFO threshold must be chosen such that the buffer size is equal to an integral multiple of the FIFO threshold.
</TD></tr><tr ><TD><strong>Termination</strong> </TD><TD> After the specified number of conversions is complete, the interrupt operation automatically terminates.The user may also terminate early by calling the function <tt><a href="manual_DscCancelOp.html" class='printable' title ="DscCancelOp">dscCancelOp</a>()</tt>.
</TD></tr></table><p>
<h3><a name="Mode_7:_FIFO_=_1,_Scan_=_1,_Recycle_=_1">Mode 7: FIFO = 1, Scan = 1, Recycle = 1</a></h3>
<hr>
<p>
<table border=1><tr ><TD><strong>Sampling Operation</strong> </TD><TD> Each A/D clock generates an A/D conversion on all channels in the programmed channel range, beginning with the low channel.</TD></tr><tr ><TD><strong>Sample Rate</strong> </TD><TD> The overall sample rate is equal to the A/D clock rate times the scan size.<p>
The sample rate for each channel in the range is equal to the A/D clock rate.
</TD></tr><tr ><TD><strong>Interrupt Occurrence</strong> </TD><TD> An interrupt occurs after the FIFO reaches or exceeds the programmed threshold and the current scan is complete.</TD></tr><tr ><TD><strong>Interrupt Rate</strong> </TD><TD> The interrupt rate is equal to the A/D clock rate times the no. of channels in the scan range divided by the FIFO threshold.</TD></tr><tr ><TD><strong>Interrupt Operation</strong> </TD><TD> The interrupt routine reads a number of A/D samples from the board equal to the FIFO threshold and stores them in the driver's sample buffer.</TD></tr><tr ><TD><strong>Data Buffer</strong> </TD><TD> The buffer size must be equal to the number of samples, num_conversions, specified in the function call. This number does not indicate the total number of samples to be taken, since recycle mode is enabled.<p>
The buffer size and FIFO threshold must be chosen such that the buffer size is qual to an integral multiple of the FIFO threshold.
</TD></tr><tr ><TD><strong>Termination</strong> </TD><TD> After the specified number of conversions is complete, the interrupt operation will return to the beginning of the buffer and repeat the process indefinitely.<p>
The user may terminate the operation at any time by calling <tt><a href="manual_DscCancelOp.html" class='printable' title ="DscCancelOp">dscCancelOp</a>()</tt>.
</TD></tr></table><p></div><p><em> <br> This page was last modified 23:41, 9 Feb 2004.<br>Copyright (c) 2004 Diamond Systems. All Rights Reserved.</em><!-- Time since request: 0.25 secs. --></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?