eZ430-Chronos Software Projects
Figure 3-12. eZ430-Chronos Software Flowchart
After a power-up reset, the hardware is initialized, the display memory is cleared and the radio is set to
sleep mode. The main loop waits for wake-up events, which can be either a scheduled event such as a
clock interrupt, or a button event.
Button events lead to the execution of either mx_functions or sx_functions.
If the LCD is updated with new data, the modules set a display flag, and LCD Line1, Line2, or both are
updated by calling the menu-specific display functions. Display updates have been reduced as much as
possible; for example, when the time changes from 10:22 to 10:23, only the last digit is updated.
42
eZ430-Chronos Software
SLAU292F – November 2009 – Revised October 2013
Copyright © 2009–2013, Texas Instruments Incorporated