Xsens / Mbed 2 deprecated MTi-1_example

Dependencies:   mbed-rtos mbed Xbus

Fork of MTi-1_example by Alex Young

Committer:
Alex Young
Date:
Fri Jun 12 13:23:26 2015 +0200
Revision:
61:b9d3e7e5ba0c
Parent:
50:f581d5428ea6
Change to Apache license

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Alex Young 10:18a6661b7e59 1 /*!
Alex Young 10:18a6661b7e59 2 * \file
Alex Young 61:b9d3e7e5ba0c 3 * \copyright Copyright (C) Xsens Technologies B.V., 2015.
Alex Young 61:b9d3e7e5ba0c 4 *
Alex Young 61:b9d3e7e5ba0c 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
Alex Young 61:b9d3e7e5ba0c 6 * use this file except in compliance with the License. You may obtain a copy
Alex Young 61:b9d3e7e5ba0c 7 * of the License at
Alex Young 10:18a6661b7e59 8 *
Alex Young 61:b9d3e7e5ba0c 9 * http://www.apache.org/licenses/LICENSE-2.0
Alex Young 10:18a6661b7e59 10 *
Alex Young 61:b9d3e7e5ba0c 11 * Unless required by applicable law or agreed to in writing, software
Alex Young 61:b9d3e7e5ba0c 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
Alex Young 61:b9d3e7e5ba0c 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
Alex Young 61:b9d3e7e5ba0c 14 * License for the specific language governing permissions and limitations
Alex Young 61:b9d3e7e5ba0c 15 * under the License.
Alex Young 10:18a6661b7e59 16 */
Alex Young 10:18a6661b7e59 17
Alex Young 10:18a6661b7e59 18 #ifndef __XBUSDEF_H
Alex Young 10:18a6661b7e59 19 #define __XBUSDEF_H
Alex Young 10:18a6661b7e59 20
Alex Young 45:67203918bec9 21 /*! \brief Xbus message preamble byte. */
Alex Young 10:18a6661b7e59 22 #define XBUS_PREAMBLE (0xFA)
Alex Young 50:f581d5428ea6 23 /*! \brief Xbus message bus ID for master devices. */
Alex Young 50:f581d5428ea6 24 #define XBUS_MASTERDEVICE (0xFF)
Alex Young 45:67203918bec9 25 /*! \brief Xbus length byte for messages without payload. */
Alex Young 10:18a6661b7e59 26 #define XBUS_NO_PAYLOAD (0x00)
Alex Young 45:67203918bec9 27 /*! \brief Xbus length byte for message with an extended payload. */
Alex Young 10:18a6661b7e59 28 #define XBUS_EXTENDED_LENGTH (0xFF)
Alex Young 10:18a6661b7e59 29
Alex Young 10:18a6661b7e59 30 #endif // __XBUSDEF_H