AFBR-S50 API Reference Manual  v1.6.5
AFBR-S50 Time-of-Flight Sensor SDK for Embedded Software
can_app_version.h
Go to the documentation of this file.
1 /*************************************************************************/
36 #ifndef CAN_APP_VERSION_H
37 #define CAN_APP_VERSION_H
38 
39 /*!***************************************************************************
40  * @defgroup can_version CAN Application Version
41  * @ingroup can_app
42  *
43  * @brief AFBR-S50 CAN Application version number
44  *
45  * @details Contains the AFBR-S50 CAN Application version number.
46  *
47  * @addtogroup can_version
48  * @{
49  *****************************************************************************/
50 
52 #define CAN_APP_VERSION_MAJOR 0
53 
55 #define CAN_APP_VERSION_MINOR 1
56 
58 #define CAN_APP_VERSION_BUGFIX 0
59 
60 /*****************************************************************************/
61 
63 #define MAKE_VERSION(major, minor, bugfix) \
64  (((major) << 24) | ((minor) << 16) | (bugfix))
65 
67 #define CAN_APP_VERSION MAKE_VERSION((CAN_APP_VERSION_MAJOR), \
68  (CAN_APP_VERSION_MINOR), \
69  (CAN_APP_VERSION_BUGFIX))
70 
72 #endif /* CAN_APP_VERSION_H */