![](/images/new-backgrounds/1109578/10957849x1.webp)
Airborne Enterprise Module Databook |
|
|
|
| Quatech, Inc. |
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Command |
|
| Name |
|
| Description |
|
| |
|
| (Hex) |
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
| |
|
| 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 |
| ||
|
|
|
|
|
|
|
| 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 |
| ||
|
|
|
|
|
|
|
| (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
8/11/2009 | 25 |