EasyManua.ls Logo

Advantech PCL-818 Series - A;D Status - BASE+08 H; C.11 Clear Interrupt Request - BASE+08 H; C.12 A;D Status - BASE+08 H; Clear Interrupt Request - BASE+08 H

Advantech PCL-818 Series
74 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
55 Appendix C
C.11 Clear Interrupt Request — BASE+08H
Write any value to register BASE+08H to clear the interrupt request.
Table C-11 Register for Clear Interrupt Request
C.12 A/D Status — BASE+08H
Read-only register BASE+08H provides information on the A/D configu-
ration and operation. Including:
• Bipolar or unipolar input for the channel to be converted next
• Single-ended or differential input
• Interrupt status for the channel already converted
• End of conversion for the channel already converted
• Channel to be converted next
Writing to this I/O port with any data value clears its INT bit. The other
data bits do not change.
Table C-12 Register for A/D Status
EOC End of Conversion
0 The A/D conversion is idle, ready for the next conversion. Data
from the previous conversion is available in the A/D data registers.
1 The A/D converter is busy, implying conversion is in progress.
U/B Unipolar/bipolar mode indicator
0 Bipolar mode
Unipolar mode
Write A/D control
Bit # 76543210
BASE + 09H X X X X X X X X
Read A/D status
Bit # 7 6 5 4 3 2 1 0
BASE + 08H EOC U/B MUX INT CN3 CN2 CN1 CN0

Table of Contents