Operation Manual

eZ430-Chronos Software Projects
www.ti.com
To disconnect, press the "DOWN" button. If one watch is moved out of range or if the link is lost for any
other reason, the watch tries to send messages for some time and, if the other device cannot be found, it
automatically exits C2C mode.
3.6.3 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 in Figure 3-13. 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 three seconds
The source code file "menu.c" contains two linked lists with menu items, one for the upper LCD line
(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 three 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-13 shows the basic software flow of the sports watch application.
48
eZ430-Chronos Software SLAU292DNovember 2009Revised March 2011
Submit Documentation Feedback
© 2009–2011, Texas Instruments Incorporated