AN2707 Freescale Semiconductor / Motorola, AN2707 Datasheet - Page 41

no-image

AN2707

Manufacturer Part Number
AN2707
Description
Software Drivers for Tango3 RF Transmitter and Romeo2 RF Receiver ICs
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Romeo2 Driver
Configuration
MOTOROLA
Software Drivers for Tango3 RF Transmitter and Romeo2 RF Receiver ICs
Syntax:
Parameters:
Returns:
Description:
Syntax:
Parameters:
Returns:
Description:
RomeoChangeConfig
RomeoSPIRxInt
The Romeo2 driver has a static configuration at compile time. Its configuration
cannot be changed during run time. The driver configuration is defined in a
header file ‘Romeo.h’. Configuration options are available for:
Freescale Semiconductor, Inc.
For More Information On This Product,
Message format
Message data rate
Message modulation format (OOK or FSK)
Carrier frequency
Strobe oscillator function
MCU resources
Go to: www.freescale.com
void RomeoChangeConfig(unsigned char cr1, unsigned
char cr2, unsigned char cr3);
cr1,cr2,cr3
None
The RomeoChangeConfig service allows the application
to directly change the contents of the Romeo2 IC’s
internal 8-bit registers cr1, cr2 and cr3. This gives the user
the option to change carrier frequency, switch on/off the
strobe function, or change other functions. Please consult
the Romeo2 IC datasheet for a full description of the
contents of these registers.
interrupt void RomeoSPIRxInt(void);
None
None
This function is called by the interrupt vector of the SPI
interface used to communicate with the Romeo2 IC. In the
CodeWarrior parameter file, the SPI interrupt vector must
be directed to this function. This function MUST be
included to ensure proper operation of the software
driver.
Romeo2 Driver
AN2707
41

Related parts for AN2707