vedio_gr_peach

Fork of GR-PEACH_video by Renesas

Committer:
dkato
Date:
Thu Jun 30 11:00:37 2016 +0000
Revision:
4:aeefe5171463
Parent:
0:853f5b7408a7
Add ARGB4444 to graphics layer read format.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dkato 0:853f5b7408a7 1 /*******************************************************************************
dkato 0:853f5b7408a7 2 * DISCLAIMER
dkato 0:853f5b7408a7 3 * This software is supplied by Renesas Electronics Corporation and is only
dkato 0:853f5b7408a7 4 * intended for use with Renesas products. No other uses are authorized. This
dkato 0:853f5b7408a7 5 * software is owned by Renesas Electronics Corporation and is protected under
dkato 0:853f5b7408a7 6 * all applicable laws, including copyright laws.
dkato 0:853f5b7408a7 7 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING
dkato 0:853f5b7408a7 8 * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
dkato 0:853f5b7408a7 9 * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
dkato 0:853f5b7408a7 10 * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.
dkato 0:853f5b7408a7 11 * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS
dkato 0:853f5b7408a7 12 * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE
dkato 0:853f5b7408a7 13 * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR
dkato 0:853f5b7408a7 14 * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE
dkato 0:853f5b7408a7 15 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
dkato 0:853f5b7408a7 16 * Renesas reserves the right, without notice, to make changes to this software
dkato 0:853f5b7408a7 17 * and to discontinue the availability of this software. By using this software,
dkato 0:853f5b7408a7 18 * you agree to the additional terms and conditions found by accessing the
dkato 0:853f5b7408a7 19 * following link:
dkato 0:853f5b7408a7 20 * http://www.renesas.com/disclaimer
dkato 0:853f5b7408a7 21 * Copyright (C) 2012 - 2015 Renesas Electronics Corporation. All rights reserved.
dkato 0:853f5b7408a7 22 *******************************************************************************/
dkato 0:853f5b7408a7 23 /**************************************************************************//**
dkato 0:853f5b7408a7 24 * @file lcd_panel.h
dkato 0:853f5b7408a7 25 * @version 1.00
dkato 0:853f5b7408a7 26 * $Rev: 199 $
dkato 0:853f5b7408a7 27 * $Date:: 2014-05-23 16:33:52 +0900#$
dkato 0:853f5b7408a7 28 * @brief LCD panel definition header
dkato 0:853f5b7408a7 29 ******************************************************************************/
dkato 0:853f5b7408a7 30
dkato 0:853f5b7408a7 31 #ifndef LCD_PANEL_H
dkato 0:853f5b7408a7 32 #define LCD_PANEL_H
dkato 0:853f5b7408a7 33
dkato 0:853f5b7408a7 34 /******************************************************************************
dkato 0:853f5b7408a7 35 Includes <System Includes> , "Project Includes"
dkato 0:853f5b7408a7 36 ******************************************************************************/
dkato 0:853f5b7408a7 37 #include <stdlib.h>
dkato 0:853f5b7408a7 38
dkato 0:853f5b7408a7 39 #include "r_typedefs.h"
dkato 0:853f5b7408a7 40
dkato 0:853f5b7408a7 41 #include "r_vdc5.h"
dkato 0:853f5b7408a7 42
dkato 0:853f5b7408a7 43
dkato 0:853f5b7408a7 44 /******************************************************************************
dkato 0:853f5b7408a7 45 Macro definitions
dkato 0:853f5b7408a7 46 ******************************************************************************/
dkato 0:853f5b7408a7 47 /* LCD panel select (CH0)
dkato 0:853f5b7408a7 48 1: Analog RGB D-sub15, SVGA 800x600 debug code for GENMAI Board
dkato 0:853f5b7408a7 49 2: Gr-peach, WVGA 800x480 Not support
dkato 0:853f5b7408a7 50 */
dkato 0:853f5b7408a7 51 #define LCD_CH0_PANEL_ANALOG_RGB (1) /* debug */
dkato 0:853f5b7408a7 52 #define LCD_CH0_PANEL_GR_PEACH (2) /* Not support */
dkato 0:853f5b7408a7 53 #define LCD_VDC5_CH0_PANEL LCD_CH0_PANEL_GR_PEACH
dkato 0:853f5b7408a7 54
dkato 0:853f5b7408a7 55 /* LCD panel select (CH1)
dkato 0:853f5b7408a7 56 1: Analog RGB D-sub15, SVGA 800x600 debug code for GENMAI Board
dkato 0:853f5b7408a7 57 */
dkato 0:853f5b7408a7 58 #define LCD_CH1_PANEL_ANALOG_RGB (1) /* debug */
dkato 0:853f5b7408a7 59 #define LCD_VDC5_CH1_PANEL LCD_CH1_PANEL_ANALOG_RGB
dkato 0:853f5b7408a7 60
dkato 0:853f5b7408a7 61
dkato 0:853f5b7408a7 62 #if (LCD_VDC5_CH0_PANEL==1)
dkato 0:853f5b7408a7 63 #include "lcd_analog_rgb_ch0.h"
dkato 0:853f5b7408a7 64 #elif (LCD_VDC5_CH0_PANEL==2)
dkato 0:853f5b7408a7 65 #include "lcd_gr_peach_ch0.h" /* Not support */
dkato 0:853f5b7408a7 66 #else
dkato 0:853f5b7408a7 67 #error Undefined LCD panel!
dkato 0:853f5b7408a7 68 #endif
dkato 0:853f5b7408a7 69
dkato 0:853f5b7408a7 70 #if (LCD_VDC5_CH1_PANEL==1)
dkato 0:853f5b7408a7 71 #include "lcd_analog_rgb_ch1.h"
dkato 0:853f5b7408a7 72 #else
dkato 0:853f5b7408a7 73 #error Undefined LCD panel!
dkato 0:853f5b7408a7 74 #endif
dkato 0:853f5b7408a7 75
dkato 0:853f5b7408a7 76
dkato 0:853f5b7408a7 77 /******************************************************************************
dkato 0:853f5b7408a7 78 Typedef definitions
dkato 0:853f5b7408a7 79 ******************************************************************************/
dkato 0:853f5b7408a7 80
dkato 0:853f5b7408a7 81 /******************************************************************************
dkato 0:853f5b7408a7 82 Exported global functions (to be accessed by other files)
dkato 0:853f5b7408a7 83 ******************************************************************************/
dkato 0:853f5b7408a7 84 void GRAPHICS_SetLcdPanel(const vdc5_channel_t channel);
dkato 0:853f5b7408a7 85 void GRAPHICS_SetLcdTconSettings(const vdc5_channel_t channel, const vdc5_lcd_tcon_timing_t * * const outctrl);
dkato 0:853f5b7408a7 86 vdc5_lvds_t * GRAPHICS_GetLvdsParam(const vdc5_channel_t channel);
dkato 0:853f5b7408a7 87
dkato 0:853f5b7408a7 88
dkato 0:853f5b7408a7 89 #endif /* LCD_PANEL_H */