inc/ecu/object_id.h Source File

ECU: inc/ecu/object_id.h Source File
ECU
object_id.h
Go to the documentation of this file.
1 
14 #ifndef ECU_OBJECT_ID_H_
15 #define ECU_OBJECT_ID_H_
16 
17 /*------------------------------------------------------------*/
18 /*------------------------- INCLUDES -------------------------*/
19 /*------------------------------------------------------------*/
20 
21 /* STDLib. */
22 #include <stdint.h>
23 
24 /*------------------------------------------------------------*/
25 /*------------------------ OBJECT IDS ------------------------*/
26 /*------------------------------------------------------------*/
27 
36 {
37  /*------------------------------------------------------------------*/
38  /*-------------------- RESERVED OBJECT IDS SECTION -----------------*/
39  /*-------- LAST MEMBER MUST EQUAL ECU_VALID_OBJECT_ID_BEGIN --------*/
40  /*------------------------------------------------------------------*/
41  /* ADD FUTURE PRIVATE AND RESERVED IDS HERE. */
43  /*******************************/
46  /*------------------------------------------------------------------*/
47  /*-------------------- AVAILABLE OBJECT IDS SECTION ----------------*/
48  /*-------- FIRST MEMBER MUST EQUAL ECU_VALID_OBJECT_ID_BEGIN -------*/
49  /*------------------------------------------------------------------*/
52 };
53 
64 typedef int32_t ecu_object_id_t;
65 
66 #endif /* ECU_OBJECT_ID_H_ */
ecu_reserved_object_ids
Object IDs reserved for ECU library. This scheme allows the library and users to uniquely define thei...
Definition: object_id.h:36
@ ECU_OBJECT_ID_RESERVED
Definition: object_id.h:42
@ ECU_USER_OBJECT_ID_BEGIN
Definition: object_id.h:51
@ ECU_VALID_OBJECT_ID_BEGIN
Definition: object_id.h:44
@ ECU_OBJECT_ID_UNUSED
Definition: object_id.h:50
int32_t ecu_object_id_t
Object ID type. Used so the library can implicitly typecast between this value, ecu_reserved_object_i...
Definition: object_id.h:64