M851 WristApp Design Guide Rev 1.2
Timex Corporation 57
DM5_S, DM5_P, DM5_L, DM5_I, DM5_T
Sample Large Dot-Matrix Font Message Display Usage:
// formatted message display
IYReg = lcdFormattedSPLITMessage;
LCD_DISP_FORMATTED_BIG_FONT_DM_MSG;
lcdFormattedSPLITMessage:
LCDMAINDMLINE2COL4, 5, DM8_S, DM8_P, DM8_L, DM8_I, DM8_T
// unformatted message display
IYReg = lcdUnformattedSPLITMessage; // address of message
IXReg = LCDMAINDMLINE2COL4; // display address
BReg = 5 // characters displayed
LCD_DISP_UNFORMATTED_BIG_FONT_DM_MSG;
lcdUnformattedSPLITMessage:
DM8_S, DM8_P, DM8_L, DM8_I, DM8_T
For more information, refer to the Application Programming Interface Document on how to use the
message display macros.
Displaying messages
LCD_DISP_SEG_LINE_MSG
LCD_DISP_FORMATTED_SMALL_PROP_WIDTH_DM_MSG
LCD_DISP_FORMATTED_SMALL_FIXED_WIDTH_DM_MSG
LCD_DISP_UNFORMATTED_SMALL_PROP_WIDTH_DM_MSG
LCD_DISP_UNFORMATTED_SMALL_FIXED_WIDTH_DM_MSG
LCD_DISP_FORMATTED_BIG_FONT_DM_MSG
LCD_DISP_UNFORMATTED_BIG_FONT_DM_MSG
LCD_DISP_BANNER_MSG
4.12.5 Clearing Display Regions
The table below shows the macros to clear specific display regions.
Clearing display regions
LCD_FILL_DISPLAY
LCD_CLR_DISPLAY
LCD_CLR_ALL_FLAGS
LCD_CLR_SEG_LINE
LCD_CLEAR_UPPER_DM
LCD_CLEAR_MAIN_DM
LCD_CLR_MAIN_DM_LINE1
LCD_CLR_MAIN_DM_LINE2