Timex M851 Watch User Manual


 
M851 WristApp Design Guide Rev 1.2
Timex Corporation 19
0x03 CORESET1STATE Handles the application SET 1 processing.
0x04 COREPOPUPSTATE The state to proceed on an application
popup request through the kernel.
0x05 COREPASSWORDDEFAULTSTATE Password entry default state handler
0x06 COREPASSWORDSETBANNERSTATE Password entry set banner state handler
0x07 COREPASSWORDSETSTATE Password entry set state handler
0x08
0xFF
General Purpose State Index These states have no kernel restrictions on
its usage.
USER INTERFACE NOTES:
When in the CORESET1BANNERSTATE, the application must request for a banner timeout
prior to changing state to CORESET1STATE.
APPLICATION NOTE:
If the application does not support a popup state, the state index COREPOPUPSTATE can be used
as a general purpose state index. Same rule follows for COREPASSWORDDEFAULTSTATE,
COREPASSWORDSETBANNERSTATE and COREPASSWORDSETSTATE. This prevents
skipping of unused state indexes.
To support password protection, then the following indexes:
COREPASSWORDDEFAULTSTATE, COREPASSWORDSETBANNERSTATE and
COREPASSWORDSETSTATE should be used for common password entry and verification
utility.
4.4.4 System Events
When the user depresses a switch, or a requested timeout has expired, or a state change was requested, the
kernel will send these events to the foreground state of an application for processing. The following system
events are defined:
System Event Description
COREEVENT_STATEENTRY
Used to initialize a state when it becomes
the foreground state.
Passed always on a mode or state change to
the new state handler.
COREEVENT_TIMEOUTDONE_LOWRES
When a requested low resolution timeout
expires
COREEVENT_TIMEOUTDONE_HIGHRES
When a requested high resolution timeout
expires
COREEVENT_STICKY_TIMEOUTDONE
When a sticky timeout conditions are
completed.
COREEVENT_CROWN_EL_DEPRESS
Passed when the crown is depressed
Used exclusively for EL control
COREEVENT_CROWN_EL_RELEASE
Passed when the depressed crown is
released.
Used exclusively for EL control.