Basic implementation of Xbus message parsing and generation for embedded processors. The code has no dependencies and should also work for other MCU architectures than ARM provided a C99 compiler is available.

Dependents:   MTi-1_example_LPC1768 MTi-1_rikbeun MTi-1_example MTi-1_example

Embed: (wiki syntax)

« Back to documentation index

xsdeviceid.h File Reference

xsdeviceid.h File Reference

Go to the source code of this file.

Enumerations

enum  DeviceFunction { DF_IMU = 1, DF_VRU = 2, DF_AHRS = 3 }

Functions

bool XsDeviceId_isMtMk4_X (uint32_t deviceId)
 Return true if device ID corresponds to a MTi-1 series device.
static enum DeviceFunction XsDeviceId_getFunction (uint32_t deviceId)
 Get the function of the MTi device.
char const * XsDeviceId_functionDescription (enum DeviceFunction function)
 Get a string describing the function of the MTi device.

Detailed Description

Copyright (C) Xsens Technologies B.V., 2015.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file xsdeviceid.h.


Enumeration Type Documentation

Enumerator:
DF_IMU 

Inertial Measurement Unit.

DF_VRU 

Vertical Reference Unit.

DF_AHRS 

Attitude Heading Reference System.

Definition at line 30 of file xsdeviceid.h.


Function Documentation

char const* XsDeviceId_functionDescription ( enum DeviceFunction  function )

Get a string describing the function of the MTi device.

Definition at line 32 of file xsdeviceid.c.

static enum DeviceFunction XsDeviceId_getFunction ( uint32_t  deviceId ) [static]

Get the function of the MTi device.

Definition at line 43 of file xsdeviceid.h.

bool XsDeviceId_isMtMk4_X ( uint32_t  deviceId )

Return true if device ID corresponds to a MTi-1 series device.

Definition at line 23 of file xsdeviceid.c.