Timex M851 Watch User Manual


 
M851 WristApp Design Guide Rev 1.2
Timex Corporation 56
LCD_DISP_BIG_2DIGIT_DM_DATA_SUP_ZERO
LCD_DISP_BIG_3DIGIT_DM_DATA_SUP_ZERO
LCD_DISP_BIG_2DIGIT_DM_DATA_SUP_ZERO_MSD
LCD_DISP_BIG_3DIGIT_DM_DATA_NO_LSD_SUP
LCD_DISP_BIG_2DIGIT_DM_DATA_NO_ZERO_SUP
LCD_DISP_BIG_3DIGIT_DM_DATA_NO_ZERO_SUP
Clearing 2-digit/3-digit in Dot Matrix Regions
LCD_CLR_SMALL_PROP_WIDTH_2DIG_DM_DATA
LCD_CLR_SMALL_FIXED_WIDTH_2DIG_DM_DATA
LCD_CLR_SMALL_PROP_WIDTH_3DIG_DM_DATA
LCD_CLR_SMALL_FIXED_WIDTH_3DIG_DM_DATA
4.12.3 Displaying Alphanumeric Characters
The kernel provides macros to display a character to any display region.
Displaying an alphanumeric character
LCD_DISP_SEG_CHAR
LCD_DISP_SMALL_PROP_WIDTH_DM_CHAR
LCD_DISP_SMALL_FIXED_WIDTH_DM_CHAR
LCD_DISP_BIG_DM_CHAR
Clearing character/digit position
LCD_CLR_2DIGIT_SEG
LCD_CLR_3DIGIT_SEG
LCD_CLR_BIG_2DIGIT_DM_DATA
LCD_CLR_BIG_3DIGIT_DM_DATA
4.12.4 Displaying Messages
Each display message macro requires a specific format in the definition of the message.
Sample Segment Message Display Usage:
IYReg = lcdSegMsg_WEEKLY;
LCD_DISP_SEG_LINE_MSG;
lcdSegMsg_WEEKLY:
db SEG_W, SEG_E, SEG_E, SEG_K, SEG_L, SEG_Y
Sample Regular Dot-Matrix Font Message Display Usage:
// formatted message display
IYReg = lcdFormattedSPLITMessage;
LCD_DISP_FORMATTED_SMALL_FIXED_WIDTH_DM_MSG;
lcdFormattedSPLITMessage:
LCDMAINDMLINE2COL4, 5, DM5_S, DM5_P, DM5_L, DM5_I, DM5_T
// unformatted message display
IYReg = lcdUnformattedSPLITMessage; // address of message
IXReg = LCDMAINDMLINE2COL4; // display address
BReg = 5; // characters displayed
LCD_DISP_UNFORMATTED_SMALL_PROP_WIDTH_DM_MSG;
lcdUnformattedSPLITMessage: