Status Word
Table 2. Driver Services (continued)
Function
Driver
Echo_EnableRSSI
Enables the RSSI module and read RSSI on incoming messages
automatically.
Echo_DisableRSSI
Echo_SetRxSensitivity
Echo_SetTxPower
Echo_RagcHigh
Disables the RSSI module.
Sets receive sensitivity: 1 [sensitive] – 4 [less sensitive].
Sets output power: 1 [high power] – 4 [low power].
Resets the automatic gain control to maximum level.
Allows automatic gain control to take place.
Freezes the automatic gain control level.
Echo_RagcLow
Echo_FagcHigh
Echo_FagcLow
Unfreezes the automatic gain control level.
Reads or writes directly to Echos internal registers.
Changes active bank of Echos registers.
Echo_ChangeConfig
Echo_ChangeBank
Table 3. Driver Storage
Driver
Function
unsigned char
Buffer that the application must fill with transmit settings and data.
echoTransmitBuffer[ECHO_MAX_ For buffer format, see Section 9.5, “Buffer Formats.”
DATA_SIZE+4]
unsigned char *echoNextMessage Pointer to the next received message; updates after
Echo_DriverStatus()
8
Status Word
The status word returned by Echo_DriverStatus()is a 16-bit unsigned int. Figure 5 shows the format of
the word.
Bit
15
14
13
12
11
10
9
8
Name
SwitchMode
Timeout
LVD
Error
RSSI_InPRO RSSI_Enable ModeSwitchD EnableDelay
GRESS
d
elay
Bit
7
6
5
4
3
2
1
0
Name
Mode
Overrun
Checksum
Rx
Tx
MSGReady
Busy
Enabled
Figure 5. Status Word Bit Allocation
The function of each bit is described in Table 4. Multiple bits may be set at any one time to reflect the state
of the device driver at that time.
Software Drivers for MC33696, Rev. 1
10
Freescale Semiconductor