Timex M851 Watch User Manual


 
M851 WristApp Design Guide Rev 1.2
Timex Corporation 63
scroll rate. All messages intended for scrolling should have the DM5_SENTINEL character as the last
character in the message.
Display Macro Description
LCD_SCROLL_RAM_OR_ROM_MSG_M
AIN_DM_LINE1
scroll data from ROM or RAM in line 1 of the main
DM area
LCD_SCROLL_RAM_OR_ROM_MSG_M
AIN_DM_LINE2
scroll data from ROM or RAM in line 2 of the main
DM area
Sample code to scroll a message in application system data area:
IYReg = *CORECurrentASDAddress + ALMEDBMESSAGEOFFSET;
LCD_SCROLL_RAM_OR_ROM_MSG_MAIN_DM_LINE2 EVENT_OFF;
APPLICATION NOTE:
An application can specify that an event be passed back to the state handler whenever the entire
message has been displayed. This is useful for popup state handlers where it will initiate a
popdown operation only when the entire message has been displayed.
4.19 Password Protection
The Application Control Block will have a flag that will indicate that a password is required for the
application prior to going into the default state.
The application will provide for a password state available in the state manager framework. The
application banner state will make the decision (based on the ACB password flag) to proceed directly to
default state or go to the password state.
The kernel will provide a utility that will be used to handle the application peek state for password entry
and verification. If the password is entered correctly, it will proceed to the default state. If not, it will
remain in the password state. The utility will also handle MODE change requests.
The password state handlers are:
corePasswordDefaultStateHandler()
corePasswordSetBannerStateHandler()
corePasswordSetStateHandler()