Graphics framework for GR-PEACH. When you use this program, we judge you have agreed to the following contents. https://developer.mbed.org/teams/Renesas/wiki/About-LICENSE

Dependents:   ImageZoomInout_Sample ImageRotaion_Sample ImageScroll_Sample GR-PEACH_LCD_4_3inch_Save_to_USB ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers r_ospl_os_less_private.h Source File

r_ospl_os_less_private.h

Go to the documentation of this file.
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  r_ospl_os_less_private.h
00025 * @brief   OS Porting Layer private functions for OS less
00026 *
00027 * $Module: OSPL $ $PublicVersion: 0.90 $ (=R_OSPL_VERSION)
00028 * $Rev: 35 $
00029 * $Date:: 2014-04-15 21:38:18 +0900#$
00030 */
00031 
00032 #ifndef OSPL_OS_LESS_PRIVATE_H
00033 #define OSPL_OS_LESS_PRIVATE_H
00034 
00035 /******************************************************************************
00036 Includes   <System Includes> , "Project Includes"
00037 ******************************************************************************/
00038 #include "r_ospl_os_less_typedef.h"
00039 #include "./r_ospl.h"
00040 
00041 #ifdef __cplusplus
00042 extern "C" {
00043 #endif /* __cplusplus */
00044 
00045 
00046 /******************************************************************************
00047 Typedef definitions
00048 ******************************************************************************/
00049 
00050 
00051 /**
00052 * @struct  r_ospl_master_t
00053 * @brief  Variables for OSPL
00054 */
00055 typedef struct st_r_ospl_master_t  r_ospl_master_t;
00056 struct st_r_ospl_master_t {
00057 #if ! R_OSPL_IS_PREEMPTION
00058     /** CurrentThread */
00059     r_ospl_thread_def_t    *CurrentThread;
00060 
00061     /** IdleCallback */
00062     r_ospl_idle_callback_t  IdleCallback;
00063 #endif
00064     /** IsFreeRunTimerSpec */
00065     bool_t  IsFreeRunTimerSpec;
00066 
00067     /** FreeRunTimerSpec */
00068     r_ospl_ftimer_spec_t  FreeRunTimerSpec;
00069 
00070     /** MaxOneTimeoutTime */
00071     uint32_t  MaxOneTimeoutTime;
00072 };
00073 
00074 
00075 /* Section: Global */
00076 /******************************************************************************
00077 Macro definitions
00078 ******************************************************************************/
00079 
00080 /******************************************************************************
00081 Variable Externs
00082 ******************************************************************************/
00083 
00084 /******************************************************************************
00085 Functions Prototypes
00086 ******************************************************************************/
00087 
00088 /**
00089 * @brief   Returns <r_ospl_master_t> type variable.
00090 *
00091 * @par Parameters
00092 *    None
00093 * @return  <r_ospl_master_t> type variable.
00094 */
00095 r_ospl_master_t  *R_OSPL_GetPrivateContext(void);
00096 
00097 
00098 /**
00099 * @brief   Sub routine of <R_OSPL_MEMORY_Flush>
00100 *
00101 * @par Parameters
00102 *    None
00103 * @return  None
00104 */
00105 void    R_OSPL_MEMORY_Flush_Sub(void);
00106 
00107 
00108 /**
00109 * @brief   GetCacheLineSize
00110 *
00111 * @par Parameters
00112 *    None
00113 * @return  CacheLineSize
00114 */
00115 size_t  R_OSPL_MEMORY_GetCacheLineSize(void);
00116 
00117 
00118 /**
00119 * @brief   Sub routine of <R_OSPL_MEMORY_RangeFlush>
00120 *
00121 * @par Parameters
00122 *    None
00123 * @return  None
00124 */
00125 void    R_OSPL_MEMORY_RangeFlush_Sub( uintptr_t Start,  uintptr_t Over,  size_t CacheLineSize );
00126 
00127 
00128 #ifdef __cplusplus
00129 }  /* extern "C" */
00130 #endif /* __cplusplus */
00131 
00132 #endif /* OSPL_OS_LESS_PRIVATE_H */
00133