Main MRPT website > C++ reference for MRPT 1.5.7
Macros
xsdid.h File Reference

Go to the source code of this file.

Macros

#define XS_DID_TYPEL_MASK   0x000F0000
 
#define XS_DID_TYPEH_MASK   0x00F00000
 
#define XS_DID_GPL_MASK   0x0F000000
 
#define XS_DID_GPH_MASK   0xF0000000
 
#define XS_DID_TYPE_MASK   (XS_DID_TYPEH_MASK | XS_DID_TYPEL_MASK)
 
#define XS_DID_MK4TYPE_MASK   (XS_DID_TYPEH_MASK | XS_DID_GPL_MASK)
 
#define XS_DID_TYPEL_SHIFT   16
 
#define XS_DID_TYPEH_SHIFT   20
 
#define XS_DID_GPL_SHIFT   24
 
#define XS_DID_GPH_SHIFT   28
 
#define XS_DID_TYPEH_XM   0x00100000
 
#define XS_DID_TYPEH_AWINDAMASTER   0x00200000
 
#define XS_DID_TYPEH_MTI_MTX   0x00300000
 
#define XS_DID_TYPEH_MTIG   0x00500000
 
#define XS_DID_TYPEH_MT_X0   0x00600000
 
#define XS_DID_TYPEH_MT_X00   0x00700000
 
#define XS_DID_TYPEH_MTX2_MTW2   0x00800000
 
#define XS_DID_TYPEL_STATION   0x00000000
 
#define XS_DID_TYPEL_DONGLE   0x00010000
 
#define XS_DID_TYPEL_OEM   0x00020000
 
#define XS_DID_TYPEL_RS232   0x00000000
 
#define XS_DID_TYPEL_RS422   0x00010000
 
#define XS_DID_TYPEL_RS485XM   0x00020000
 
#define XS_DID_TYPEL_RS485   0x00030000
 
#define XS_DID_TYPEL_WIRELESS   0x00040000
 
#define XS_DID_GPL_10   0x01000000
 
#define XS_DID_GPL_20   0x02000000
 
#define XS_DID_GPL_30   0x03000000
 
#define XS_DID_GPL_100   0x01000000
 
#define XS_DID_GPL_200   0x02000000
 
#define XS_DID_GPL_300   0x03000000
 
#define XS_DID_GPL_400   0x04000000
 
#define XS_DID_GPL_500   0x05000000
 
#define XS_DID_GPL_600   0x06000000
 
#define XS_DID_GPL_700   0x07000000
 
#define XS_DID_GPL_800   0x08000000
 
#define XS_DID_GPL_900   0x09000000
 
#define XS_DID_GPL_IMU   0x01000000
 
#define XS_DID_GPL_VRU   0x02000000
 
#define XS_DID_GPL_AHRS   0x03000000
 
#define XS_DID_GPL_AHRSGPS   XS_DID_GPL_400
 
#define XS_DID_GPL_AHRSGPSG   XS_DID_GPL_500
 
#define XS_DID_GPL_GPSINS   XS_DID_GPL_600
 
#define XS_DID_GPL_GPSINSG   XS_DID_GPL_700
 
#define XS_DID_TYPE_AWINDA_STATION   (XS_DID_TYPEH_AWINDAMASTER | XS_DID_TYPEL_STATION)
 
#define XS_DID_TYPE_AWINDA_DONGLE   (XS_DID_TYPEH_AWINDAMASTER | XS_DID_TYPEL_DONGLE)
 
#define XS_DID_TYPE_AWINDA_OEM   (XS_DID_TYPEH_AWINDAMASTER | XS_DID_TYPEL_OEM)
 
#define XS_DID_TYPE_MTW   (XS_DID_TYPEH_MTI_MTX | XS_DID_TYPEL_WIRELESS)
 
#define XS_DID_TYPE_MTIX_RS232   (XS_DID_TYPEH_MTI_MTX | XS_DID_TYPEL_RS232)
 
#define XS_DID_TYPE_MTIX_RS422   (XS_DID_TYPEH_MTI_MTX | XS_DID_TYPEL_RS422)
 
