S32 SDK
lin_types.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015-2016, Freescale Semiconductor, Inc.
3  * Copyright 2016 NXP
4  * All rights reserved.
5  *
6  * THIS SOFTWARE IS PROVIDED BY NXP "AS IS" AND ANY EXPRESSED OR
7  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
8  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
9  * IN NO EVENT SHALL NXP OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
10  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
11  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
12  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
13  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
14  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
15  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
16  * THE POSSIBILITY OF SUCH DAMAGE.
17  */
18 
19 #ifndef LIN_TYPES_H
20 #define LIN_TYPES_H
21 
22 #include <stdbool.h>
23 /*******************************************************************************
24  * Definitions
25  ******************************************************************************/
30 typedef unsigned char l_u8;
31 
36 typedef unsigned short int l_u16;
37 
42 typedef unsigned long l_u32;
43 
48 typedef bool l_bool;
49 
50 /*******************************************************************************
51  * General
52  ******************************************************************************/
57 typedef struct
58 {
63 
64 #endif /* LIN_TYPES_H */
65 
66 
67 /******************************************************************************/
68 /* EOF */
69 /******************************************************************************/
l_u16 function_id
Definition: lin_types.h:60
unsigned long l_u32
Unsigned 32 bit integer Implements : l_u32_Class.
Definition: lin_types.h:42
Product id structure Implements : lin_product_id_t_Class.
Definition: lin_types.h:57
unsigned char l_u8
Unsigned 8 bit integer Implements : l_u8_Class.
Definition: lin_types.h:30
l_u16 supplier_id
Definition: lin_types.h:59
bool l_bool
0 is false, and non-zero (>0) is true Implements : l_bool_Class
Definition: lin_types.h:48
unsigned short int l_u16
Unsigned 16 bit integer Implements : l_u16_Class.
Definition: lin_types.h:36