Mistake on this page?
Report an issue in GitHub or email us
pal_types.h
Go to the documentation of this file.
1 /*************************************************************************************************/
2 /*!
3  * \file pal_types.h
4  *
5  * \brief Platform-independent data types.
6  *
7  * Copyright (c) 2018-2019 Arm Ltd. All Rights Reserved.
8  *
9  * Copyright (c) 2019-2020 Packetcraft, Inc.
10  *
11  * Licensed under the Apache License, Version 2.0 (the "License");
12  * you may not use this file except in compliance with the License.
13  * You may obtain a copy of the License at
14  *
15  * http://www.apache.org/licenses/LICENSE-2.0
16  *
17  * Unless required by applicable law or agreed to in writing, software
18  * distributed under the License is distributed on an "AS IS" BASIS,
19  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20  * See the License for the specific language governing permissions and
21  * limitations under the License.
22  */
23 /*************************************************************************************************/
24 #ifndef PAL_TYPES_H
25 #define PAL_TYPES_H
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 /*! \addtogroup PAL_TYPES
32  * \{ */
33 
34 /**************************************************************************************************
35  Data Types
36 **************************************************************************************************/
37 
38 /** \name Integer Data Types
39  *
40  */
41 /**@{*/
42 
43 #include <stdint.h>
44 #include <stddef.h>
45 
46 #ifndef bool_t
47  #define bool_t uint8_t
48 #endif
49 
50 #ifndef FALSE
51  #define FALSE 0
52 #endif
53 
54 #ifndef TRUE
55  #define TRUE (!FALSE)
56 #endif
57 
58 /*! \} */ /* Integer Data Types */
59 
60 #ifdef __cplusplus
61 };
62 #endif
63 
64 /*! \} */ /* PAL_TYPES */
65 #endif /* PAL_TYPES_H */
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.