Exemplo n.º 1
0
static int configure_lcd_overo(void)
{
	reset_display_controller();

	if (overo_panel_enable_lcd()) {
		return -1;
	}

	return 0;
}
Exemplo n.º 2
0
//  Function:  lcd_config
//  This function configures the LCD
void lcd_config(void){    

	reset_display_controller();

	// Enable LCD clocks
	enable_lcd_power();

	// Configure the DSS registers
	configure_dss(framebuffer);

	// Display data on LCD
	display_lcd_image();
}
Exemplo n.º 3
0
//------------------------------------------------------------------------------
//
//  Function:  lcd_config
//
//  This function configures the LCD
//
void lcd_config(UINT32 framebuffer)
{    
    reset_display_controller();

    // Enable LCD clocks
    enable_lcd_power();

    // Configure the DSS registers
    configure_dss(framebuffer);
      
    // Display data on LCD
    display_lcd_image() ;
    
    //if (IsDVIMode())
        // DVI is selected, disable backlight
    //    disable_lcd_backlight();
    //else
        // Turn on backlight last
        enable_lcd_backlight();

}
Exemplo n.º 4
0
static int configure_lcd_evm()
{

	reset_display_controller();

	if (enable_lcd_backlight()) {
		return -1;
	}
	if (enable_lcd_power()) {
		return -1;
	}
	if (configure_vga_mode()) {
		return -1;
	}

	printf("%d\t%d\n",disable_lcd_reset(),__LINE__);
	printf("%d\t%d\n",enable_lcd_HVIF(),__LINE__);
	printf("%d\t%d\n",enable_lcd_reset(),__LINE__);
	printf("%d\t%d\n",enable_INI(),__LINE__);
	printf("%d\t%d\n",configure_vert_scan_direction(CONV_SCAN_DIRECTION),__LINE__);
	printf("%d\t%d\n",configure_horiz_scan_direction(CONV_SCAN_DIRECTION),__LINE__);

	return 0;
}