Callisto4Bootloader: board/pin_mux.h Source File

Callisto4Bootloader

pin_mux.h
Go to the documentation of this file.
1 /***********************************************************************************************************************
2 * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
3 * will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
4 **********************************************************************************************************************/
5
6 #ifndef _PIN_MUX_H_
7 #define _PIN_MUX_H_
8
9 /***********************************************************************************************************************
10 * Definitions
11 **********************************************************************************************************************/
12
14 typedef enum _pin_mux_direction
15 {
16 kPIN_MUX_DirectionInput = 0U, /* Input direction */
17 kPIN_MUX_DirectionOutput = 1U, /* Output direction */
18 kPIN_MUX_DirectionInputOrOutput = 2U /* Input or output direction */
19 } pin_mux_direction_t;
20
26 /***********************************************************************************************************************
27 * API
28 **********************************************************************************************************************/
29
30 #if defined(__cplusplus)
31 extern "C" {
32 #endif
33
38 void BOARD_InitBootPins(void);
39
40 /* GPIO_AD_B0_13 (coord L14), UART1_RXD */
41 #define BOARD_UART1_RXD_PERIPHERAL LPUART1
42 #define BOARD_UART1_RXD_SIGNAL RX
44 /* GPIO_AD_B0_12 (coord K14), UART1_TXD */
45 #define BOARD_UART1_TXD_PERIPHERAL LPUART1
46 #define BOARD_UART1_TXD_SIGNAL TX
48 /* GPIO_B0_09 (coord C9), USER_LED_RED */
49 #define BOARD_USER_LED_RED_GPIO GPIO2
50 #define BOARD_USER_LED_RED_PORT GPIO2
51 #define BOARD_USER_LED_RED_PIN 9U
53 /* GPIO_B0_10 (coord D9), USER_LED_GREEN */
54 #define BOARD_USER_LED_GREEN_GPIO GPIO2
55 #define BOARD_USER_LED_GREEN_PORT GPIO2
56 #define BOARD_USER_LED_GREEN_PIN 10U
58 /* GPIO_B0_11 (coord A10), USER_LED_BLUE */
59 #define BOARD_USER_LED_BLUE_GPIO GPIO2
60 #define BOARD_USER_LED_BLUE_PORT GPIO2
61 #define BOARD_USER_LED_BLUE_PIN 11U
63 /* GPIO_B1_04 (coord E12), ENET_RXD0 */
64 #define BOARD_ENET_RXD0_PERIPHERAL ENET
65 #define BOARD_ENET_RXD0_SIGNAL enet_rx_data
66 #define BOARD_ENET_RXD0_CHANNEL 0U
68 /* GPIO_B1_05 (coord D12), ENET_RXD1 */
69 #define BOARD_ENET_RXD1_PERIPHERAL ENET
70 #define BOARD_ENET_RXD1_SIGNAL enet_rx_data
71 #define BOARD_ENET_RXD1_CHANNEL 1U
73 /* GPIO_B1_06 (coord C12), ENET_CRS_DV */
74 #define BOARD_ENET_CRS_DV_PERIPHERAL ENET
75 #define BOARD_ENET_CRS_DV_SIGNAL enet_rx_en
77 /* GPIO_B1_07 (coord B12), ENET_TXD0 */
78 #define BOARD_ENET_TXD0_PERIPHERAL ENET
79 #define BOARD_ENET_TXD0_SIGNAL enet_tx_data
80 #define BOARD_ENET_TXD0_CHANNEL 0U
82 /* GPIO_B1_08 (coord A12), ENET_TXD1 */
83 #define BOARD_ENET_TXD1_PERIPHERAL ENET
84 #define BOARD_ENET_TXD1_SIGNAL enet_tx_data
85 #define BOARD_ENET_TXD1_CHANNEL 1U
87 /* GPIO_B1_09 (coord A13), ENET_TXEN */
88 #define BOARD_ENET_TXEN_PERIPHERAL ENET
89 #define BOARD_ENET_TXEN_SIGNAL enet_tx_en
91 /* GPIO_B1_10 (coord B13), ENET_TX_CLK */
92 #define BOARD_ENET_TX_CLK_PERIPHERAL ENET
93 #define BOARD_ENET_TX_CLK_SIGNAL enet_ref_clk
95 /* GPIO_B1_11 (coord C13), ENET_RXER */
96 #define BOARD_ENET_RXER_PERIPHERAL ENET
97 #define BOARD_ENET_RXER_SIGNAL enet_rx_er
99 /* GPIO_EMC_40 (coord A7), ENET_MDC */
100 #define BOARD_ENET_MDC_PERIPHERAL ENET
101 #define BOARD_ENET_MDC_SIGNAL enet_mdc
103 /* GPIO_EMC_41 (coord C7), ENET_MDIO */
104 #define BOARD_ENET_MDIO_PERIPHERAL ENET
105 #define BOARD_ENET_MDIO_SIGNAL enet_mdio
107 /* GPIO_AD_B1_02 (coord L11), SPDIF_OUT/J22[7] */
108 #define BOARD_SPDIF_OUT_PERIPHERAL ENET
109 #define BOARD_SPDIF_OUT_SIGNAL 1588_EVENT2_OUT
111 /* GPIO_B1_01 (coord B11), LCDIF_D13 */
112 #define BOARD_LCDIF_D13_PERIPHERAL ENET2
113 #define BOARD_LCDIF_D13_SIGNAL enet_rx_data
114 #define BOARD_LCDIF_D13_CHANNEL 0U
116 /* GPIO_B1_02 (coord C11), LCDIF_D14 */
117 #define BOARD_LCDIF_D14_PERIPHERAL ENET2
118 #define BOARD_LCDIF_D14_SIGNAL enet_rx_data
119 #define BOARD_LCDIF_D14_CHANNEL 1U
121 /* GPIO_B1_03 (coord D11), LCDIF_D15 */
122 #define BOARD_LCDIF_D15_PERIPHERAL ENET2
123 #define BOARD_LCDIF_D15_SIGNAL enet_rx_en
125 /* GPIO_B0_12 (coord C10), LCDIF_D8/BT_CFG[8] */
126 #define BOARD_LCDIF_D8_PERIPHERAL ENET2
127 #define BOARD_LCDIF_D8_SIGNAL enet_tx_data
128 #define BOARD_LCDIF_D8_CHANNEL 0U
130 /* GPIO_B0_13 (coord D10), LCDIF_D9/BT_CFG[9] */
131 #define BOARD_LCDIF_D9_PERIPHERAL ENET2
132 #define BOARD_LCDIF_D9_SIGNAL enet_tx_data
133 #define BOARD_LCDIF_D9_CHANNEL 1U
135 /* GPIO_B0_14 (coord E10), LCDIF_D10/BT_CFG[10] */
136 #define BOARD_LCDIF_D10_PERIPHERAL ENET2
137 #define BOARD_LCDIF_D10_SIGNAL enet_tx_en
139 /* GPIO_B0_15 (coord E11), LCDIF_D11/BT_CFG[11] */
140 #define BOARD_LCDIF_D11_PERIPHERAL ENET2
141 #define BOARD_LCDIF_D11_SIGNAL enet_ref_clk
143 /* GPIO_B1_00 (coord A11), LCDIF_D12 */
144 #define BOARD_LCDIF_D12_PERIPHERAL ENET2
145 #define BOARD_LCDIF_D12_SIGNAL enet_rx_er
147 /* GPIO_SD_B0_00 (coord J4), SD1_CMD/J24[6] */
148 #define BOARD_SD1_CMD_PERIPHERAL LPSPI1
149 #define BOARD_SD1_CMD_SIGNAL SCK
151 /* GPIO_SD_B0_01 (coord J3), SD1_CLK/J24[3] */
152 #define BOARD_SD1_CLK_PERIPHERAL LPSPI1
153 #define BOARD_SD1_CLK_SIGNAL PCS0
155 /* GPIO_SD_B0_02 (coord J1), SD1_D0/J24[4]/SPI_MOSI/PWM */
156 #define BOARD_SD1_D0_PERIPHERAL LPSPI1
157 #define BOARD_SD1_D0_SIGNAL SDO
159 /* GPIO_SD_B0_03 (coord K1), SD1_D1/J24[5]/SPI_MISO */
160 #define BOARD_SD1_D1_PERIPHERAL LPSPI1
161 #define BOARD_SD1_D1_SIGNAL SDI
163 /* GPIO_AD_B1_15 (coord J14), SAI1_TX_SYNC/CSI_D2/J35[6]/U13[13] */
164 #define BOARD_CSI_D2_PERIPHERAL LPSPI3
165 #define BOARD_CSI_D2_SIGNAL SCK
167 /* GPIO_AD_B1_12 (coord H12), SAI1_RXD/CSI_D5/J35[5]/U13[16] */
168 #define BOARD_CSI_D5_PERIPHERAL LPSPI3
169 #define BOARD_CSI_D5_SIGNAL PCS0
171 /* GPIO_AD_B1_13 (coord H11), SAI1_TXD/CSI_D4/J35[3]/U13[14] */
172 #define BOARD_CSI_D4_PERIPHERAL LPSPI3
173 #define BOARD_CSI_D4_SIGNAL SDI
175 /* GPIO_AD_B1_14 (coord G12), SAI1_TX_BCLK/CSI_D3/J35[4]/U13[12] */
176 #define BOARD_CSI_D3_PERIPHERAL LPSPI3
177 #define BOARD_CSI_D3_SIGNAL SDO
179 /* GPIO_SD_B0_05 (coord J2), SD1_D3 */
180 #define BOARD_SD1_D3_GPIO GPIO3
181 #define BOARD_SD1_D3_PORT GPIO3
182 #define BOARD_SD1_D3_PIN 17U
184 /* GPIO_EMC_39 (coord B7), SEMC_DQS */
185 #define BOARD_SEMC_DQS_GPIO GPIO3
186 #define BOARD_SEMC_DQS_PORT GPIO3
187 #define BOARD_SEMC_DQS_PIN 25U
194 void BOARD_InitPins(void);
195
196 #if defined(__cplusplus)
197 }
198 #endif
199
203 #endif /* _PIN_MUX_H_ */
204
205 /***********************************************************************************************************************
206 * EOF
207 **********************************************************************************************************************/
kPIN_MUX_DirectionOutput
Definition: pin_mux.h:18
kPIN_MUX_DirectionInput
Definition: pin_mux.h:17
pin_mux_direction_t
enum _pin_mux_direction pin_mux_direction_t
Direction type
kPIN_MUX_DirectionInputOrOutput
Definition: pin_mux.h:19
_pin_mux_direction
_pin_mux_direction
Direction type
Definition: pin_mux.h:12
BOARD_InitBootPins
void BOARD_InitBootPins(void)
Calls initialization functions.
Definition: pin_mux.c:33