HL_SSDK.h
Go to the documentation of this file.
00001 /*
00002 
00003 Copyright (c) 2011, Markus Achtelik, ASL, ETH Zurich, Switzerland
00004 You can contact the author at <markus dot achtelik at mavt dot ethz dot ch>
00005 
00006 All rights reserved.
00007 
00008 Redistribution and use in source and binary forms, with or without
00009 modification, are permitted provided that the following conditions are met:
00010 * Redistributions of source code must retain the above copyright
00011 notice, this list of conditions and the following disclaimer.
00012 * Redistributions in binary form must reproduce the above copyright
00013 notice, this list of conditions and the following disclaimer in the
00014 documentation and/or other materials provided with the distribution.
00015 * Neither the name of ETHZ-ASL nor the
00016 names of its contributors may be used to endorse or promote products
00017 derived from this software without specific prior written permission.
00018 
00019 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
00020 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00021 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00022 DISCLAIMED. IN NO EVENT SHALL ETHZ-ASL BE LIABLE FOR ANY
00023 DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00024 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00025 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
00026 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00027 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00028 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00029 
00030 */
00031 
00032 #ifndef HL_MATLABCTRL_H_
00033 #define HL_MATLABCTRL_H_
00034 
00035 #include <inttypes.h>
00036 
00037 typedef struct __attribute__((packed))
00038 {
00039         uint64_t timestamp;
00040         short debug01;
00041         short debug02;
00042         short debug03;
00043         short debug04;
00044         short debug05;
00045         short debug06;
00046         short debug07;
00047         short debug08;
00048         short debug09;
00049         short debug10;
00050         short debug11;
00051         short debug12;
00052         short debug13;
00053         short debug14;
00054         short debug15;
00055         short debug16;
00056         short debug17;
00057         short debug18;
00058         short debug19;
00059         short debug20;
00060         short debug21;
00061         short debug22;
00062         short debug23;
00063         short debug24;
00064         short debug25;
00065         short debug26;
00066         short debug27;
00067         short debug28;
00068         short debug29;
00069         short debug30;
00070         short debug31;
00071         short debug32;
00072         short debug33;
00073         short debug34;
00074         short debug35;
00075         short debug36;
00076         short debug37;
00077         short debug38;
00078         short debug39;
00079 }HLI_SSDK_DEBUG;
00080 
00081 //
00082 typedef struct __attribute__((packed))
00083 {
00084         unsigned int p01;
00085         unsigned int p02;
00086         unsigned int p03;
00087         unsigned int p04;
00088         unsigned int p05;
00089         unsigned int p06;
00090         unsigned int p07;
00091         unsigned int p08;
00092         unsigned int p09;
00093         unsigned int p10;
00094         unsigned int p11;
00095         unsigned int p12;
00096         unsigned int p13;
00097         unsigned int p14;
00098         unsigned int p15;
00099         unsigned int p16;
00100         unsigned int p17;
00101         unsigned int p18;
00102         unsigned int p19;
00103         unsigned int p20;
00104         unsigned int p21;
00105         unsigned int p22;
00106         unsigned int p23;
00107         unsigned int p24;
00108         unsigned int p25;
00109         unsigned int p26;
00110         unsigned int p27;
00111         unsigned int p28;
00112         unsigned int p29;
00113         unsigned int p30;
00114         unsigned int p31;
00115         unsigned int p32;
00116         unsigned int p33;
00117         unsigned int p34;
00118         unsigned int p35;
00119         unsigned int p36;
00120         unsigned int p37;
00121         unsigned int p38;
00122         unsigned int p39;
00123         unsigned int p40;
00124         unsigned int p41;
00125         unsigned int p42;
00126         unsigned int p43;
00127         unsigned int p44;
00128         unsigned int p45;
00129         unsigned int p46;
00130         unsigned int p47;
00131         unsigned int p48;
00132         unsigned int p49;
00133         unsigned int p50;
00134         unsigned int crc;
00135 }HLI_SSDK_PARAMS;
00136 
00137 typedef struct __attribute__((packed))
00138 {
00139         short ctrl01;
00140         short ctrl02;
00141         short ctrl03;
00142         short ctrl04;
00143         short ctrl05;
00144         short ctrl06;
00145         short ctrl07;
00146         short ctrl08;
00147         short ctrl09;
00148         short ctrl10;
00149         unsigned short crc;
00150 }HLI_SSDK_UART;
00151 
00152 #endif /* HL_MATLABCTRL_H_ */


asctec_hl_comm
Author(s): Markus Achtelik, Michael Achtelik, Stephan Weiss, Laurent Kneip
autogenerated on Tue Jan 7 2014 11:05:05