Timex M851 Watch User Manual


 
M851 WristApp Design Guide Rev 1.2
Timex Corporation 48
applications to update system variables or
flags due to an hour update condition. This
will be the initial event passed to start off a
background task process.
COREEVENT_HOUR_UPDATE_START
Request the appointment and alarm type
applications to update system variables or
flags due to an hour update condition. This
will be the initial event passed to start off a
background task process.
COREEVENT_HOUR_UPDATE_CONTINUE
Request the appointment and alarm type
applications to update system variables or
flags due to an hour update condition. This
will be used to continue the processing
initiated previously by the background
handler.
APPLICATION NOTES:
All application must have a background handler (even if it is just a return instruction).
For EEPROM-based applications, the resource handler must be located at the start of the common
section.
4.11.1 Kernel Variables
Since the resource handler is executed mainly as a background task, the kernel provides system variables to
be used exclusively by this handler. Prior to calling an application’s resource handler, the kernel will setup
the variables indicated in the table below.
Kernel System Variable Description
COREBackgroundAppIndex
Application Index of application to process.
COREBackgroundASDAddress
Application System Data address of application to
process.
COREBackgroundADDAddress
Application Database Data address of application to
process.
COREBackgroundEvent
Event passed to the background handler to be processed.
4.12 Display Services
The kernel provides macros to format and display numbers, letters, punctuations and flags on any region of
the display. There are 4 display regions on the M851 display:
Regions Description
Icons Unique icons (12) that can be used to shows status of system and
application.
Upper Dot-Matrix An 11 x 5 dot matrix area. Able to display 2 characters in either fixed or
proportional fonts.
Segment Allows for the display of 6-digit segmented digits.
Main Dot Matrix An 40 x 11 dot matrix area. Able to display characters in either fixed or