#define XS_DID_TYPE_MTIX_RS485   (XS_DID_TYPEH_MTI_MTX | XS_DID_TYPEL_RS485)
 
#define XS_DID_TYPE_MTX_XBUS   (XS_DID_TYPEH_MTI_MTX | XS_DID_TYPEL_RS485XM)
 
#define XS_DID_TYPE_MTW2   (XS_DID_TYPEH_MTX2_MTW2 | XS_DID_TYPEL_WIRELESS)
 
#define XS_DID_MK4TYPE_MT_10   (XS_DID_TYPEH_MT_X0 | XS_DID_GPL_10)
 
#define XS_DID_MK4TYPE_MT_20   (XS_DID_TYPEH_MT_X0 | XS_DID_GPL_20)
 
#define XS_DID_MK4TYPE_MT_30   (XS_DID_TYPEH_MT_X0 | XS_DID_GPL_30)
 
#define XS_DID_MK4TYPE_MT_100   (XS_DID_TYPEH_MT_X00 | XS_DID_GPL_100)
 
#define XS_DID_MK4TYPE_MT_200   (XS_DID_TYPEH_MT_X00 | XS_DID_GPL_200)
 
#define XS_DID_MK4TYPE_MT_300   (XS_DID_TYPEH_MT_X00 | XS_DID_GPL_300)
 
#define XS_DID_MK4TYPE_MT_400   (XS_DID_TYPEH_MT_X00 | XS_DID_GPL_400)
 
#define XS_DID_MK4TYPE_MT_500   (XS_DID_TYPEH_MT_X00 | XS_DID_GPL_500)
 
#define XS_DID_MK4TYPE_MT_600   (XS_DID_TYPEH_MT_X00 | XS_DID_GPL_600)
 
#define XS_DID_MK4TYPE_MT_700   (XS_DID_TYPEH_MT_X00 | XS_DID_GPL_700)
 
#define XS_DID_MK4TYPE_MT_800   (XS_DID_TYPEH_MT_X00 | XS_DID_GPL_800)
 
#define XS_DID_MK4TYPE_MT_900   (XS_DID_TYPEH_MT_X00 | XS_DID_GPL_900)
 
#define XS_DID_BROADCAST   0x80000000
 
#define XS_DID_MASTER   0x00000000
 
#define XS_DID_XM(did)   ((did & XS_DID_TYPEH_MASK) == XS_DID_TYPEH_XM)
 
#define XS_DID_NOXM(did)   ((did & XS_DID_TYPEH_MASK) != XS_DID_TYPEH_XM)
 
#define XS_DID_WM(did)   ((did & XS_DID_TYPEH_MASK) == XS_DID_TYPEH_AWINDAMASTER)
 
#define XS_DID_NOWM(did)   ((did & XS_DID_TYPEH_MASK) != XS_DID_TYPEH_AWINDAMASTER)
 
#define XS_DID_WMMT(did)   ((did & XS_DID_TYPE_MASK) == XS_DID_TYPE_MTW)
 
#define XS_DID_NOWMMT(did)   ((did & XS_DID_TYPE_MASK) != XS_DID_TYPE_MTW)
 
#define XS_DID_XMMT(did)   ((did & XS_DID_TYPE_MASK) == XS_DID_TYPE_MASK_MT_XM)
 
#define XS_DID_NOXMMT(did)   ((did & XS_DID_TYPE_MASK) != XS_DID_TYPE_MASK_MT_XM)
 
#define XS_DID_MTIX(did)   (((did & XS_DID_TYPEH_MASK) == XS_DID_TYPEH_MTI_MTX) && XS_DID_NOWMMT(did))
 
#define XS_DID_MTIG(did)   (((did & XS_DID_TYPEH_MASK) == XS_DID_TYPEH_MTIG) || ((did & XS_DID_MK4TYPE_MASK) == XS_DID_MK4TYPE_MT_700))
 
#define XS_DID_MTW2(did)   ((did & XS_DID_TYPE_MASK) == XS_DID_TYPE_MTW2)
 
