rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
bootloader
openblt_chibios
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
****************************************************************************************/
46
typedef
unsigned
char
blt_bool
;
/**< boolean type */
47
typedef
char
blt_char
;
/**< character type */
48
typedef
unsigned
long
blt_addr
;
/**< memory address type */
49
typedef
unsigned
char
blt_int8u
;
/**< 8-bit unsigned integer */
50
typedef
signed
char
blt_int8s
;
/**< 8-bit signed integer */
51
typedef
unsigned
short
blt_int16u
;
/**< 16-bit unsigned integer */
52
typedef
signed
short
blt_int16s
;
/**< 16-bit signed integer */
53
typedef
unsigned
int
blt_int32u
;
/**< 32-bit unsigned integer */
54
typedef
signed
int
blt_int32s
;
/**< 32-bit signed integer */
55
56
57
#endif
/* TYPES_H */
58
/*********************************** end of types.h ************************************/
blt_int16s
signed short blt_int16s
Definition
types.h:52
blt_int16u
unsigned short blt_int16u
Definition
types.h:51
blt_int8u
unsigned char blt_int8u
Definition
types.h:49
blt_int8s
signed char blt_int8s
Definition
types.h:50
blt_bool
unsigned char blt_bool
Definition
types.h:46
blt_int32u
unsigned int blt_int32u
Definition
types.h:53
blt_int32s
signed int blt_int32s
Definition
types.h:54
blt_addr
unsigned long blt_addr
Definition
types.h:48
blt_char
char blt_char
Definition
types.h:47
Generated on Sat Sep 27 2025 00:10:04 for rusEFI by
1.9.8