1 /*
2  * Copyright 2017-2019 NXP
3  * All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  */
7 
8 /***********************************************************************************************************************
9  * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
10  * will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
11  **********************************************************************************************************************/
12 
13 #ifndef _PIN_MUX_H_
14 #define _PIN_MUX_H_
15 
16 /*!
17  * @addtogroup pin_mux
18  * @{
19  */
20 
21 /***********************************************************************************************************************
22  * API
23  **********************************************************************************************************************/
24 
25 #if defined(__cplusplus)
26 extern "C" {
27 #endif
28 
29 /*!
30  * @brief Calls initialization functions.
31  *
32  */
33 void BOARD_InitBootPins(void);
34 
35 #define IOCON_PIO_DIGITAL_EN 0x0100u  /*!<@brief Enables digital function */
36 #define IOCON_PIO_FUNC1 0x01u         /*!<@brief Selects pin function 1 */
37 #define IOCON_PIO_INV_DI 0x00u        /*!<@brief Input function is not inverted */
38 #define IOCON_PIO_MODE_INACT 0x00u    /*!<@brief No addition pin function */
39 #define IOCON_PIO_OPENDRAIN_DI 0x00u  /*!<@brief Open drain is disabled */
40 #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */
41 
42 /*!
43  * @brief Configures pin routing and optionally pin electrical features.
44  *
45  */
46 void BOARD_InitPins(void); /* Function assigned for the Cortex-M33 */
47 
48 #define IOCON_PIO_DIGITAL_EN 0x0100u   /*!<@brief Enables digital function */
49 #define IOCON_PIO_FUNC5 0x05u          /*!<@brief Selects pin function 5 */
50 #define IOCON_PIO_INV_DI 0x00u         /*!<@brief Input function is not inverted */
51 #define IOCON_PIO_MODE_PULLUP 0x20u    /*!<@brief Selects pull-up function */
52 #define IOCON_PIO_OPENDRAIN_EN 0x0200u /*!<@brief Open drain is enabled */
53 #define IOCON_PIO_SLEW_STANDARD 0x00u  /*!<@brief Standard mode, output slew rate control is enabled */
54 
55 /*!
56  * @brief Configures pin routing and optionally pin electrical features.
57  *
58  */
59 void I2C4_InitPins(void); /* Function assigned for the Cortex-M33 */
60 
61 #define IOCON_PIO_DIGITAL_EN 0x0100u  /*!<@brief Enables digital function */
62 #define IOCON_PIO_FUNC0 0x00u         /*!<@brief Selects pin function 0 */
63 #define IOCON_PIO_INV_DI 0x00u        /*!<@brief Input function is not inverted */
64 #define IOCON_PIO_MODE_INACT 0x00u    /*!<@brief No addition pin function */
65 #define IOCON_PIO_OPENDRAIN_DI 0x00u  /*!<@brief Open drain is disabled */
66 #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */
67 
68 /*!
69  * @brief Configures pin routing and optionally pin electrical features.
70  *
71  */
72 void I2C4_DeinitPins(void); /* Function assigned for the Cortex-M33 */
73 
74 #define IOCON_PIO_DIGITAL_EN 0x0100u  /*!<@brief Enables digital function */
75 #define IOCON_PIO_FUNC1 0x01u         /*!<@brief Selects pin function 1 */
76 #define IOCON_PIO_INV_DI 0x00u        /*!<@brief Input function is not inverted */
77 #define IOCON_PIO_MODE_INACT 0x00u    /*!<@brief No addition pin function */
78 #define IOCON_PIO_OPENDRAIN_DI 0x00u  /*!<@brief Open drain is disabled */
79 #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */
80 
81 /*!
82  * @brief Configures pin routing and optionally pin electrical features.
83  *
84  */
85 void USART0_InitPins(void); /* Function assigned for the Cortex-M33 */
86 
87 #define IOCON_PIO_DIGITAL_EN 0x0100u  /*!<@brief Enables digital function */
88 #define IOCON_PIO_FUNC0 0x00u         /*!<@brief Selects pin function 0 */
89 #define IOCON_PIO_INV_DI 0x00u        /*!<@brief Input function is not inverted */
90 #define IOCON_PIO_MODE_INACT 0x00u    /*!<@brief No addition pin function */
91 #define IOCON_PIO_OPENDRAIN_DI 0x00u  /*!<@brief Open drain is disabled */
92 #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */
93 
94 /*!
95  * @brief Configures pin routing and optionally pin electrical features.
96  *
97  */
98 void USART0_DeinitPins(void); /* Function assigned for the Cortex-M33 */
99 
100 #define IOCON_PIO_DIGITAL_EN 0x0100u  /*!<@brief Enables digital function */
101 #define IOCON_PIO_FUNC1 0x01u         /*!<@brief Selects pin function 1 */
102 #define IOCON_PIO_FUNC7 0x07u         /*!<@brief Selects pin function 7 */
103 #define IOCON_PIO_INV_DI 0x00u        /*!<@brief Input function is not inverted */
104 #define IOCON_PIO_MODE_PULLUP 0x20u   /*!<@brief Selects pull-up function */
105 #define IOCON_PIO_OPENDRAIN_DI 0x00u  /*!<@brief Open drain is disabled */
106 #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */
107 
108 /*!
109  * @brief Configures pin routing and optionally pin electrical features.
110  *
111  */
112 void SPI7_InitPins(void); /* Function assigned for the Cortex-M33 */
113 
114 #define IOCON_PIO_DIGITAL_EN 0x0100u  /*!<@brief Enables digital function */
115 #define IOCON_PIO_FUNC0 0x00u         /*!<@brief Selects pin function 0 */
116 #define IOCON_PIO_INV_DI 0x00u        /*!<@brief Input function is not inverted */
117 #define IOCON_PIO_MODE_PULLUP 0x20u   /*!<@brief Selects pull-up function */
118 #define IOCON_PIO_OPENDRAIN_DI 0x00u  /*!<@brief Open drain is disabled */
119 #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */
120 
121 /*!
122  * @brief Configures pin routing and optionally pin electrical features.
123  *
124  */
125 void SPI7_DeinitPins(void); /* Function assigned for the Cortex-M33 */
126 
127 /*!
128  * @brief Configures pin routing and optionally pin electrical features.
129  *
130  */
131 void SPI8_InitPins(void); /* Function assigned for the Cortex-M33 */
132 
133 /*!
134  * @brief Configures pin routing and optionally pin electrical features.
135  *
136  */
137 void SPI8_DeinitPins(void); /* Function assigned for the Cortex-M33 */
138 
139 #define IOCON_PIO_DIGITAL_EN 0x0100u   /*!<@brief Enables digital function */
140 #define IOCON_PIO_FUNC5 0x05u          /*!<@brief Selects pin function 5 */
141 #define IOCON_PIO_FUNC6 0x06u         /*!<@brief Selects pin function 6 */
142 #define IOCON_PIO_FUNC9 0x09u         /*!<@brief Selects pin function 9 */
143 #define IOCON_PIO_INV_DI 0x00u         /*!<@brief Input function is not inverted */
144 #define IOCON_PIO_MODE_PULLUP 0x20u    /*!<@brief Selects pull-up function */
145 #define IOCON_PIO_OPENDRAIN_EN 0x0200u /*!<@brief Open drain is enabled */
146 #define IOCON_PIO_SLEW_STANDARD 0x00u  /*!<@brief Standard mode, output slew rate control is enabled */
147 
148 #if defined(__cplusplus)
149 }
150 #endif
151 
152 /*!
153  * @}
154  */
155 #endif /* _PIN_MUX_H_ */
156 
157 /***********************************************************************************************************************
158  * EOF
159  **********************************************************************************************************************/
160