Download 82091 SICL Users Guide

Transcript
SICL Language Reference
IGPIOCTRL
I_GPIO_CTRL
The setting parameter is a mask containing the
state of all control lines. A 1 bit asserts the
corresponding line; a 0 (zero) bit clears the
corresponding line.
The HP/Agilent E2074/5 interface has two
control lines, so only the two least-significant
bits have meaning for that interface. These can
be represented by the following. All other bits in
the setting mask are ignored.
I_GPIO_CTRL_CTL0The CTL0 line.
I_GPIO_CTRL_CTL1The CTL1 line.
I_GPIO_DATA
The setting parameter is a mask containing the
state of all data out lines. A 1 bit asserts the
corresponding line; a 0 (zero) bit clears the
corresponding line. The HP/Agilent E2074/5
interface has either 8 or 16 data out lines,
depending on the setting specified by
igpiosetwidth.
Note that this function changes the data lines
asynchronously, without any type of
handshake. It is intended for programs that
implement their own handshake explicitly.
I_GPIO_READ_EOI
If the setting parameter is I_GPIO_EOI_NONE,
then END pattern matching is disabled for read
operations. Any other setting enables END
pattern matching with the specified value. If the
current data width is 16 bits, then the lower 16
bits of setting are used. If the current data width
is 8 bits, then only the lower 8 bits of setting are
used.
I_GPIO_SET_PCTL
If the setting parameter is non-zero, then a
GPIO handshake is initiated by setting the
PCTL line. Auto-handshake mode must be
disabled to allow explicit control of the PCTL
line. Attempting to use I_GPIO_SET_PCTL in
auto-handshake mode results in the error:
Operation not supported.
260
Chapter 10