MAX32665 SDK Documentation  0.2
Software Development Kit Overview and API Documentation
mxc_pins.h
1 
6 /* *****************************************************************************
7  * Copyright (C) 2016 Maxim Integrated Products, Inc., All Rights Reserved.
8  *
9  * Permission is hereby granted, free of charge, to any person obtaining a
10  * copy of this software and associated documentation files (the "Software"),
11  * to deal in the Software without restriction, including without limitation
12  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
13  * and/or sell copies of the Software, and to permit persons to whom the
14  * Software is furnished to do so, subject to the following conditions:
15  *
16  * The above copyright notice and this permission notice shall be included
17  * in all copies or substantial portions of the Software.
18  *
19  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22  * IN NO EVENT SHALL MAXIM INTEGRATED BE LIABLE FOR ANY CLAIM, DAMAGES
23  * OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
24  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25  * OTHER DEALINGS IN THE SOFTWARE.
26  *
27  * Except as contained in this notice, the name of Maxim Integrated
28  * Products, Inc. shall not be used except as stated in the Maxim Integrated
29  * Products, Inc. Branding Policy.
30  *
31  * The mere transfer of this software does not imply any licenses
32  * of trade secrets, proprietary technology, copyrights, patents,
33  * trademarks, maskwork rights, or any other form of intellectual
34  * property whatsoever. Maxim Integrated Products, Inc. retains all
35  * ownership rights.
36  *
37  * $Date: 2018-10-22 08:47:59 -0500 (Mon, 22 Oct 2018) $
38  * $Revision: 38626 $
39  *
40  **************************************************************************** */
41 
42 
43 #ifndef _MXC_PINS_H_
44 #define _MXC_PINS_H_
45 
46 #include "gpio.h"
47 
48 /***** Global Variables *****/
49 
50 // Predefined GPIO Configurations
51 extern const gpio_cfg_t gpio_cfg_tmr0;
52 extern const gpio_cfg_t gpio_cfg_tmr1;
53 extern const gpio_cfg_t gpio_cfg_tmr2;
54 extern const gpio_cfg_t gpio_cfg_tmr3;
55 extern const gpio_cfg_t gpio_cfg_tmr4;
56 extern const gpio_cfg_t gpio_cfg_tmr5;
57 extern const gpio_cfg_t gpio_cfg_uart0a;
58 extern const gpio_cfg_t gpio_cfg_uart0a_flow;
59 extern const gpio_cfg_t gpio_cfg_uart1a;
60 extern const gpio_cfg_t gpio_cfg_uart1a_flow;
61 extern const gpio_cfg_t gpio_cfg_uart2a;
62 extern const gpio_cfg_t gpio_cfg_uart2a_flow;
63 extern const gpio_cfg_t gpio_cfg_uart0b;
64 extern const gpio_cfg_t gpio_cfg_uart0b_flow;
65 extern const gpio_cfg_t gpio_cfg_uart1b;
66 extern const gpio_cfg_t gpio_cfg_uart1b_flow;
67 extern const gpio_cfg_t gpio_cfg_uart2b;
68 extern const gpio_cfg_t gpio_cfg_uart2b_flow;
69 extern const gpio_cfg_t gpio_cfg_i2c0;
70 extern const gpio_cfg_t gpio_cfg_i2c1;
71 extern const gpio_cfg_t gpio_cfg_i2c2;
72 extern const gpio_cfg_t gpio_cfg_spi17y0a;
73 extern const gpio_cfg_t gpio_cfg_spi17y0b;
74 extern const gpio_cfg_t gpio_cfg_spi17y0_ss0a;
75 extern const gpio_cfg_t gpio_cfg_spi17y0_ss0b;
76 extern const gpio_cfg_t gpio_cfg_spi17y0_ss1;
77 extern const gpio_cfg_t gpio_cfg_spi17y0_ss2;
78 extern const gpio_cfg_t gpio_cfg_spi17y1;
79 extern const gpio_cfg_t gpio_cfg_spi17y1_ss0;
80 extern const gpio_cfg_t gpio_cfg_spi17y1_ss1;
81 extern const gpio_cfg_t gpio_cfg_spi17y1_ss2;
82 extern const gpio_cfg_t gpio_cfg_spi17y2;
83 extern const gpio_cfg_t gpio_cfg_spi17y2_ss0;
84 extern const gpio_cfg_t gpio_cfg_spi17y2_ss1;
85 extern const gpio_cfg_t gpio_cfg_spi17y2_ss2;;
86 extern const gpio_cfg_t gpio_cfg_pt0;
87 extern const gpio_cfg_t gpio_cfg_pt1;
88 extern const gpio_cfg_t gpio_cfg_pt2;
89 extern const gpio_cfg_t gpio_cfg_pt3;
90 extern const gpio_cfg_t gpio_cfg_pt4;
91 extern const gpio_cfg_t gpio_cfg_pt5;
92 extern const gpio_cfg_t gpio_cfg_pt6;
93 extern const gpio_cfg_t gpio_cfg_pt7;
94 extern const gpio_cfg_t gpio_cfg_pt8;
95 extern const gpio_cfg_t gpio_cfg_pt9;
96 extern const gpio_cfg_t gpio_cfg_pt10;
97 extern const gpio_cfg_t gpio_cfg_pt11;
98 extern const gpio_cfg_t gpio_cfg_pt12;
99 extern const gpio_cfg_t gpio_cfg_pt13;
100 extern const gpio_cfg_t gpio_cfg_pt14;
101 extern const gpio_cfg_t gpio_cfg_pt15;
102 extern const gpio_cfg_t gpio_cfg_rtcsqw;
103 extern const gpio_cfg_t gpio_cfg_spixfc;
104 extern const gpio_cfg_t gpio_cfg_spim0;
105 extern const gpio_cfg_t gpio_cfg_spim1;
106 extern const gpio_cfg_t gpio_cfg_spim2;
107 extern const gpio_cfg_t gpio_cfg_spis;
108 extern const gpio_cfg_t gpio_cfg_spixr;
109 
110 extern const gpio_cfg_t gpio_cfg_sdhc;
111 extern const gpio_cfg_t gpio_cfg_owm;
112 
113 extern const gpio_cfg_t gpio_cfg_adc0;
114 extern const gpio_cfg_t gpio_cfg_adc1;
115 extern const gpio_cfg_t gpio_cfg_adc2;
116 extern const gpio_cfg_t gpio_cfg_adc3;
117 extern const gpio_cfg_t gpio_cfg_adc4;
118 extern const gpio_cfg_t gpio_cfg_adc5;
119 extern const gpio_cfg_t gpio_cfg_adc6;
120 extern const gpio_cfg_t gpio_cfg_adc7;
121 
122 extern const gpio_cfg_t gpio_cfg_sdma;
123 
124 #endif /* _MXC_PINS_H_ */
125 
Structure type for configuring a GPIO port.
Definition: gpio.h:138