C.11 External IO functions
READ
WRITE
CONTROL
AUTO
MAN
CTRL
WRITE
READ
COUNTER
pin
If
is
HSB
, then
Configure the 8 pins of the bank for input (
Configure the 8 pins of the bank for output.
This command does not apply to any other pins.
Sets or returns the current control mechanism for the specified pin.
EXTIO,CONTROL,ch,pin,mode
Syntax:
mode
The parameter
Set the pin to automatic (
TABLE
trolled by
Set the pin to manual (microcontroller) control, allowing the
EXTIO,WRITE
and
pin
If
is
, the command sets the mode of all 8 pins in the
HSBANK
bank. In this case,
integer where each bit corresponds to setting the associated pin into
automatic (1) or manual (0) mode.
CONTROL
Synonym for
Sets the control mechanism to
outputs the supplied data.
EXTIO,WRITE,ch,pin[,data]
Structure:
EXTIO,WRITE,1,HS1,1
Example:
Returns the current output value of the specified pin(s). If the pin is
in automatic mode, the value is undefined.
EXTIO,READ,1,OFF
Example:
connector, or
DE15
speed bank.
Control the counter associated with the specified pin. Syntax and
functionality of the command is described in §7.7.
mode
must be one of
is one of thr following.
FPGA
) control, allowing it to be con-
mode commands.
EXTIO,READ
commands to be used.
mode
is either
AUTO
MANUAL
to read the state of the
EXTIO,READ,1,HSBANK
R 3+
only).
or
MAN
, or an unsigned 8-bit
for the specified pins and
OFF
to read the entire high-
115
pin of the
Need help?
Do you have a question about the ARF021 and is the answer not in the manual?