TI-RTOS for SimpleLink Wireless MCUs  2.14.03.28
GPIOCC3200.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015, 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  */
157 #ifndef ti_drivers_GPIOCC3200__include
158 #define ti_drivers_GPIOCC3200__include
159 
160 #ifdef __cplusplus
161 extern "C" {
162 #endif
163 
164 #include <stdint.h>
165 #include <ti/drivers/GPIO.h>
166 
170 typedef struct GPIOCC3200_Config {
173 
176 
179 
182 
198  uint32_t intPriority;
200 
207 #define GPIOCC3200_EMPTY_PIN 0x0000
208 
209 #define GPIOCC3200_GPIO_00 0x0001
210 #define GPIOCC3200_GPIO_01 0x0002
211 #define GPIOCC3200_GPIO_02 0x0004
212 #define GPIOCC3200_GPIO_03 0x0008
213 #define GPIOCC3200_GPIO_04 0x0010
214 #define GPIOCC3200_GPIO_05 0x0020
215 #define GPIOCC3200_GPIO_06 0x0040
216 #define GPIOCC3200_GPIO_07 0x0080
217 
218 #define GPIOCC3200_GPIO_08 0x0101
219 #define GPIOCC3200_GPIO_09 0x0102
220 #define GPIOCC3200_GPIO_10 0x0104
221 #define GPIOCC3200_GPIO_11 0x0108
222 #define GPIOCC3200_GPIO_12 0x0110
223 #define GPIOCC3200_GPIO_13 0x0120
224 #define GPIOCC3200_GPIO_14 0x0140
225 #define GPIOCC3200_GPIO_15 0x0180
226 
227 #define GPIOCC3200_GPIO_16 0x0201
228 #define GPIOCC3200_GPIO_17 0x0202
229 #define GPIOCC3200_GPIO_18 0x0204
230 #define GPIOCC3200_GPIO_19 0x0208
231 #define GPIOCC3200_GPIO_20 0x0210
232 #define GPIOCC3200_GPIO_21 0x0220
233 #define GPIOCC3200_GPIO_22 0x0240
234 #define GPIOCC3200_GPIO_23 0x0280
235 
236 #define GPIOCC3200_GPIO_24 0x0301
237 #define GPIOCC3200_GPIO_25 0x0302
238 #define GPIOCC3200_GPIO_26 0x0304
239 #define GPIOCC3200_GPIO_27 0x0308
240 #define GPIOCC3200_GPIO_28 0x0310
241 #define GPIOCC3200_GPIO_29 0x0320
242 #define GPIOCC3200_GPIO_30 0x0340
243 #define GPIOCC3200_GPIO_31 0x0380
244 
245 #ifdef __cplusplus
246 }
247 #endif
248 
249 #endif /* ti_drivers_GPIOCC3200__include */
GPIO_CallbackFxn * callbacks
Definition: GPIOCC3200.h:175
uint32_t numberOfPinConfigs
Definition: GPIOCC3200.h:178
GPIO device specific driver configuration structure.
Definition: GPIOCC3200.h:170
uint32_t intPriority
Definition: GPIOCC3200.h:198
GPIO_PinConfig * pinConfigs
Definition: GPIOCC3200.h:172
struct GPIOCC3200_Config GPIOCC3200_Config
GPIO device specific driver configuration structure.
uint32_t GPIO_PinConfig
GPIO pin configuration settings.
Definition: GPIO.h:84
uint32_t numberOfCallbacks
Definition: GPIOCC3200.h:181
GPIO driver.
void(* GPIO_CallbackFxn)(void)
GPIO callback function type.
Definition: GPIO.h:157
Copyright 2015, Texas Instruments Incorporated