1 /* 2 * Copyright 2021-2024 NXP 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 /** 7 * @file ComStack_Cfg.h 8 * 9 * @version 2.0.0 10 * 11 * @brief AUTOSAR BaseNXP - type definition of the PduIdType and PduLengthType. 12 * @details AUTOSAR type definition of the PduIdType and PduLengthType. shall be generated by 13 * the generator of EcuC Virtual Layer 14 * This file contains sample code only. It is not part of the production code deliverables 15 * @addtogroup BASENXP_COMPONENT 16 * @{ 17 */ 18 #ifndef COMSTACK_CFG_H 19 #define COMSTACK_CFG_H 20 21 #ifdef __cplusplus 22 extern "C"{ 23 #endif 24 25 /*================================================================================================== 26 * INCLUDE FILES 27 ==================================================================================================*/ 28 #include "Platform_Types.h" 29 30 /*================================================================================================== 31 * SOURCE FILE VERSION INFORMATION 32 ==================================================================================================*/ 33 34 /*================================================================================================== 35 * CONSTANTS 36 ==================================================================================================*/ 37 38 /*================================================================================================== 39 * DEFINES AND MACROS 40 ==================================================================================================*/ 41 42 /*================================================================================================== 43 * STRUCTURES AND OTHER TYPEDEFS 44 ==================================================================================================*/ 45 46 /** 47 * @brief This type serve as a unique identifier of a PDU within a software module. 48 * Allowed ranges: uint8 .. uint16 49 * @implements PduIdType_type 50 */ 51 typedef uint16 PduIdType; 52 53 /** 54 * @brief This type serve as length information of a PDU in bytes. 55 * Allowed ranges: uint8 .. uint32 56 * @implements PduLengthType_Type 57 */ 58 typedef uint32 PduLengthType; 59 60 /*================================================================================================== 61 * GLOBAL VARIABLE DECLARATIONS 62 ==================================================================================================*/ 63 64 /*================================================================================================== 65 * FUNCTION PROTOTYPES 66 ==================================================================================================*/ 67 68 69 #ifdef __cplusplus 70 } 71 #endif 72 73 #endif /* COMSTACK_CFG_H */ 74 75 /** @} */ 76