eZ430-Chronos Software Projects
3.6.2 eZ430-Chronos Software Flow
The Chronos module 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
. 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.
shows the basic software flow of the demo application.
41
SLAU292F – November 2009 – Revised October 2013
eZ430-Chronos Software
Copyright © 2009–2013, Texas Instruments Incorporated