#define XS_DID_AWINDA_STATION(did)   ((did & XS_DID_TYPE_MASK) == XS_DID_TYPE_AWINDA_STATION)
 
#define XS_DID_AWINDA_DONGLE(did)   ((did & XS_DID_TYPE_MASK) == XS_DID_TYPE_AWINDA_DONGLE)
 
#define XS_DID_AWINDA_OEM(did)   ((did & XS_DID_TYPE_MASK) == XS_DID_TYPE_AWINDA_OEM)
 

Macro Definition Documentation

◆ XS_DID_AWINDA_DONGLE

#define XS_DID_AWINDA_DONGLE (   did)    ((did & XS_DID_TYPE_MASK) == XS_DID_TYPE_AWINDA_DONGLE)

Definition at line 103 of file xsdid.h.

◆ XS_DID_AWINDA_OEM

#define XS_DID_AWINDA_OEM (   did)    ((did & XS_DID_TYPE_MASK) == XS_DID_TYPE_AWINDA_OEM)

Definition at line 104 of file xsdid.h.

◆ XS_DID_AWINDA_STATION

#define XS_DID_AWINDA_STATION (   did)    ((did & XS_DID_TYPE_MASK) == XS_DID_TYPE_AWINDA_STATION)

Definition at line 102 of file xsdid.h.

◆ XS_DID_BROADCAST

#define XS_DID_BROADCAST   0x80000000

Definition at line 87 of file xsdid.h.

◆ XS_DID_GPH_MASK

#define XS_DID_GPH_MASK   0xF0000000

Definition at line 16 of file xsdid.h.

◆ XS_DID_GPH_SHIFT

#define XS_DID_GPH_SHIFT   28

Definition at line 23 of file xsdid.h.

◆ XS_DID_GPL_10

#define XS_DID_GPL_10   0x01000000

Definition at line 43 of file xsdid.h.

◆ XS_DID_GPL_100

#define XS_DID_GPL_100   0x01000000

Definition at line 46 of file xsdid.h.

◆ XS_DID_GPL_20

#define XS_DID_GPL_20   0x02000000

Definition at line 44 of file xsdid.h.

◆ XS_DID_GPL_200

#define XS_DID_GPL_200   0x02000000

Definition at line 47 of file xsdid.h.

◆ XS_DID_GPL_30

#define XS_DID_GPL_30   0x03000000

Definition at line 45 of file xsdid.h.

◆ XS_DID_GPL_300

#define XS_DID_GPL_300   0x03000000

Definition at line 48 of file xsdid.h.

◆ XS_DID_GPL_400

#define XS_DID_GPL_400   0x04000000

Definition at line 49 of file xsdid.h.

◆ XS_DID_GPL_500

#define XS_DID_GPL_500   0x05000000

Definition at line 50 of file xsdid.h.

◆ XS_DID_GPL_600

#define XS_DID_GPL_600   0x06000000

Definition at line 51 of file xsdid.h.

◆ XS_DID_GPL_700

#define XS_DID_GPL_700   0x07000000

Definition at line 52 of file xsdid.h.

◆ XS_DID_GPL_800

#define XS_DID_GPL_800   0x08000000

Definition at line 53 of file xsdid.h.

◆ XS_DID_GPL_900

#define XS_DID_GPL_900   0x09000000

Definition at line 54 of file xsdid.h.

◆ XS_DID_GPL_AHRS

#define XS_DID_GPL_AHRS   0x03000000

Definition at line 57 of file xsdid.h.

◆ XS_DID_GPL_AHRSGPS

#define XS_DID_GPL_AHRSGPS   XS_DID_GPL_400

Definition at line 58 of file xsdid.h.

◆ XS_DID_GPL_AHRSGPSG

#define XS_DID_GPL_AHRSGPSG   XS_DID_GPL_500

Definition at line 59 of file xsdid.h.

◆ XS_DID_GPL_GPSINS

#define XS_DID_GPL_GPSINS   XS_DID_GPL_600

Definition at line 60 of file xsdid.h.

