AN2707 Freescale Semiconductor / Motorola, AN2707 Datasheet - Page 17

no-image

AN2707

Manufacturer Part Number
AN2707
Description
Software Drivers for Tango3 RF Transmitter and Romeo2 RF Receiver ICs
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Tango3 Driver
Services
MOTOROLA
Software Drivers for Tango3 RF Transmitter and Romeo2 RF Receiver ICs
Syntax:
Parameters:
Return:
Description:
Notes:
Syntax:
Parameters:
Return:
Description:
Notes:
This section provides descriptions of each service provided by the Tango3
driver.
TangoInitialise
TangoEnable
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
void TangoInitialise(void);
None
None
The TangoInitialise service performs initialization of the
Tango3 IC and software driver. It does not enable the
Tango3 IC (i.e., the ENABLE pin is held low) to maintain
low power consumption. It performs the following
operations:
This service should be called before any other Tango3
driver services; otherwise, the result of any other Tango3
driver service and the Tango3 driver will be unpredictable.
void TangoEnable(void);
None
None
The TangoEnable service powers up the Tango3 IC and
starts a 2 ms time-out count. During the timeout, the
driver status is set to TANGO_IN_ENABLE_DELAY. At
the end of the 2 ms timeout, the driver status is set to
TANGO_READY. At this point, Tango3 is powered up
and ready to send data.
Typically, the application will call the TangoEnable
service to start up the Tango3 IC. During the 2 ms timeout
it can load a message into the transmit buffer and call the
TangoStatus service to check if the 2 ms timeout has
finished. When TangoStatus returns the value
TANGO_READY, the application is ready to transmit the
message.
Sets the driver status to TANGO_DISABLED
Configures the MCU timer for use with Tango3
(Note that it does not switch the timer on)
Configures MODE and BAND pins, if used
Tango3 Driver
AN2707
17

Related parts for AN2707