1 /*
2 * Copyright 2021 NXP
3 * All rights reserved.
4 *
5 * SPDX-License-Identifier: BSD-3-Clause
6 *
7 */
8
9
10 /***********************************************************************************************************************
11 * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
12 * will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
13 **********************************************************************************************************************/
14
15 /*
16 * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
17 !!GlobalInfo
18 product: Pins v9.0
19 processor: MIMX8MM6xxxLZ
20 mcu_data: ksdk2_0
21 processor_version: 9.0.1
22 * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
23 */
24
25 #include "fsl_common.h"
26 #include "fsl_iomuxc.h"
27 #include "pin_mux.h"
28
29 /* FUNCTION ************************************************************************************************************
30 *
31 * Function Name : BOARD_InitBootPins
32 * Description : Calls initialization functions.
33 *
34 * END ****************************************************************************************************************/
BOARD_InitBootPins(void)35 void BOARD_InitBootPins(void)
36 {
37 BOARD_InitPins();
38 }
39
40 /*
41 * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
42 BOARD_InitPins:
43 - options: {callFromInitBoot: 'true'}
44 - pin_list:
45 - {pin_num: F19, peripheral: UART4, signal: uart_rx, pin_signal: UART4_RXD, PE: Disabled, PUE: Disabled, DSE: X6_0}
46 - {pin_num: F18, peripheral: UART4, signal: uart_tx, pin_signal: UART4_TXD, PE: Disabled, PUE: Disabled, DSE: X6_0}
47 * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
48 */
49
50 /* FUNCTION ************************************************************************************************************
51 *
52 * Function Name : BOARD_InitPins
53 * Description : Configures pin routing and optionally pin electrical features.
54 *
55 * END ****************************************************************************************************************/
BOARD_InitPins(void)56 void BOARD_InitPins(void) { /*!< Function assigned for the core: Cortex-M4[m4] */
57 IOMUXC_SetPinMux(IOMUXC_UART4_RXD_UART4_RX, 0U);
58 IOMUXC_SetPinConfig(IOMUXC_UART4_RXD_UART4_RX,
59 IOMUXC_SW_PAD_CTL_PAD_DSE(6U) |
60 IOMUXC_SW_PAD_CTL_PAD_FSEL(2U));
61 IOMUXC_SetPinMux(IOMUXC_UART4_TXD_UART4_TX, 0U);
62 IOMUXC_SetPinConfig(IOMUXC_UART4_TXD_UART4_TX,
63 IOMUXC_SW_PAD_CTL_PAD_DSE(6U) |
64 IOMUXC_SW_PAD_CTL_PAD_FSEL(2U));
65 }
66
67 /***********************************************************************************************************************
68 * EOF
69 **********************************************************************************************************************/
70