Macros
Defines
Collaboration diagram for Defines:

Macros

#define M2M_DRIVER_VERSION_MAJOR_NO   (1)
 
#define M2M_DRIVER_VERSION_MINOR_NO   (0)
 
#define M2M_DRIVER_VERSION_PATCH_NO   (8)
 
#define M2M_GET_HIF_BLOCK(hif_info)   ((uint8)(((hif_info) >> M2M_HIF_BLOCK_SHIFT) & M2M_HIF_BLOCK_MASK))
 
#define M2M_GET_HIF_INFO(hif_ver)   ((uint16)(((hif_ver) >> M2M_HIF_INFO_SHIFT) & M2M_HIF_INFO_MASK))
 
#define M2M_GET_HIF_LEVEL(hif_info)   ((uint16)(((hif_info) >> M2M_HIF_LEVEL_SHIFT) & M2M_HIF_LEVEL_MASK))
 
#define M2M_GET_HIF_MAJOR(hif_info)   ((uint8)(((hif_info) >> M2M_HIF_MAJOR_SHIFT) & M2M_HIF_MAJOR_MASK))
 
#define M2M_GET_HIF_MINOR(hif_info)   ((uint8)(((hif_info) >> M2M_HIF_MINOR_SHIFT) & M2M_HIF_MINOR_MASK))
 
#define M2M_HIF_BLOCK_MASK   (0x3)
 
#define M2M_HIF_BLOCK_SHIFT   (14)
 
#define M2M_HIF_BLOCK_VALUE   (2)
 
#define M2M_HIF_INFO_MASK   (0xffff)
 
#define M2M_HIF_INFO_SHIFT   (0)
 
#define M2M_HIF_LEVEL
 
#define M2M_HIF_LEVEL_MASK   (0x3fff)
 
#define M2M_HIF_LEVEL_SHIFT   (0)
 
#define M2M_HIF_MAJOR_MASK   (0x3f)
 
#define M2M_HIF_MAJOR_SHIFT   (8)
 
#define M2M_HIF_MAJOR_VALUE   (1)
 
#define M2M_HIF_MINOR_MASK   (0xff)
 
#define M2M_HIF_MINOR_SHIFT   (0)
 
#define M2M_HIF_MINOR_VALUE   (3)
 
#define M2M_MAKE_HIF_INFO(hif_level)
 

Detailed Description

Macro Definition Documentation

◆ M2M_DRIVER_VERSION_MAJOR_NO

#define M2M_DRIVER_VERSION_MAJOR_NO   (1)

Driver Major release version number.

Definition at line 153 of file m2m_types.h.

◆ M2M_DRIVER_VERSION_MINOR_NO

#define M2M_DRIVER_VERSION_MINOR_NO   (0)

Driver Minor release version number.

Definition at line 156 of file m2m_types.h.

◆ M2M_DRIVER_VERSION_PATCH_NO

#define M2M_DRIVER_VERSION_PATCH_NO   (8)

Driver patch release version number.

Definition at line 159 of file m2m_types.h.

◆ M2M_GET_HIF_BLOCK

#define M2M_GET_HIF_BLOCK (   hif_info)    ((uint8)(((hif_info) >> M2M_HIF_BLOCK_SHIFT) & M2M_HIF_BLOCK_MASK))

Definition at line 120 of file m2m_types.h.

◆ M2M_GET_HIF_INFO

#define M2M_GET_HIF_INFO (   hif_ver)    ((uint16)(((hif_ver) >> M2M_HIF_INFO_SHIFT) & M2M_HIF_INFO_MASK))

Definition at line 119 of file m2m_types.h.

◆ M2M_GET_HIF_LEVEL

#define M2M_GET_HIF_LEVEL (   hif_info)    ((uint16)(((hif_info) >> M2M_HIF_LEVEL_SHIFT) & M2M_HIF_LEVEL_MASK))

Definition at line 121 of file m2m_types.h.

◆ M2M_GET_HIF_MAJOR

#define M2M_GET_HIF_MAJOR (   hif_info)    ((uint8)(((hif_info) >> M2M_HIF_MAJOR_SHIFT) & M2M_HIF_MAJOR_MASK))

Definition at line 122 of file m2m_types.h.

