Function Headers and Description
10.5.2 Echo_RxSPI_Interrupt
interrupt void Echo_RxSPI_Interrupt(void);
Syntax:
Parameters: None
Return:
None
Description: This function is used by the driver to receive information from the Echo module. This
function must be linked to the interrupt vector for the SPI module in use.
10.6 Programmable Frequency
10.6.1 Echo_SetFreqOok, Echo_SetFreqFsk (Echo_SetFreq only for
compatibility)
Syntax:
[OOK modulation]—Echo_SetFreqOok(unsigned int carrier);
[FSK Modulation]—Echo_SetFreqFsk(unsigned int carrier, unsigned char deltaF);
Parameters: carrier—the value to set the carrier register bits to
deltaF—the value to set the frequency deviation to
Return:
None
Description: Allows the frequency within the (statically) selected transmission band to be controlled.
The values to place in each register may be calculated using the formula from the Echo
data sheet.
Notes:
Requires Echo to be reset into configuration mode and will abort any transmission or
reception currently in progress. Status bit Busyis set while the configuration takes place.
The driver sets up the working bank. If you have selected both banks, the driver sets the
register up in both banks.
Software Drivers for MC33696, Rev. 1
24
Freescale Semiconductor