MAX32675 Peripheral Driver API
Peripheral Driver API for the MAX32675
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
**************************************************************************** */
38
39
40
#ifndef _MXC_PINS_H_
41
#define _MXC_PINS_H_
42
43
#include "gpio.h"
44
45
/***** Global Variables *****/
46
// Predefined GPIO Configurations
47
extern
const
mxc_gpio_cfg_t
gpio_cfg_extclk;
48
extern
const
mxc_gpio_cfg_t
gpio_cfg_i2c0;
49
//extern const mxc_gpio_cfg_t gpio_cfg_i2c1;
50
extern
const
mxc_gpio_cfg_t
gpio_cfg_i2c2;
51
extern
const
mxc_gpio_cfg_t
gpio_cfg_i2c2b;
52
extern
const
mxc_gpio_cfg_t
gpio_cfg_i2c2c;
53
54
55
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart0;
56
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart0_flow;
57
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart0_flow_disable;
58
//extern const mxc_gpio_cfg_t gpio_cfg_uart1;
59
//extern const mxc_gpio_cfg_t gpio_cfg_uart1_flow;
60
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart2;
61
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart2_flow;
62
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart2_flow_disable;
63
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart3;
64
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart3_flow;
65
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart3_flow_disable;
66
67
68
// extern const mxc_gpio_cfg_t gpio_cfg_spi0;
69
// NOTE: SPI1 definied here with SS1 only, SS0 is on port0 by itself.
70
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi1;
71
// NOTE: SPI2 defined here with SS0 only, and NOT SS1 and SS2
72
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi2;
73
// extern const mxc_gpio_cfg_t gpio_cfg_spi2b;
74
// NOTE: SPI3 defined here with SS0 only, and NOT SS1, SS2, or SS3
75
// extern const mxc_gpio_cfg_t gpio_cfg_spi3;
76
77
// Timers are only defined once, depending on package, each timer could be mapped to other pins
78
extern
const
mxc_gpio_cfg_t
gpio_cfg_tmr0;
79
extern
const
mxc_gpio_cfg_t
gpio_cfg_tmr1;
80
extern
const
mxc_gpio_cfg_t
gpio_cfg_tmr2;
81
extern
const
mxc_gpio_cfg_t
gpio_cfg_tmr3;
82
extern
const
mxc_gpio_cfg_t
gpio_cfg_tmr4;
83
extern
const
mxc_gpio_cfg_t
gpio_cfg_tmr5;
84
85
extern
const
mxc_gpio_cfg_t
gpio_cfg_i2s0;
86
87
//extern const mxc_gpio_cfg_t gpio_cfg_rtcsqw;
88
//extern const mxc_gpio_cfg_t gpio_cfg_rtcsqwb;
89
90
extern
const
mxc_gpio_cfg_t
gpio_cfg_lc1;
91
extern
const
mxc_gpio_cfg_t
gpio_cfg_mon_lc1;
92
extern
const
mxc_gpio_cfg_t
gpio_cfg_cmd_rs_lc1;
93
extern
const
mxc_gpio_cfg_t
gpio_cfg_chrg_lc1;
94
extern
const
mxc_gpio_cfg_t
gpio_cfg_lc2;
95
extern
const
mxc_gpio_cfg_t
gpio_cfg_mon_lc2;
96
extern
const
mxc_gpio_cfg_t
gpio_cfg_cmd_rs_lc2;
97
extern
const
mxc_gpio_cfg_t
gpio_cfg_chrg_lc2;
98
99
#endif
/* _MXC_PINS_H_ */
100
mxc_gpio_cfg_t
Structure type for configuring a GPIO port.
Definition:
gpio.h:160
Include
MAX32675
mxc_pins.h
Generated on Mon Feb 8 2021 11:38:50 for MAX32675 Peripheral Driver API by
1.8.17