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: 2020-06-29 09:56:17 -0500 (Mon, 29 Jun 2020) $
38  * $Revision: 53984 $
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_tri;
73 extern const gpio_cfg_t gpio_cfg_spi17y0a_dual;
74 extern const gpio_cfg_t gpio_cfg_spi17y0a;
75 extern const gpio_cfg_t gpio_cfg_spi17y0b_tri;
76 extern const gpio_cfg_t gpio_cfg_spi17y0b_dual;
77 extern const gpio_cfg_t gpio_cfg_spi17y0b;
78 extern const gpio_cfg_t gpio_cfg_spi17y0_ss0a;
79 extern const gpio_cfg_t gpio_cfg_spi17y0_ss0b;
80 extern const gpio_cfg_t gpio_cfg_spi17y0_ss1;
81 extern const gpio_cfg_t gpio_cfg_spi17y0_ss2;
82 extern const gpio_cfg_t gpio_cfg_spi17y1_tri;
83 extern const gpio_cfg_t gpio_cfg_spi17y1_dual;
84 extern const gpio_cfg_t gpio_cfg_spi17y1;
85 extern const gpio_cfg_t gpio_cfg_spi17y1_ss0;
86 extern const gpio_cfg_t gpio_cfg_spi17y1_ss1;
87 extern const gpio_cfg_t gpio_cfg_spi17y1_ss2;
88 extern const gpio_cfg_t gpio_cfg_spi17y2_tri;
89 extern const gpio_cfg_t gpio_cfg_spi17y2_dual;
90 extern const gpio_cfg_t gpio_cfg_spi17y2;
91 extern const gpio_cfg_t gpio_cfg_spi17y2_ss0;
92 extern const gpio_cfg_t gpio_cfg_spi17y2_ss1;
93 extern const gpio_cfg_t gpio_cfg_spi17y2_ss2;
94 extern const gpio_cfg_t gpio_cfg_pt0;
95 extern const gpio_cfg_t gpio_cfg_pt1;
96 extern const gpio_cfg_t gpio_cfg_pt2;
97 extern const gpio_cfg_t gpio_cfg_pt3;
98 extern const gpio_cfg_t gpio_cfg_pt4;
99 extern const gpio_cfg_t gpio_cfg_pt5;
100 extern const gpio_cfg_t gpio_cfg_pt6;
101 extern const gpio_cfg_t gpio_cfg_pt7;
102 extern const gpio_cfg_t gpio_cfg_pt8;
103 extern const gpio_cfg_t gpio_cfg_pt9;
104 extern const gpio_cfg_t gpio_cfg_pt10;
105 extern const gpio_cfg_t gpio_cfg_pt11;
106 extern const gpio_cfg_t gpio_cfg_pt12;
107 extern const gpio_cfg_t gpio_cfg_pt13;
108 extern const gpio_cfg_t gpio_cfg_pt14;
109 extern const gpio_cfg_t gpio_cfg_pt15;
110 extern const gpio_cfg_t gpio_cfg_rtcsqw;
111 extern const gpio_cfg_t gpio_cfg_spixfc;
112 extern const gpio_cfg_t gpio_cfg_spim0;
113 extern const gpio_cfg_t gpio_cfg_spim1;
114 extern const gpio_cfg_t gpio_cfg_spim2;
115 extern const gpio_cfg_t gpio_cfg_spis;
116 extern const gpio_cfg_t gpio_cfg_spixr;
117 
118 extern const gpio_cfg_t gpio_cfg_sdhc;
119 extern const gpio_cfg_t gpio_cfg_owm;
120 
121 extern const gpio_cfg_t gpio_cfg_adc0;
122 extern const gpio_cfg_t gpio_cfg_adc1;
123 extern const gpio_cfg_t gpio_cfg_adc2;
124 extern const gpio_cfg_t gpio_cfg_adc3;
125 extern const gpio_cfg_t gpio_cfg_adc4;
126 extern const gpio_cfg_t gpio_cfg_adc5;
127 extern const gpio_cfg_t gpio_cfg_adc6;
128 extern const gpio_cfg_t gpio_cfg_adc7;
129 
130 extern const gpio_cfg_t gpio_cfg_sdma;
131 
132 #endif /* _MXC_PINS_H_ */
133 
Structure type for configuring a GPIO port.
Definition: gpio.h:138