rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1/************************************************************************************//**
2* \file Source/ARMCM4_STM32F4/types.h
3* \brief Bootloader types header file.
4* \ingroup Target_ARMCM4_STM32F4
5* \internal
6*----------------------------------------------------------------------------------------
7* C O P Y R I G H T
8*----------------------------------------------------------------------------------------
9* Copyright (c) 2013 by Feaser http://www.feaser.com All rights reserved
10*
11*----------------------------------------------------------------------------------------
12* L I C E N S E
13*----------------------------------------------------------------------------------------
14* This file is part of OpenBLT. OpenBLT is free software: you can redistribute it and/or
15* modify it under the terms of the GNU General Public License as published by the Free
16* Software Foundation, either version 3 of the License, or (at your option) any later
17* version.
18*
19* OpenBLT is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
20* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
21* PURPOSE. See the GNU General Public License for more details.
22*
23* You have received a copy of the GNU General Public License along with OpenBLT. It
24* should be located in ".\Doc\license.html". If not, contact Feaser to obtain a copy.
25*
26* \endinternal
27****************************************************************************************/
28#ifndef TYPES_H
29#define TYPES_H
30
31
32/****************************************************************************************
33* Macro definitions
34****************************************************************************************/
35/** \brief Boolean true value. */
36#define BLT_TRUE (1)
37/** \brief Boolean false value. */
38#define BLT_FALSE (0)
39/** \brief NULL pointer value. */
40#define BLT_NULL ((void *)0)
41
42
43/****************************************************************************************
44* Type definitions
45****************************************************************************************/
46typedef unsigned char blt_bool; /**< boolean type */
47typedef char blt_char; /**< character type */
48typedef unsigned long blt_addr; /**< memory address type */
49typedef unsigned char blt_int8u; /**< 8-bit unsigned integer */
50typedef signed char blt_int8s; /**< 8-bit signed integer */
51typedef unsigned short blt_int16u; /**< 16-bit unsigned integer */
52typedef signed short blt_int16s; /**< 16-bit signed integer */
53typedef unsigned int blt_int32u; /**< 32-bit unsigned integer */
54typedef signed int blt_int32s; /**< 32-bit signed integer */
55
56
57#endif /* TYPES_H */
58/*********************************** end of types.h ************************************/
signed short blt_int16s
Definition types.h:52
unsigned short blt_int16u
Definition types.h:51
unsigned char blt_int8u
Definition types.h:49
signed char blt_int8s
Definition types.h:50
unsigned char blt_bool
Definition types.h:46
unsigned int blt_int32u
Definition types.h:53
signed int blt_int32s
Definition types.h:54
unsigned long blt_addr
Definition types.h:48
char blt_char
Definition types.h:47