]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_R4F_RZ_T_GCC_IAR/System/GCC/inc/r_typedefs.h
FreeRTOS source:
[freertos] / FreeRTOS / Demo / CORTEX_R4F_RZ_T_GCC_IAR / System / GCC / inc / r_typedefs.h
1 /***********************************************************************************************************************
2 * DISCLAIMER
3 * This software is supplied by Renesas Electronics Corporation and is only
4 * intended for use with Renesas products. No other uses are authorized. This
5 * software is owned by Renesas Electronics Corporation and is protected under
6 * all applicable laws, including copyright laws.
7 * THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING
8 * THIS SOFTWARE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
9 * LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
10 * AND NON-INFRINGEMENT. ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.
11 * TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY LAW, NEITHER RENESAS
12 * ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE
13 * FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR
14 * ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR ITS AFFILIATES HAVE
15 * BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
16 * Renesas reserves the right, without notice, to make changes to this software
17 * and to discontinue the availability of this software. By using this software,
18 * you agree to the additional terms and conditions found by accessing the
19 * following link:
20 * http://www.renesas.com/disclaimer
21 *
22 * Copyright (C) 2014 Renesas Electronics Corporation. All rights reserved.
23 ***********************************************************************************************************************/
24 /***********************************************************************************************************************
25 * File Name     : r_typedefs.h
26 * Device(s)     : RZ/A1H (R7S910018)
27 * Tool-Chain    : GNUARM-NONEv14.02-EABI
28 * H/W Platform  : RSK+T1 CPU Board
29 * Description   : basic type definition
30 ***********************************************************************************************************************/
31 /***********************************************************************************************************************
32 * History       : DD.MM.YYYY Version Description
33 *               : 21.10.2014 1.00
34 ***********************************************************************************************************************/
35
36
37 /***********************************************************************************************************************
38 Includes <System Includes> , "Project Includes"
39 ***********************************************************************************************************************/
40 #include <stdint.h>
41 /* Multiple inclusion prevention macro */
42 #ifndef R_TYPEDEFS_H
43 #define R_TYPEDEFS_H
44
45
46 /* in case <stdio.h> has defined it. */
47 #ifndef     NULL
48 #define     NULL        (0)
49 #endif
50
51 /***********************************************************************************************************************
52 Macro definitions
53 ***********************************************************************************************************************/
54 #if !defined(__bool_true_false_are_defined) && !defined(__cplusplus)
55
56 #define     FALSE       (0)
57 #define     TRUE        (1)
58
59 #endif
60
61 /* These two macros are used to suppress warnings generated by unused variables.
62    Writing to some registers require a read instruction following the write.
63    A dummy variable is declared and used to read the register written to. */
64 #define     UNUSED_PARAM(param)             ((void)(param))
65 #define     UNUSED_VARIABLE(param)          ((void)(param))
66
67 /***********************************************************************************************************************
68 Typedef definitions
69 ***********************************************************************************************************************/
70 typedef char                char_t;
71 typedef unsigned int        bool_t;
72 typedef int                 int_t;
73 typedef signed char         int8_t;
74 typedef signed short        int16_t;
75 typedef signed long         int32_t;
76 typedef signed long long    int64_t;
77 typedef unsigned char       uint8_t;
78 typedef unsigned short      uint16_t;
79 typedef unsigned long       uint32_t;
80 typedef unsigned long long  uint64_t;
81 typedef float               float32_t;
82 typedef double              float64_t;
83 typedef long double         float128_t;
84
85 /* R_TYPEDEFS_H */
86 #endif
87