gloveTypes.h
Go to the documentation of this file.
1 
18 #ifndef GLOVETYPES_H
19 #define GLOVETYPES_H
20 
21 /* system includes */
22 
23 /* my includes */
24 /* (none) */
25 
26 
27 typedef unsigned char * vector_t;
28 typedef unsigned char uchar_t;
29 
31 {
33  struct{
39 
44  }X;
45 };
46 
48 {
50  struct{
51  uchar_t glove_plugged: 1;
52  uchar_t switch_wrist: 1;
53  uchar_t light_wrist: 1;
55  }X;
56 };
57 
59 {
61 };
62 
64 {
66  struct{
71  }X;
72 };
73 
74 
76 {
78  bool sample;
79  bool plug;
80 };
81 
82 
84 {
86  struct{
87  uchar_t glove_init: 1;
88  uchar_t glove_plugged: 1;
90  }X;
91 };
92 
94 {
96  struct{
97  unsigned short w1;
98  unsigned short w2;
99  }X;
100 };
101 
103 {
105  struct
106  {
107  uchar_t glove_inout: 1;
108  uchar_t switch_status: 1;
109  uchar_t light_status: 1;
111 
112  uchar_t binary_sync: 1;
113  uchar_t ascii_sync: 1;
114  uchar_t is_glove_byte: 1;
115  uchar_t control_light: 1;
116  uchar_t digital_filter: 1;
117  uchar_t is_time_stamp: 1;
118  uchar_t glove_hand: 1;
119  uchar_t glove_valid: 1;
120 
121  uchar_t send_quant: 1;
122  uchar_t cyber_option: 1;
123  uchar_t _rv1: 6;
124  }X;
125 };
126 
127 
128 
129 #endif /* GLOVETYPES_H */
uchar_t is_b0_null
Definition: gloveTypes.h:34
uchar_t lsb2
Definition: gloveTypes.h:70
uchar_t is_b3_null
Definition: gloveTypes.h:37
uchar_t raw[5]
Definition: gloveTypes.h:32
uchar_t is_b1_null
Definition: gloveTypes.h:35
uchar_t msb2
Definition: gloveTypes.h:69
unsigned char uchar_t
Definition: gloveTypes.h:28
uchar_t b2
Definition: gloveTypes.h:42
struct timeStamp_t::@0 X
uchar_t is_b2_null
Definition: gloveTypes.h:36
uchar_t b3
Definition: gloveTypes.h:43
uchar_t _rv0
Definition: gloveTypes.h:38
unsigned short w1
Definition: gloveTypes.h:97
uchar_t b0
Definition: gloveTypes.h:40
unsigned short w2
Definition: gloveTypes.h:98
unsigned char * vector_t
Definition: gloveTypes.h:27
uchar_t b1
Definition: gloveTypes.h:41
timeStamp_t timeStamp
Definition: gloveTypes.h:77
uchar_t lsb1
Definition: gloveTypes.h:68
uchar_t msb1
Definition: gloveTypes.h:67


asr_cyberglove_lib
Author(s): Heller Florian, Mei├čner Pascal, Nguyen Trung, Yi Xie
autogenerated on Mon Jun 10 2019 12:40:38