◆ XS_DID_GPL_GPSINSG

#define XS_DID_GPL_GPSINSG   XS_DID_GPL_700

Definition at line 61 of file xsdid.h.

◆ XS_DID_GPL_IMU

#define XS_DID_GPL_IMU   0x01000000

Definition at line 55 of file xsdid.h.

◆ XS_DID_GPL_MASK

#define XS_DID_GPL_MASK   0x0F000000

Definition at line 15 of file xsdid.h.

◆ XS_DID_GPL_SHIFT

#define XS_DID_GPL_SHIFT   24

Definition at line 22 of file xsdid.h.

◆ XS_DID_GPL_VRU

#define XS_DID_GPL_VRU   0x02000000

Definition at line 56 of file xsdid.h.

◆ XS_DID_MASTER

#define XS_DID_MASTER   0x00000000

Definition at line 88 of file xsdid.h.

◆ XS_DID_MK4TYPE_MASK

#define XS_DID_MK4TYPE_MASK   (XS_DID_TYPEH_MASK | XS_DID_GPL_MASK)

Definition at line 18 of file xsdid.h.

◆ XS_DID_MK4TYPE_MT_10

#define XS_DID_MK4TYPE_MT_10   (XS_DID_TYPEH_MT_X0 | XS_DID_GPL_10)

Definition at line 74 of file xsdid.h.

◆ XS_DID_MK4TYPE_MT_100

#define XS_DID_MK4TYPE_MT_100   (XS_DID_TYPEH_MT_X00 | XS_DID_GPL_100)

Definition at line 77 of file xsdid.h.

◆ XS_DID_MK4TYPE_MT_20

#define XS_DID_MK4TYPE_MT_20   (XS_DID_TYPEH_MT_X0 | XS_DID_GPL_20)

Definition at line 75 of file xsdid.h.

◆ XS_DID_MK4TYPE_MT_200

#define XS_DID_MK4TYPE_MT_200   (XS_DID_TYPEH_MT_X00 | XS_DID_GPL_200)

Definition at line 78 of file xsdid.h.

◆ XS_DID_MK4TYPE_MT_30

#define XS_DID_MK4TYPE_MT_30   (XS_DID_TYPEH_MT_X0 | XS_DID_GPL_30)

Definition at line 76 of file xsdid.h.

◆ XS_DID_MK4TYPE_MT_300

#define XS_DID_MK4TYPE_MT_300   (XS_DID_TYPEH_MT_X00 | XS_DID_GPL_300)

Definition at line 79 of file xsdid.h.

◆ XS_DID_MK4TYPE_MT_400

#define XS_DID_MK4TYPE_MT_400   (XS_DID_TYPEH_MT_X00 | XS_DID_GPL_400)

Definition at line 80 of file xsdid.h.

◆ XS_DID_MK4TYPE_MT_500

#define XS_DID_MK4TYPE_MT_500   (XS_DID_TYPEH_MT_X00 | XS_DID_GPL_500)

Definition at line 81 of file xsdid.h.

◆ XS_DID_MK4TYPE_MT_600

#define XS_DID_MK4TYPE_MT_600   (XS_DID_TYPEH_MT_X00 | XS_DID_GPL_600)

Definition at line 82 of file xsdid.h.

◆ XS_DID_MK4TYPE_MT_700

#define XS_DID_MK4TYPE_MT_700   (XS_DID_TYPEH_MT_X00 | XS_DID_GPL_700)

Definition at line 83 of file xsdid.h.

◆ XS_DID_MK4TYPE_MT_800

#define XS_DID_MK4TYPE_MT_800   (XS_DID_TYPEH_MT_X00 | XS_DID_GPL_800)

Definition at line 84 of file xsdid.h.

◆ XS_DID_MK4TYPE_MT_900

#define XS_DID_MK4TYPE_MT_900   (XS_DID_TYPEH_MT_X00 | XS_DID_GPL_900)

Definition at line 85 of file xsdid.h.

◆ XS_DID_MTIG

