English
Language : 

SLAU292C Datasheet, PDF (39/102 Pages) Texas Instruments – eZ430-Chronos™ Development Tool
www.ti.com
eZ430-Chronos Software Projects
3.6.2 eZ430-Chronos Watch Software Flow
The watch software is structured according to the menu items. The source for each menu item is stored in
a separate source file (for example, "temperate.c" for the temperature menu and its functions). Details can
be found in the flow chart below. The data logger application works in a very similar way and therefore is
not described separately.
Each menu item has at least the following functions:
• "UP" or "DOWN" button pushed
• "*" or "#" button is pressed for more than 3 seconds
The source code file "menu.c" contains two linked lists with menu items, one for the upper (Line1), one for
the lower LCD line (Line2). Each list entry contains the following pointers
• Pointer to next menu item
• "UP" or "DOWN" button is pressed
• "*" or "#" button is pressed for more than 3 seconds
To support the various RF frequencies and compiler licenses, the following configurations are available:
RF Frequencies
• 915 MHz (USA)
• 868 MHz (Europe)
• 433 MHz (Other regions)
IDE Versions (CCS, IAR)
• Unrestricted IDE versions
• Free IDE versions (CCS Core Edition, IAR KickStart). To allow recompilation of the source code, parts
of the source code files have been embedded in libraries; for example, the SimpliciTI stack and most of
the hardware drivers.
Figure 3-12 shows the basic software flow of the sports watch application.
SLAU292C – November 2009 – Revised December 2010
Submit Documentation Feedback
© 2009–2010, Texas Instruments Incorporated
eZ430-Chronos Software
39