MAX32675 Peripheral Driver API
Peripheral Driver API for the MAX32675
Toggle main menu visibility
Main Page
Modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Modules
mxc_pins.h
1
6
/******************************************************************************
7
*
8
* Copyright (C) 2022-2023 Maxim Integrated Products, Inc. (now owned by
9
* Analog Devices, Inc.),
10
* Copyright (C) 2023-2024 Analog Devices, Inc.
11
*
12
* Licensed under the Apache License, Version 2.0 (the "License");
13
* you may not use this file except in compliance with the License.
14
* You may obtain a copy of the License at
15
*
16
* http://www.apache.org/licenses/LICENSE-2.0
17
*
18
* Unless required by applicable law or agreed to in writing, software
19
* distributed under the License is distributed on an "AS IS" BASIS,
20
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
* See the License for the specific language governing permissions and
22
* limitations under the License.
23
*
24
******************************************************************************/
25
26
#ifndef LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX32675_MXC_PINS_H_
27
#define LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX32675_MXC_PINS_H_
28
29
#include "gpio.h"
30
31
/***** Global Variables *****/
32
// Predefined GPIO Configurations
33
extern
const
mxc_gpio_cfg_t
gpio_cfg_hfextclk;
34
#define gpio_cfg_extclk gpio_cfg_hfextclk
35
/* ^ Defined for backwards compatability after renaming
36
gpio_cfg_extclk -> gpio_cfg_hfextclk
37
*/
38
extern
const
mxc_gpio_cfg_t
gpio_cfg_i2c0;
39
extern
const
mxc_gpio_cfg_t
gpio_cfg_i2c1;
40
extern
const
mxc_gpio_cfg_t
gpio_cfg_i2c2;
41
42
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart0;
43
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart0_flow;
44
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart0_flow_disable;
45
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart1;
46
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart1_flow;
47
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart2;
48
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart2_flow;
49
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart2_flow_disable;
50
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart3;
51
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart3_flow;
52
extern
const
mxc_gpio_cfg_t
gpio_cfg_uart3_flow_disable;
53
54
// NOTE: SPI1 definied here with SS1 only.
55
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi1;
56
// NOTE: SPI2 defined here with SS0 only.
57
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi2;
58
59
// Timers are only defined once, depending on package, each timer could be mapped to other pins
60
extern
const
mxc_gpio_cfg_t
gpio_cfg_tmr0;
61
extern
const
mxc_gpio_cfg_t
gpio_cfg_tmr1;
62
extern
const
mxc_gpio_cfg_t
gpio_cfg_tmr2;
63
extern
const
mxc_gpio_cfg_t
gpio_cfg_tmr3;
64
extern
const
mxc_gpio_cfg_t
gpio_cfg_tmr4;
65
extern
const
mxc_gpio_cfg_t
gpio_cfg_tmr5;
66
67
extern
const
mxc_gpio_cfg_t
gpio_cfg_i2s0;
68
69
//extern const mxc_gpio_cfg_t gpio_cfg_rtcsqw;
70
//extern const mxc_gpio_cfg_t gpio_cfg_rtcsqwb;
71
72
extern
const
mxc_gpio_cfg_t
gpio_cfg_lc1;
73
extern
const
mxc_gpio_cfg_t
gpio_cfg_mon_lc1;
74
extern
const
mxc_gpio_cfg_t
gpio_cfg_cmd_rs_lc1;
75
extern
const
mxc_gpio_cfg_t
gpio_cfg_chrg_lc1;
76
extern
const
mxc_gpio_cfg_t
gpio_cfg_lc2;
77
extern
const
mxc_gpio_cfg_t
gpio_cfg_mon_lc2;
78
extern
const
mxc_gpio_cfg_t
gpio_cfg_cmd_rs_lc2;
79
extern
const
mxc_gpio_cfg_t
gpio_cfg_chrg_lc2;
80
81
// SPI v2 Pin Definitions
82
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi1_standard;
83
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi1_3wire;
84
// MXC_SPI1 does not support Dual or Quad modes.
85
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi2_standard;
86
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi2_3wire;
87
// MXC_SPI2 does not support Dual or Quad modes.
88
89
// SPI v2 Target Selects Pin Definitions
90
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi1_ts0;
91
extern
const
mxc_gpio_cfg_t
gpio_cfg_spi2_ts0;
92
93
#endif
// LIBRARIES_PERIPHDRIVERS_INCLUDE_MAX32675_MXC_PINS_H_
mxc_gpio_cfg_t
Structure type for configuring a GPIO port.
Definition:
gpio.h:165
Include
MAX32675
mxc_pins.h
Generated on Fri Oct 25 2024 14:39:34 for MAX32675 Peripheral Driver API by
1.9.4