SimpleLink MCU SDK Driver APIs  tidrivers_msp43x_3_01_01_03
GPIOMSP432.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015-2016, Texas Instruments Incorporated
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *
9  * * Redistributions of source code must retain the above copyright
10  * notice, this list of conditions and the following disclaimer.
11  *
12  * * Redistributions in binary form must reproduce the above copyright
13  * notice, this list of conditions and the following disclaimer in the
14  * documentation and/or other materials provided with the distribution.
15  *
16  * * Neither the name of Texas Instruments Incorporated nor the names of
17  * its contributors may be used to endorse or promote products derived
18  * from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  */
144 #ifndef ti_drivers_GPIOMSP432__include
145 #define ti_drivers_GPIOMSP432__include
146 
147 #ifdef __cplusplus
148 extern "C" {
149 #endif
150 
151 #include <stdint.h>
152 #include <ti/drivers/GPIO.h>
153 
178 typedef struct GPIOMSP432_Config {
181 
184 
187 
190 
206  uint32_t intPriority;
208 
218 #define GPIOMSP432_EMPTY_PIN 0x0000
224 #define GPIOMSP432_P1_0 0x101
225 #define GPIOMSP432_P1_1 0x102
226 #define GPIOMSP432_P1_2 0x104
227 #define GPIOMSP432_P1_3 0x108
228 #define GPIOMSP432_P1_4 0x110
229 #define GPIOMSP432_P1_5 0x120
230 #define GPIOMSP432_P1_6 0x140
231 #define GPIOMSP432_P1_7 0x180
233 #define GPIOMSP432_P2_0 0x201
234 #define GPIOMSP432_P2_1 0x202
235 #define GPIOMSP432_P2_2 0x204
236 #define GPIOMSP432_P2_3 0x208
237 #define GPIOMSP432_P2_4 0x210
238 #define GPIOMSP432_P2_5 0x220
239 #define GPIOMSP432_P2_6 0x240
240 #define GPIOMSP432_P2_7 0x280
242 #define GPIOMSP432_P3_0 0x301
243 #define GPIOMSP432_P3_1 0x302
244 #define GPIOMSP432_P3_2 0x304
245 #define GPIOMSP432_P3_3 0x308
246 #define GPIOMSP432_P3_4 0x310
247 #define GPIOMSP432_P3_5 0x320
248 #define GPIOMSP432_P3_6 0x340
249 #define GPIOMSP432_P3_7 0x380
251 #define GPIOMSP432_P4_0 0x401
252 #define GPIOMSP432_P4_1 0x402
253 #define GPIOMSP432_P4_2 0x404
254 #define GPIOMSP432_P4_3 0x408
255 #define GPIOMSP432_P4_4 0x410
256 #define GPIOMSP432_P4_5 0x420
257 #define GPIOMSP432_P4_6 0x440
258 #define GPIOMSP432_P4_7 0x480
260 #define GPIOMSP432_P5_0 0x501
261 #define GPIOMSP432_P5_1 0x502
262 #define GPIOMSP432_P5_2 0x504
263 #define GPIOMSP432_P5_3 0x508
264 #define GPIOMSP432_P5_4 0x510
265 #define GPIOMSP432_P5_5 0x520
266 #define GPIOMSP432_P5_6 0x540
267 #define GPIOMSP432_P5_7 0x580
269 #define GPIOMSP432_P6_0 0x601
270 #define GPIOMSP432_P6_1 0x602
271 #define GPIOMSP432_P6_2 0x604
272 #define GPIOMSP432_P6_3 0x608
273 #define GPIOMSP432_P6_4 0x610
274 #define GPIOMSP432_P6_5 0x620
275 #define GPIOMSP432_P6_6 0x640
276 #define GPIOMSP432_P6_7 0x680
284 #define GPIOMSP432_P7_0 0x701
285 #define GPIOMSP432_P7_1 0x702
286 #define GPIOMSP432_P7_2 0x704
287 #define GPIOMSP432_P7_3 0x708
288 #define GPIOMSP432_P7_4 0x710
289 #define GPIOMSP432_P7_5 0x720
290 #define GPIOMSP432_P7_6 0x740
291 #define GPIOMSP432_P7_7 0x780
293 #define GPIOMSP432_P8_0 0x801
294 #define GPIOMSP432_P8_1 0x802
295 #define GPIOMSP432_P8_2 0x804
296 #define GPIOMSP432_P8_3 0x808
297 #define GPIOMSP432_P8_4 0x810
298 #define GPIOMSP432_P8_5 0x820
299 #define GPIOMSP432_P8_6 0x840
300 #define GPIOMSP432_P8_7 0x880
302 #define GPIOMSP432_P9_0 0x901
303 #define GPIOMSP432_P9_1 0x902
304 #define GPIOMSP432_P9_2 0x904
305 #define GPIOMSP432_P9_3 0x908
306 #define GPIOMSP432_P9_4 0x910
307 #define GPIOMSP432_P9_5 0x920
308 #define GPIOMSP432_P9_6 0x940
309 #define GPIOMSP432_P9_7 0x980
311 #define GPIOMSP432_P10_0 0xa01
312 #define GPIOMSP432_P10_1 0xa02
313 #define GPIOMSP432_P10_2 0xa04
314 #define GPIOMSP432_P10_3 0xa08
315 #define GPIOMSP432_P10_4 0xa10
316 #define GPIOMSP432_P10_5 0xa20
317 #define GPIOMSP432_P10_6 0xa40
318 #define GPIOMSP432_P10_7 0xa80
320 #define GPIOMSP432_PJ_0 0xb01
321 #define GPIOMSP432_PJ_1 0xb02
322 #define GPIOMSP432_PJ_2 0xb04
323 #define GPIOMSP432_PJ_3 0xb08
324 #define GPIOMSP432_PJ_4 0xb10
325 #define GPIOMSP432_PJ_5 0xb20
326 #define GPIOMSP432_PJ_6 0xb40
327 #define GPIOMSP432_PJ_7 0xb80
333 #ifdef __cplusplus
334 }
335 #endif
336 
337 #endif /* ti_drivers_GPIOMSP432__include */
GPIO_PinConfig * pinConfigs
Definition: GPIOMSP432.h:180
uint32_t numberOfPinConfigs
Definition: GPIOMSP432.h:186
uint32_t intPriority
Definition: GPIOMSP432.h:206
GPIO_CallbackFxn * callbacks
Definition: GPIOMSP432.h:183
uint32_t GPIO_PinConfig
GPIO pin configuration settings.
Definition: GPIO.h:275
GPIO driver.
struct GPIOMSP432_Config GPIOMSP432_Config
GPIO device specific driver configuration structure.
uint32_t numberOfCallbacks
Definition: GPIOMSP432.h:189
GPIO device specific driver configuration structure.
Definition: GPIOMSP432.h:178
void(* GPIO_CallbackFxn)(uint_least8_t index)
GPIO callback function type.
Definition: GPIO.h:363
Copyright 2016, Texas Instruments Incorporated