rik freije / Mbed 2 deprecated MTi-1_rikbeun

Dependencies:   mbed-rtos mbed Xbus

Fork of MTi-1_example by Xsens

Committer:
Alex Young
Date:
Wed May 13 17:42:38 2015 +0200
Revision:
10:18a6661b7e59
Child:
45:67203918bec9
Add basic support for formatting xbus messages.

Who changed what in which revision?

UserRevisionLine numberNew 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 10:18a6661b7e59 19 #define XBUS_PREAMBLE (0xFA)
Alex Young 10:18a6661b7e59 20 #define XBUS_BUS_ID_STANDALONE (0xFF)
Alex Young 10:18a6661b7e59 21 #define XBUS_NO_PAYLOAD (0x00)
Alex Young 10:18a6661b7e59 22 #define XBUS_EXTENDED_LENGTH (0xFF)
Alex Young 10:18a6661b7e59 23
Alex Young 10:18a6661b7e59 24 #endif // __XBUSDEF_H