Airborne Enterprise Module Databook Quatech, Inc.
100-8080-110 8/11/2009 25
Command
(Hex)
Name
Description
0x10
INTENA
The INTENA command will enable interrupts from the module.
For this command, the PARM1 field will define the interrupts to
be enabled.
The definition of the PARM1 field is as follows:
B7 Interrupt Sense – Determines the asserted state of
the interrupt pin. If this bit is set, the interrupt pin
will be active high, otherwise the interrupt pin will be
active low.
B1 TX Interrupt – If this bit is set, the interrupt pin will
be asserted when there is space available in the Tx
buffer.
B0 RX Interrupt – If this bit is set, the interrupt pin will
be asserted when there is Rx data available.
0x20
INTDIS
The INTDIS command will disable interrupts from the module.
For this command, the PARM1 field will define the interrupts to
be disabled.
The definition of the PARM1 field is as follows:
B1 TX Interrupt – If this bit is set, The Tx interrupt
function will be disabled.
B0 RX Interrupt – If this bit is set, the Rx interrupt
function will be disabled.
0x40
TXDATA
The TXDATA command is used to send data to the module to
be transmitted on the wireless link.
The host may send at most the number of bytes indicated by the
Tx Buffer Available field in the Rx Message Header. The actual
length sent by the host is determined by the 16 bit value in
PARM2. The value in PARM2 is little-endian (LSB first) and
must be less than or equal to the number in the Tx Buffer
Available field. Any bytes sent in excess of this number will be
ignored.
0x80
RXDATA
The RXDATA command is used to receive data from the
module that has been received on the wireless link.
The host may receive at most the number of bytes indicated by
the Rx Data Available field in the Rx Message Header. The
actual number of bytes received by the host is determined by
the 16 bit value in PARM2. The value in PARM2 is little-endian
(LSB first) and must be less than or equal to the number in the
Rx Data Available field. If additional clock cycles are sent to the
module beyond this number, meaningless data will be returned.
The TXDATA and RXDATA commands can be combined for full-duplex
operation. For example, a command byte of 0xC0 would be a TXDATA and
RXDATA command combined. The result of this command would be that the
module would accept data being shifted in as Tx data, while at the same time, Rx
data would be shifted out. In this case, the number of bytes transferred for
TXDATA must be equal to the number of bytes transferred for RXDATA. The
PARM2 parameter will indicate the number of bytes to be transferred for both the
TXDATA and RXDATA commands.