mraa  0.6.0
Low Level Skeleton Library for Communication on GNU/Linux platforms
 All Data Structures Namespaces Files Functions Typedefs Enumerations Enumerator Pages
types.h
Go to the documentation of this file.
1 /*
2  * Author: Brendan Le Foll <brendan.le.foll@intel.com>
3  * Copyright © 2014 Intel Corporation
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a copy
6  * of this software and associated documentation files (the "Software"), to
7  * deal in the Software without restriction, including without limitation the
8  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
9  * sell copies of the Software, and to permit persons to whom the Software is
10  * furnished to do so, subject to the following conditions:
11  *
12  * The above copyright notice and this permission notice shall be included in
13  * all copies or substantial portions of the Software.
14  *
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21  * IN THE SOFTWARE.
22  */
23 
24 #pragma once
25 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
39 typedef enum {
49 
53 typedef enum {
54  MRAA_INTEL_EDISON_MINIBOARD_J17_1 = 0,
55  MRAA_INTEL_EDISON_MINIBOARD_J17_5 = 4,
56  MRAA_INTEL_EDISON_MINIBOARD_J17_7 = 6,
57  MRAA_INTEL_EDISON_MINIBOARD_J17_8 = 7,
58  MRAA_INTEL_EDISON_MINIBOARD_J17_9 = 8,
59  MRAA_INTEL_EDISON_MINIBOARD_J17_10 = 9,
60  MRAA_INTEL_EDISON_MINIBOARD_J17_11 = 10,
61  MRAA_INTEL_EDISON_MINIBOARD_J17_12 = 11,
62  MRAA_INTEL_EDISON_MINIBOARD_J17_14 = 13,
63  MRAA_INTEL_EDISON_MINIBOARD_J18_1 = 14,
64  MRAA_INTEL_EDISON_MINIBOARD_J18_2 = 15,
65  MRAA_INTEL_EDISON_MINIBOARD_J18_6 = 19,
66  MRAA_INTEL_EDISON_MINIBOARD_J18_7 = 20,
67  MRAA_INTEL_EDISON_MINIBOARD_J18_8 = 21,
68  MRAA_INTEL_EDISON_MINIBOARD_J18_10 = 23,
69  MRAA_INTEL_EDISON_MINIBOARD_J18_11 = 24,
70  MRAA_INTEL_EDISON_MINIBOARD_J18_12 = 25,
71  MRAA_INTEL_EDISON_MINIBOARD_J18_13 = 26,
72  MRAA_INTEL_EDISON_MINIBOARD_J19_4 = 31,
73  MRAA_INTEL_EDISON_MINIBOARD_J19_5 = 32,
74  MRAA_INTEL_EDISON_MINIBOARD_J19_6 = 33,
75  MRAA_INTEL_EDISON_MINIBOARD_J19_8 = 35,
76  MRAA_INTEL_EDISON_MINIBOARD_J19_9 = 36,
77  MRAA_INTEL_EDISON_MINIBOARD_J19_10 = 37,
78  MRAA_INTEL_EDISON_MINIBOARD_J19_11 = 38,
79  MRAA_INTEL_EDISON_MINIBOARD_J19_12 = 39,
80  MRAA_INTEL_EDISON_MINIBOARD_J19_13 = 40,
81  MRAA_INTEL_EDISON_MINIBOARD_J19_14 = 41,
82  MRAA_INTEL_EDISON_MINIBOARD_J20_3 = 44,
83  MRAA_INTEL_EDISON_MINIBOARD_J20_4 = 45,
84  MRAA_INTEL_EDISON_MINIBOARD_J20_5 = 46,
85  MRAA_INTEL_EDISON_MINIBOARD_J20_6 = 47,
86  MRAA_INTEL_EDISON_MINIBOARD_J20_7 = 48,
87  MRAA_INTEL_EDISON_MINIBOARD_J20_8 = 49,
88  MRAA_INTEL_EDISON_MINIBOARD_J20_9 = 50,
89  MRAA_INTEL_EDISON_MINIBOARD_J20_10 = 51,
90  MRAA_INTEL_EDISON_MINIBOARD_J20_11 = 52,
91  MRAA_INTEL_EDISON_MINIBOARD_J20_12 = 53,
92  MRAA_INTEL_EDISON_MINIBOARD_J20_13 = 54,
93  MRAA_INTEL_EDISON_MINIBOARD_J20_14 = 55
95 
99 typedef enum {
100  MRAA_INTEL_EDISON_GP182 = 0,
101  MRAA_INTEL_EDISON_GP135 = 4,
102  MRAA_INTEL_EDISON_GP27 = 6,
103  MRAA_INTEL_EDISON_GP20 = 7,
104  MRAA_INTEL_EDISON_GP28 = 8,
105  MRAA_INTEL_EDISON_GP111 = 0,
106  MRAA_INTEL_EDISON_GP109 = 10,
107  MRAA_INTEL_EDISON_GP115 = 11,
108  MRAA_INTEL_EDISON_GP128 = 13,
109  MRAA_INTEL_EDISON_GP13 = 14,
110  MRAA_INTEL_EDISON_GP165 = 15,
111  MRAA_INTEL_EDISON_GP19 = 19,
112  MRAA_INTEL_EDISON_GP12 = 20,
113  MRAA_INTEL_EDISON_GP183 = 21,
114  MRAA_INTEL_EDISON_GP110 = 23,
115  MRAA_INTEL_EDISON_GP114 = 24,
116  MRAA_INTEL_EDISON_GP129 = 25,
117  MRAA_INTEL_EDISON_GP130 = 26,
118  MRAA_INTEL_EDISON_GP44 = 31,
119  MRAA_INTEL_EDISON_GP46 = 32,
120  MRAA_INTEL_EDISON_GP48 = 33,
121  MRAA_INTEL_EDISON_GP131 = 35,
122  MRAA_INTEL_EDISON_GP14 = 36,
123  MRAA_INTEL_EDISON_GP40 = 37,
124  MRAA_INTEL_EDISON_GP43 = 38,
125  MRAA_INTEL_EDISON_GP77 = 39,
126  MRAA_INTEL_EDISON_GP82 = 40,
127  MRAA_INTEL_EDISON_GP83 = 41,
128  MRAA_INTEL_EDISON_GP134 = 44,
129  MRAA_INTEL_EDISON_GP45 = 45,
130  MRAA_INTEL_EDISON_GP47 = 46,
131  MRAA_INTEL_EDISON_GP49 = 47,
132  MRAA_INTEL_EDISON_GP15 = 48,
133  MRAA_INTEL_EDISON_GP84 = 49,
134  MRAA_INTEL_EDISON_GP42 = 50,
135  MRAA_INTEL_EDISON_GP41 = 51,
136  MRAA_INTEL_EDISON_GP78 = 52,
137  MRAA_INTEL_EDISON_GP79 = 53,
138  MRAA_INTEL_EDISON_GP80 = 54,
139  MRAA_INTEL_EDISON_GP81 = 55
141 
145 typedef enum {
161 } mraa_result_t;
162 
166 typedef enum {
176 
180 typedef enum {
185 
186 #ifdef __cplusplus
187 }
188 #endif
Definition: types.h:154
Definition: types.h:155
mraa_i2c_mode_t
Definition: types.h:180
mraa_intel_edison_miniboard_t
Definition: types.h:53
Definition: types.h:42
Definition: types.h:147
Definition: types.h:40
mraa_platform_t
Definition: types.h:39
Definition: types.h:167
Definition: types.h:44
Definition: types.h:43
Definition: types.h:146
Definition: types.h:153
Definition: types.h:160
mraa_intel_edison_t
Definition: types.h:99
Definition: types.h:172
Definition: types.h:152
Definition: types.h:168
Definition: types.h:171
Definition: types.h:156
Definition: types.h:47
Definition: types.h:45
Definition: types.h:181
Definition: types.h:173
Definition: types.h:149
Definition: types.h:150
Definition: types.h:174
mraa_result_t
Definition: types.h:145
mraa_pinmodes_t
Definition: types.h:166
Definition: types.h:151
Definition: types.h:170
Definition: types.h:169
Definition: types.h:41
Definition: types.h:183
Definition: types.h:182
Definition: types.h:148