MAX32665 Peripheral Driver API
Peripheral Driver API for the MAX32665
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: 2019-10-24 16:10:14 -0500 (Thu, 24 Oct 2019) $
38
* $Revision: 48075 $
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
typedef
enum
{
51
MAP_A,
52
MAP_B
53
} sys_map_t;
54
55
// Predefined GPIO Configurations
56
extern
const
mxc_gpio_cfg_t
gpio_cfg_tmr0;
57
extern
const
mxc_gpio_cfg_t
gpio_cfg_tmr1;
58
extern
const
mxc_gpio_cfg_t
gpio_cfg_tmr2;
59
extern
const
mxc_gpio_cfg_t
gpio_cfg_tmr3;
60
extern
const
mxc_gpio_cfg_t
gpio_cfg_tmr4;
61
extern
const
mxc_gpio_cfg_t
gpio_cfg_tmr5;
62
63
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart0a;
64
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart0a_flow;
65
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart1a;
66
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart1a_flow;
67
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart2a;
68
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart2a_flow;
69
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart0b;
70
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart0b_flow;
71
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart1b;
72
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart1b_flow;
73
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart2b;
74
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart2b_flow;
75
76
extern
const
mxc_gpio_cfg_t
gpio_cfg_i2c0;
77
extern
const
mxc_gpio_cfg_t
gpio_cfg_i2c1;
78
extern
const
mxc_gpio_cfg_t
gpio_cfg_i2c2;
79
80
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi0a;
81
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi0b;
82
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi0_ss0a;
83
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi0_ss0b;
84
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi0_ss1;
85
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi0_ss2;
86
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi1;
87
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi1_ss0;
88
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi1_ss1;
89
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi1_ss2;
90
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi2;
91
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi2_ss0;
92
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi2_ss1;
93
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi2_ss2;
94
95
extern
const
mxc_gpio_cfg_t
gpio_cfg_pt0;
96
extern
const
mxc_gpio_cfg_t
gpio_cfg_pt1;
97
extern
const
mxc_gpio_cfg_t
gpio_cfg_pt2;
98
extern
const
mxc_gpio_cfg_t
gpio_cfg_pt3;
99
extern
const
mxc_gpio_cfg_t
gpio_cfg_pt4;
100
extern
const
mxc_gpio_cfg_t
gpio_cfg_pt5;
101
extern
const
mxc_gpio_cfg_t
gpio_cfg_pt6;
102
extern
const
mxc_gpio_cfg_t
gpio_cfg_pt7;
103
extern
const
mxc_gpio_cfg_t
gpio_cfg_pt8;
104
extern
const
mxc_gpio_cfg_t
gpio_cfg_pt9;
105
extern
const
mxc_gpio_cfg_t
gpio_cfg_pt10;
106
extern
const
mxc_gpio_cfg_t
gpio_cfg_pt11;
107
extern
const
mxc_gpio_cfg_t
gpio_cfg_pt12;
108
extern
const
mxc_gpio_cfg_t
gpio_cfg_pt13;
109
extern
const
mxc_gpio_cfg_t
gpio_cfg_pt14;
110
extern
const
mxc_gpio_cfg_t
gpio_cfg_pt15;
111
112
extern
const
mxc_gpio_cfg_t
gpio_cfg_rtcsqw;
113
extern
const
mxc_gpio_cfg_t
gpio_cfg_spixfc;
114
extern
const
mxc_gpio_cfg_t
gpio_cfg_spim0;
115
extern
const
mxc_gpio_cfg_t
gpio_cfg_spim1;
116
extern
const
mxc_gpio_cfg_t
gpio_cfg_spim2;
117
extern
const
mxc_gpio_cfg_t
gpio_cfg_spis;
118
extern
const
mxc_gpio_cfg_t
gpio_cfg_spixr;
119
120
extern
const
mxc_gpio_cfg_t
gpio_cfg_sdhc;
121
extern
const
mxc_gpio_cfg_t
gpio_cfg_owm;
122
123
extern
const
mxc_gpio_cfg_t
gpio_cfg_adc0;
124
extern
const
mxc_gpio_cfg_t
gpio_cfg_adc1;
125
extern
const
mxc_gpio_cfg_t
gpio_cfg_adc2;
126
extern
const
mxc_gpio_cfg_t
gpio_cfg_adc3;
127
extern
const
mxc_gpio_cfg_t
gpio_cfg_adc4;
128
extern
const
mxc_gpio_cfg_t
gpio_cfg_adc5;
129
extern
const
mxc_gpio_cfg_t
gpio_cfg_adc6;
130
extern
const
mxc_gpio_cfg_t
gpio_cfg_adc7;
131
132
extern
const
mxc_gpio_cfg_t
gpio_cfg_sdma;
133
134
#endif
/* _MXC_PINS_H_ */
135
mxc_gpio_cfg_t
Structure type for configuring a GPIO port.
Definition:
gpio.h:154
Include
MAX32665
mxc_pins.h
Generated on Fri Dec 4 2020 11:48:57 for MAX32665 Peripheral Driver API by
1.8.20