#define XS_DID_MTIG (   did)    (((did & XS_DID_TYPEH_MASK) == XS_DID_TYPEH_MTIG) || ((did & XS_DID_MK4TYPE_MASK) == XS_DID_MK4TYPE_MT_700))

Definition at line 99 of file xsdid.h.

◆ XS_DID_MTIX

#define XS_DID_MTIX (   did)    (((did & XS_DID_TYPEH_MASK) == XS_DID_TYPEH_MTI_MTX) && XS_DID_NOWMMT(did))

Definition at line 98 of file xsdid.h.

◆ XS_DID_MTW2

#define XS_DID_MTW2 (   did)    ((did & XS_DID_TYPE_MASK) == XS_DID_TYPE_MTW2)

Definition at line 100 of file xsdid.h.

◆ XS_DID_NOWM

#define XS_DID_NOWM (   did)    ((did & XS_DID_TYPEH_MASK) != XS_DID_TYPEH_AWINDAMASTER)

Definition at line 93 of file xsdid.h.

◆ XS_DID_NOWMMT

#define XS_DID_NOWMMT (   did)    ((did & XS_DID_TYPE_MASK) != XS_DID_TYPE_MTW)

Definition at line 95 of file xsdid.h.

◆ XS_DID_NOXM

#define XS_DID_NOXM (   did)    ((did & XS_DID_TYPEH_MASK) != XS_DID_TYPEH_XM)

Definition at line 91 of file xsdid.h.

◆ XS_DID_NOXMMT

#define XS_DID_NOXMMT (   did)    ((did & XS_DID_TYPE_MASK) != XS_DID_TYPE_MASK_MT_XM)

Definition at line 97 of file xsdid.h.

◆ XS_DID_TYPE_AWINDA_DONGLE

#define XS_DID_TYPE_AWINDA_DONGLE   (XS_DID_TYPEH_AWINDAMASTER | XS_DID_TYPEL_DONGLE)

Definition at line 64 of file xsdid.h.

◆ XS_DID_TYPE_AWINDA_OEM

#define XS_DID_TYPE_AWINDA_OEM   (XS_DID_TYPEH_AWINDAMASTER | XS_DID_TYPEL_OEM)

Definition at line 65 of file xsdid.h.

◆ XS_DID_TYPE_AWINDA_STATION

#define XS_DID_TYPE_AWINDA_STATION   (XS_DID_TYPEH_AWINDAMASTER | XS_DID_TYPEL_STATION)

Definition at line 63 of file xsdid.h.

◆ XS_DID_TYPE_MASK

#define XS_DID_TYPE_MASK   (XS_DID_TYPEH_MASK | XS_DID_TYPEL_MASK)

Definition at line 17 of file xsdid.h.

◆ XS_DID_TYPE_MTIX_RS232

#define XS_DID_TYPE_MTIX_RS232   (XS_DID_TYPEH_MTI_MTX | XS_DID_TYPEL_RS232)

Definition at line 68 of file xsdid.h.

◆ XS_DID_TYPE_MTIX_RS422

#define XS_DID_TYPE_MTIX_RS422   (XS_DID_TYPEH_MTI_MTX | XS_DID_TYPEL_RS422)

Definition at line 69 of file xsdid.h.

◆ XS_DID_TYPE_MTIX_RS485

#define XS_DID_TYPE_MTIX_RS485   (XS_DID_TYPEH_MTI_MTX | XS_DID_TYPEL_RS485)

Definition at line 70 of file xsdid.h.

◆ XS_DID_TYPE_MTW

#define XS_DID_TYPE_MTW   (XS_DID_TYPEH_MTI_MTX | XS_DID_TYPEL_WIRELESS)

Definition at line 67 of file xsdid.h.

◆ XS_DID_TYPE_MTW2

#define XS_DID_TYPE_MTW2   (XS_DID_TYPEH_MTX2_MTW2 | XS_DID_TYPEL_WIRELESS)

Definition at line 72 of file xsdid.h.

◆ XS_DID_TYPE_MTX_XBUS

#define XS_DID_TYPE_MTX_XBUS   (XS_DID_TYPEH_MTI_MTX | XS_DID_TYPEL_RS485XM)

