/* Initialize the SLCD Glass component. 
This function initializes the LCD driver to control the LCD glass. It perform LCD module initialization according to the XPRO_LCD characteristics.  */
status_code_genare_t xpro_lcd_init(void)
/* Initialize the SLCD Glass component. 
This function initializes the LCD driver to control the LCD glass. It perform LCD module initialization according to the XPRO_LCD characteristics.  */
status_code_genare_t xpro_lcd_init(void)
{
	struct slcd_config config;
	slcd_get_config_defaults(&config);
	config.waveform_mode = SLCD_STANDARD_WAVEFORM_MODE;
	slcd_init(&config);
	slcd_set_frame_counter(SLCD_FRAME_COUNTER_0, false, FRAME_COUNT_OVERFLOW);
	slcd_set_frame_counter(SLCD_FRAME_COUNTER_1, false, FRAME_COUNT_OVERFLOW);
	slcd_set_frame_counter(SLCD_FRAME_COUNTER_2, false, FRAME_COUNT_OVERFLOW);
	slcd_set_contrast(SLCD_CONTRAST);
	return STATUS_OK;
}