Function Headers and Description
Description: This service initializes the Echo module and the device driver software. The Echo module
is configured according to the settings provided in the Echo.H header file via the SPI; the
driver status is disabled; both necessary and optional port pins are configured if used. To
reduce power consumption, neither the Echo module nor the external amplifiers (if
present) are enabled.
Notes:
This service must be called before using any others provided by the Echo driver. Failure
to do so produces unpredictable results.
10.1.2 Echo_Enable
void Echo_Enable(void);
Syntax:
Parameters: None
Return:
None
Description: This service powers Echo into receive mode and waits for arriving messages. It also
enables the external LNA (if present) and schedules a 2 ms start-up delay for Echo using
the timer. If the strobe pin is under driver control, the strobe is taken high to turn Echo on.
The RSSI module is disabled by default, to conserve power. Status bit Enabledis set.
Notes:
While the driver is in the enable delay state (status bit EnableDelayset), no further services
from the Echo driver may be invoked. However, a message may be constructed into the
Tx buffer in preparation to send when the driver state returns to idle (status bit Busy
cleared).
10.1.3 Echo_Disable
void Echo_Disable(void);
Syntax:
Parameters: None
Return:
None
Description: This service powers down Echo into standby mode. The PA, LNA, and strobe are set low.
The timer may be turned off depending on the ECHO_TIMER_DISABLEconfiguration option.
Status bit Enabledis cleared.
Notes:
This service immediately initiates a shutdown of Echo. Any transmission or reception in
progress will be abandoned.
Software Drivers for MC33696, Rev. 1
Freescale Semiconductor
19