Vekatech / VK_RZ_A1H_LCD_demo
Committer:
tvendov
Date:
Thu Feb 16 10:23:48 2017 +0000
Revision:
0:6435b67ad23c
Initial lcd support (VKLCD50RTA & VKLCD70RT companion boards)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tvendov 0:6435b67ad23c 1 /*******************************************************************************
tvendov 0:6435b67ad23c 2 * DISCLAIMER
tvendov 0:6435b67ad23c 3 * This software is supplied by Renesas Electronics Corporation and is only
tvendov 0:6435b67ad23c 4 * intended for use with Renesas products. No other uses are authorized. This
tvendov 0:6435b67ad23c 5 * software is owned by Renesas Electronics Corporation and is protected under
tvendov 0:6435b67ad23c 6 * all applicable laws, including copyright laws.
tvendov 0:6435b67ad23c 7 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING
tvendov 0:6435b67ad23c 8 * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
tvendov 0:6435b67ad23c 9 * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
tvendov 0:6435b67ad23c 10 * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.
tvendov 0:6435b67ad23c 11 * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS
tvendov 0:6435b67ad23c 12 * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE
tvendov 0:6435b67ad23c 13 * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR
tvendov 0:6435b67ad23c 14 * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE
tvendov 0:6435b67ad23c 15 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
tvendov 0:6435b67ad23c 16 * Renesas reserves the right, without notice, to make changes to this software
tvendov 0:6435b67ad23c 17 * and to discontinue the availability of this software. By using this software,
tvendov 0:6435b67ad23c 18 * you agree to the additional terms and conditions found by accessing the
tvendov 0:6435b67ad23c 19 * following link:
tvendov 0:6435b67ad23c 20 * http://www.renesas.com/disclaimer
tvendov 0:6435b67ad23c 21 * Copyright (C) 2012 - 2014 Renesas Electronics Corporation. All rights reserved.
tvendov 0:6435b67ad23c 22 *******************************************************************************/
tvendov 0:6435b67ad23c 23 /*******************************************************************************
tvendov 0:6435b67ad23c 24 * $FileName: RGA_VRAM.c $
tvendov 0:6435b67ad23c 25 * $Module: CLibCommon $ $PublicVersion: 1.00 $ (=CLIB_VERSION)
tvendov 0:6435b67ad23c 26 * $Rev: 40 $
tvendov 0:6435b67ad23c 27 * $Date:: 2013-12-18 20:02:45 +0900#$
tvendov 0:6435b67ad23c 28 * Description : Sample functions
tvendov 0:6435b67ad23c 29 *******************************************************************************/
tvendov 0:6435b67ad23c 30
tvendov 0:6435b67ad23c 31
tvendov 0:6435b67ad23c 32 /******************************************************************************
tvendov 0:6435b67ad23c 33 Includes <System Includes> , "Project Includes"
tvendov 0:6435b67ad23c 34 ******************************************************************************/
tvendov 0:6435b67ad23c 35 #include "Project_Config.h"
tvendov 0:6435b67ad23c 36 #include "r_typedefs.h"
tvendov 0:6435b67ad23c 37 #include "r_ospl.h"
tvendov 0:6435b67ad23c 38
tvendov 0:6435b67ad23c 39
tvendov 0:6435b67ad23c 40 /******************************************************************************
tvendov 0:6435b67ad23c 41 Typedef definitions
tvendov 0:6435b67ad23c 42 ******************************************************************************/
tvendov 0:6435b67ad23c 43
tvendov 0:6435b67ad23c 44 /******************************************************************************
tvendov 0:6435b67ad23c 45 Macro definitions
tvendov 0:6435b67ad23c 46 ******************************************************************************/
tvendov 0:6435b67ad23c 47
tvendov 0:6435b67ad23c 48 /******************************************************************************
tvendov 0:6435b67ad23c 49 Imported global variables and functions (from other files)
tvendov 0:6435b67ad23c 50 ******************************************************************************/
tvendov 0:6435b67ad23c 51
tvendov 0:6435b67ad23c 52 /******************************************************************************
tvendov 0:6435b67ad23c 53 Exported global variables and functions (to be accessed by other files)
tvendov 0:6435b67ad23c 54 ******************************************************************************/
tvendov 0:6435b67ad23c 55
tvendov 0:6435b67ad23c 56 /******************************************************************************
tvendov 0:6435b67ad23c 57 Private global variables and functions
tvendov 0:6435b67ad23c 58 ******************************************************************************/
tvendov 0:6435b67ad23c 59
tvendov 0:6435b67ad23c 60 #if ! IS_VDC_SAMPLE_VRAM_USED
tvendov 0:6435b67ad23c 61
tvendov 0:6435b67ad23c 62 /* <MapSection attribute="Uncached"/> */
tvendov 0:6435b67ad23c 63 R_OSPL_SECTION_FOR_ZERO_INIT( "VRAM",
tvendov 0:6435b67ad23c 64 static uint8_t gs_FrameBufferMemory[ 0x00300000 ] );
tvendov 0:6435b67ad23c 65
tvendov 0:6435b67ad23c 66 void R_MEMORY_SECTION_GetMemory_ClibSamplesC( uint8_t **out_Address, size_t *out_Size )
tvendov 0:6435b67ad23c 67 {
tvendov 0:6435b67ad23c 68 *out_Address = gs_FrameBufferMemory;
tvendov 0:6435b67ad23c 69 *out_Size = sizeof( gs_FrameBufferMemory );
tvendov 0:6435b67ad23c 70 }
tvendov 0:6435b67ad23c 71
tvendov 0:6435b67ad23c 72 #endif
tvendov 0:6435b67ad23c 73
tvendov 0:6435b67ad23c 74
tvendov 0:6435b67ad23c 75