Definition at line 71 of file xsdid.h.

◆ XS_DID_TYPEH_AWINDAMASTER

#define XS_DID_TYPEH_AWINDAMASTER   0x00200000

Definition at line 26 of file xsdid.h.

◆ XS_DID_TYPEH_MASK

#define XS_DID_TYPEH_MASK   0x00F00000

Definition at line 14 of file xsdid.h.

◆ XS_DID_TYPEH_MT_X0

#define XS_DID_TYPEH_MT_X0   0x00600000

Definition at line 29 of file xsdid.h.

◆ XS_DID_TYPEH_MT_X00

#define XS_DID_TYPEH_MT_X00   0x00700000

Definition at line 30 of file xsdid.h.

◆ XS_DID_TYPEH_MTI_MTX

#define XS_DID_TYPEH_MTI_MTX   0x00300000

Definition at line 27 of file xsdid.h.

◆ XS_DID_TYPEH_MTIG

#define XS_DID_TYPEH_MTIG   0x00500000

Definition at line 28 of file xsdid.h.

◆ XS_DID_TYPEH_MTX2_MTW2

#define XS_DID_TYPEH_MTX2_MTW2   0x00800000

Definition at line 31 of file xsdid.h.

◆ XS_DID_TYPEH_SHIFT

#define XS_DID_TYPEH_SHIFT   20

Definition at line 21 of file xsdid.h.

◆ XS_DID_TYPEH_XM

#define XS_DID_TYPEH_XM   0x00100000

Definition at line 25 of file xsdid.h.

◆ XS_DID_TYPEL_DONGLE

#define XS_DID_TYPEL_DONGLE   0x00010000

Definition at line 34 of file xsdid.h.

◆ XS_DID_TYPEL_MASK

#define XS_DID_TYPEL_MASK   0x000F0000

Definition at line 13 of file xsdid.h.

◆ XS_DID_TYPEL_OEM

#define XS_DID_TYPEL_OEM   0x00020000

Definition at line 35 of file xsdid.h.

◆ XS_DID_TYPEL_RS232

#define XS_DID_TYPEL_RS232   0x00000000

Definition at line 37 of file xsdid.h.

◆ XS_DID_TYPEL_RS422

#define XS_DID_TYPEL_RS422   0x00010000

Definition at line 38 of file xsdid.h.

◆ XS_DID_TYPEL_RS485

#define XS_DID_TYPEL_RS485   0x00030000

Definition at line 40 of file xsdid.h.

◆ XS_DID_TYPEL_RS485XM

#define XS_DID_TYPEL_RS485XM   0x00020000

Definition at line 39 of file xsdid.h.

◆ XS_DID_TYPEL_SHIFT

#define XS_DID_TYPEL_SHIFT   16

Definition at line 20 of file xsdid.h.

◆ XS_DID_TYPEL_STATION

#define XS_DID_TYPEL_STATION   0x00000000

Definition at line 33 of file xsdid.h.

◆ XS_DID_TYPEL_WIRELESS

#define XS_DID_TYPEL_WIRELESS   0x00040000

Definition at line 41 of file xsdid.h.

◆ XS_DID_WM

#define XS_DID_WM (   did)    ((did & XS_DID_TYPEH_MASK) == XS_DID_TYPEH_AWINDAMASTER)

Definition at line 92 of file xsdid.h.

◆ XS_DID_WMMT

#define XS_DID_WMMT (   did)    ((did & XS_DID_TYPE_MASK) == XS_DID_TYPE_MTW)

Definition at line 94 of file xsdid.h.

◆ XS_DID_XM

#define XS_DID_XM (   did)    ((did & XS_DID_TYPEH_MASK) == XS_DID_TYPEH_XM)

Definition at line 90 of file xsdid.h.

◆ XS_DID_XMMT

#define XS_DID_XMMT (   did)    ((did & XS_DID_TYPE_MASK) == XS_DID_TYPE_MASK_MT_XM)

Definition at line 96 of file xsdid.h.




Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019