/* Show text on XPRO_LCD LCD glass alphanumeric field. 
This function will show text on the alphanumeric field of the LCD glass. */
void xpro_lcd_show_text(const uint8_t *data)
/* Show text on XPRO_LCD LCD glass alphanumeric field. 
This function will show text on the alphanumeric field of the LCD glass. */
void xpro_lcd_show_text(const uint8_t *data)
{
	Assert(data);
	uint32_t len = (uint32_t)strlen((char *) data);
	len = (len > XPRO_LCD_MAX_CHAR) ? XPRO_LCD_MAX_CHAR : len;
	slcd_character_map_set(SLCD_AUTOMATED_CHAR_START_FROM_BOTTOM_RIGHT,
			XPRO_LCD_MAX_NUM-2);
	for (uint32_t i = 0; *data != '\0'; i++) {
		slcd_character_write_data(0, XPRO_LCD_TXT_SEG_INDEX_S +
				i * (XPRO_LCD_MAX_NUM-1), DIGI_LUT[*(data++) - 32], 0x4002);
	}
}