114
Appendix C. Command language
LATCH
The
OFF
pin is enabled and once tripped,
the output stays off
until reset (
interlock
mode).
TOGGLE
The
OFF
pin directly specifies the state of the
RF
switch, with logic
HIGH
=
RF
off,
LOW
=
RF
on. If the pin is physically disconnected,
the switch will be off.
If
pin
is
HSB
, then
mode
must be one of
READ
Configure the 8 pins of the bank for input (
Rev3+
only).
WRITE
Configure the 8 pins of the bank for output.
This command does not apply to any other pins.
CONTROL
Sets or returns the current control mechanism for the specified pin.
Syntax:
EXTIO,CONTROL,ch,pin,mode
The parameter
mode
is one of thr following.
AUTO
Set the pin to automatic (
FPGA
) control, allowing it to be con-
trolled by
TABLE
mode commands.
MAN
Set
the
pin
to
manual
(microcontroller)
control,
allowing
the
EXTIO,WRITE
and
EXTIO,READ
commands to be used.
If
pin
is
HSBANK
, the command sets the mode of all 8 pins in the
bank. In this case,
mode
is either
AUTO
or
MAN
, or an unsigned 8-bit
integer where each bit corresponds to setting the associated pin into
automatic (1) or manual (0) mode.
CTRL
Synonym for
CONTROL
WRITE
Sets the control mechanism to
MANUAL
for the specified pins and
outputs the supplied
data
.
Structure:
EXTIO,WRITE,ch,pin[,data]
Example:
EXTIO,WRITE,1,HS1,1
READ
Returns the current output value of the specified pin(s). If the pin is
in automatic mode, the value is undefined.
Example:
EXTIO,READ,1,OFF
to read the state of the
OFF
pin of the
Summary of Contents for ARF021
Page 1: ...Agile RF Synthesizer AOM driver ARF021 ARF421 XRF021 XRF421 Version 1 5 0 Rev 6 ...
Page 4: ...ii ...
Page 10: ...viii Contents ...
Page 26: ...16 Chapter 3 Communications ...
Page 44: ...34 Chapter 5 External modulation ...
Page 50: ...40 Chapter 6 PID stabilisation ...
Page 64: ...54 Chapter 7 Digital I O ...
Page 100: ...90 Chapter 9 Advanced table mode XRF ...
Page 128: ...118 Appendix C Command language ...
Page 133: ......