◆ M2M_GET_HIF_MINOR

#define M2M_GET_HIF_MINOR (   hif_info)    ((uint8)(((hif_info) >> M2M_HIF_MINOR_SHIFT) & M2M_HIF_MINOR_MASK))

Definition at line 123 of file m2m_types.h.

◆ M2M_HIF_BLOCK_MASK

#define M2M_HIF_BLOCK_MASK   (0x3)

Definition at line 109 of file m2m_types.h.

◆ M2M_HIF_BLOCK_SHIFT

#define M2M_HIF_BLOCK_SHIFT   (14)

Definition at line 108 of file m2m_types.h.

◆ M2M_HIF_BLOCK_VALUE

#define M2M_HIF_BLOCK_VALUE   (2)

Drv/Fw blocking compatibility check.

Definition at line 133 of file m2m_types.h.

◆ M2M_HIF_INFO_MASK

#define M2M_HIF_INFO_MASK   (0xffff)

Definition at line 105 of file m2m_types.h.

◆ M2M_HIF_INFO_SHIFT

#define M2M_HIF_INFO_SHIFT   (0)

Definition at line 104 of file m2m_types.h.

◆ M2M_HIF_LEVEL

#define M2M_HIF_LEVEL
Value:
( \
)
#define M2M_HIF_MINOR_SHIFT
Definition: m2m_types.h:116
#define M2M_HIF_MAJOR_VALUE
Definition: m2m_types.h:136
#define M2M_HIF_MINOR_VALUE
Definition: m2m_types.h:139
#define M2M_HIF_MAJOR_SHIFT
Definition: m2m_types.h:114
#define M2M_HIF_MINOR_MASK
Definition: m2m_types.h:117
#define M2M_HIF_MAJOR_MASK
Definition: m2m_types.h:115

HIF Level (Major/Minor) for Drv/Fw compatibility.

Definition at line 142 of file m2m_types.h.

◆ M2M_HIF_LEVEL_MASK

#define M2M_HIF_LEVEL_MASK   (0x3fff)

Definition at line 111 of file m2m_types.h.

◆ M2M_HIF_LEVEL_SHIFT

#define M2M_HIF_LEVEL_SHIFT   (0)

Definition at line 110 of file m2m_types.h.

◆ M2M_HIF_MAJOR_MASK

#define M2M_HIF_MAJOR_MASK   (0x3f)

Definition at line 115 of file m2m_types.h.

◆ M2M_HIF_MAJOR_SHIFT

#define M2M_HIF_MAJOR_SHIFT   (8)

Definition at line 114 of file m2m_types.h.

◆ M2M_HIF_MAJOR_VALUE

#define M2M_HIF_MAJOR_VALUE   (1)

Drv/Fw major compatibility check.

Definition at line 136 of file m2m_types.h.

◆ M2M_HIF_MINOR_MASK

#define M2M_HIF_MINOR_MASK   (0xff)

Definition at line 117 of file m2m_types.h.

◆ M2M_HIF_MINOR_SHIFT

#define M2M_HIF_MINOR_SHIFT   (0)

Definition at line 116 of file m2m_types.h.

◆ M2M_HIF_MINOR_VALUE

#define M2M_HIF_MINOR_VALUE   (3)

Drv/Fw minor compatibility check.

Definition at line 139 of file m2m_types.h.

◆ M2M_MAKE_HIF_INFO

#define M2M_MAKE_HIF_INFO (   hif_level)
Value:
( \
(((uint16)(hif_level) & M2M_HIF_LEVEL_MASK) << M2M_HIF_LEVEL_SHIFT) | \
#define M2M_HIF_BLOCK_VALUE
Definition: m2m_types.h:133
#define M2M_HIF_BLOCK_SHIFT
Definition: m2m_types.h:108
#define M2M_HIF_LEVEL_SHIFT
Definition: m2m_types.h:110
unsigned short uint16
Range of values between 0 to 65535.
Definition: nm_bsp.h:96
#define M2M_HIF_BLOCK_MASK
Definition: m2m_types.h:109
#define M2M_HIF_LEVEL_MASK
Definition: m2m_types.h:111

Definition at line 125 of file m2m_types.h.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:00