AN2707 Freescale Semiconductor / Motorola, AN2707 Datasheet - Page 21

no-image

AN2707

Manufacturer Part Number
AN2707
Description
Software Drivers for Tango3 RF Transmitter and Romeo2 RF Receiver ICs
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
MOTOROLA
Software Drivers for Tango3 RF Transmitter and Romeo2 RF Receiver ICs
Description:
Values:
Example:
#define TANGO_TIMER_ADDRESS 0x30 /* 1st timer register at address 0x30*/
Description:
Values:
Example:
#define TANGO_TIMER_CHANNEL
These configuration options are set using a number of #define statements in
the Tango.h header file. Using these #defines, the driver can be configured to
run on any HCS08 MCU.
When starting a project using the Tango3 driver, the files ‘Tango.H’ and
‘Tango.C’ should be placed in the project directory, and a #include ‘Tango.H’
statement should be inserted in the main application file.
The Tango.H file contains 17 #define statements that must be configured to
ensure correct operation of the driver. Thirteen #defines are mandatory, and
four are optional, depending on the application’s hardware configuration.
These are described below.
TANGO_TIMER_ADDRESS
TANGO_TIMER_CHANNEL
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
This defines the address of the timer status and control
register, in the MCU's memory map. The timers on all
HCS08 MCUs have the same layout of control registers.
The driver uses this base address to access the timer
control registers.
Address in range 0x0000 - 0xffff
This defines the timer channel used to output data on the
DATA line.
Channel number in the range 0–15.
1
/* Use timer channel 1 */
Tango3 Driver
AN2707
21

Related parts for AN2707