Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-rtos mbed Xbus
Fork of MTi-1_example by
xbus/xbusdef.h@50:f581d5428ea6, 2015-05-22 (annotated)
- Committer:
- Alex Young
- Date:
- Fri May 22 15:40:27 2015 +0200
- Revision:
- 50:f581d5428ea6
- Parent:
- 45:67203918bec9
- Child:
- 61:b9d3e7e5ba0c
Change definition for Xbus bus ID for consistency with LLCP documentation
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Alex Young |
10:18a6661b7e59 | 1 | /*! |
| Alex Young |
10:18a6661b7e59 | 2 | * \file |
| Alex Young |
10:18a6661b7e59 | 3 | * \copyright |
| Alex Young |
10:18a6661b7e59 | 4 | * Copyright (C) Xsens Technologies B.V., 2015. All rights reserved. |
| Alex Young |
10:18a6661b7e59 | 5 | * |
| Alex Young |
10:18a6661b7e59 | 6 | * This source code is intended for use only by Xsens Technologies BV and |
| Alex Young |
10:18a6661b7e59 | 7 | * those that have explicit written permission to use it from |
| Alex Young |
10:18a6661b7e59 | 8 | * Xsens Technologies BV. |
| Alex Young |
10:18a6661b7e59 | 9 | * |
| Alex Young |
10:18a6661b7e59 | 10 | * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY |
| Alex Young |
10:18a6661b7e59 | 11 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE |
| Alex Young |
10:18a6661b7e59 | 12 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A |
| Alex Young |
10:18a6661b7e59 | 13 | * PARTICULAR PURPOSE. |
| Alex Young |
10:18a6661b7e59 | 14 | */ |
| Alex Young |
10:18a6661b7e59 | 15 | |
| Alex Young |
10:18a6661b7e59 | 16 | #ifndef __XBUSDEF_H |
| Alex Young |
10:18a6661b7e59 | 17 | #define __XBUSDEF_H |
| Alex Young |
10:18a6661b7e59 | 18 | |
| Alex Young |
45:67203918bec9 | 19 | /*! \brief Xbus message preamble byte. */ |
| Alex Young |
10:18a6661b7e59 | 20 | #define XBUS_PREAMBLE (0xFA) |
| Alex Young |
50:f581d5428ea6 | 21 | /*! \brief Xbus message bus ID for master devices. */ |
| Alex Young |
50:f581d5428ea6 | 22 | #define XBUS_MASTERDEVICE (0xFF) |
| Alex Young |
45:67203918bec9 | 23 | /*! \brief Xbus length byte for messages without payload. */ |
| Alex Young |
10:18a6661b7e59 | 24 | #define XBUS_NO_PAYLOAD (0x00) |
| Alex Young |
45:67203918bec9 | 25 | /*! \brief Xbus length byte for message with an extended payload. */ |
| Alex Young |
10:18a6661b7e59 | 26 | #define XBUS_EXTENDED_LENGTH (0xFF) |
| Alex Young |
10:18a6661b7e59 | 27 | |
| Alex Young |
10:18a6661b7e59 | 28 | #endif // __XBUSDEF_H |
