Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of gr-peach-opencv-project-sd-card by
lcd_gr_peach_ch0.h
00001 /******************************************************************************* 00002 * DISCLAIMER 00003 * This software is supplied by Renesas Electronics Corporation and is only 00004 * intended for use with Renesas products. No other uses are authorized. This 00005 * software is owned by Renesas Electronics Corporation and is protected under 00006 * all applicable laws, including copyright laws. 00007 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING 00008 * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT 00009 * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE 00010 * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED. 00011 * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS 00012 * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE 00013 * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR 00014 * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE 00015 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 00016 * Renesas reserves the right, without notice, to make changes to this software 00017 * and to discontinue the availability of this software. By using this software, 00018 * you agree to the additional terms and conditions found by accessing the 00019 * following link: 00020 * http://www.renesas.com/disclaimer 00021 * Copyright (C) 2012 - 2015 Renesas Electronics Corporation. All rights reserved. 00022 *******************************************************************************/ 00023 /**************************************************************************//** 00024 * @file lcd_gr_peach_ch0.h 00025 * @version 1.00 00026 * $Rev: 199 $ 00027 * $Date:: 2014-05-23 16:33:52 +0900#$ 00028 * @brief LCD panel for vdc5 channel 0 definition header 00029 ******************************************************************************/ 00030 00031 #ifndef LCD_GR_PEACH_CH0_H 00032 #define LCD_GR_PEACH_CH0_H 00033 00034 #ifndef LCD_PANEL_H 00035 #error Do not include this file directly! 00036 #else 00037 /****************************************************************************** 00038 Includes <System Includes> , "Project Includes" 00039 ******************************************************************************/ 00040 #include <stdlib.h> 00041 00042 #include "r_typedefs.h" 00043 00044 #include "r_vdc5.h" 00045 00046 00047 /****************************************************************************** 00048 Macro definitions 00049 ******************************************************************************/ 00050 /* Not support */ 00051 #define LCD_CH0_DISP_HS (128u) /* LCD display area size, horizontal start position */ 00052 #define LCD_CH0_DISP_HW (800u) /* LCD display area size, horizontal width */ 00053 #define LCD_CH0_DISP_VS (10u) /* LCD display area size, vertical start position */ 00054 #define LCD_CH0_DISP_VW (480u) /* LCD display area size, height (vertical width) */ 00055 #define LCD_CH0_SIG_FV (525u - 1u) /* Free-running Vsync period */ 00056 #define LCD_CH0_SIG_FH (1056u - 1u) /* Hsync period */ 00057 /* Pixel data is latched in the falling edge of pixel clock. 00058 Therefore, pixel data should be output from VDC5 at the rising edge of the clock. */ 00059 #define LCD_CH0_OUT_EDGE VDC5_EDGE_RISING /* Output phase control of LCD_DATA[23:0] signal */ 00060 #define LCD_CH0_OUT_FORMAT VDC5_LCD_OUTFORMAT_RGB666 /* LCD output format select */ 00061 00062 #define LCD_CH0_PANEL_CLK VDC5_PANEL_ICKSEL_PERI /* Panel clock select */ 00063 #define LCD_CH0_PANEL_CLK_DIV VDC5_PANEL_CLKDIV_1_2 /* Panel clock frequency division ratio */ 00064 00065 #define LCD_CH0_TCON_HALF (LCD_CH0_SIG_FH / 2u) /* TCON reference timing, 1/2fH timing */ 00066 #define LCD_CH0_TCON_OFFSET (0u) /* TCON reference timing, offset Hsync signal timing */ 00067 00068 00069 /****************************************************************************** 00070 Typedef definitions 00071 ******************************************************************************/ 00072 00073 /****************************************************************************** 00074 Exported global functions (to be accessed by other files) 00075 ******************************************************************************/ 00076 void GRAPHICS_SetLcdPanel_Ch0(void); 00077 void GRAPHICS_SetLcdTconSettings_Ch0(const vdc5_lcd_tcon_timing_t * * const outctrl); 00078 00079 00080 #endif /* LCD_PANEL_H not defined */ 00081 #endif /* LCD_GR_PEACH_CH0_H */
Generated on Tue Jul 12 2022 14:47:13 by
1.7.2
