1 /*
2  * Copyright 2020 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 /*
14  * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
15 !!GlobalInfo
16 product: Pins v8.0
17 processor: MCIMX7U5xxxxx
18 package_id: MCIMX7U5DVP07
19 mcu_data: ksdk2_0
20 processor_version: 8.0.1
21 board: MCIMX7ULP-EVK-REV-B
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 }
38 
39 /*
40  * TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
41 BOARD_InitPins:
42 - options: {callFromInitBoot: 'false', prefix: BOARD_, coreID: cm4}
43 - pin_list:
44   - {pin_num: AB19, peripheral: LPUART0, signal: lpuart_rx, pin_signal: PTA19, PE: PE_1_pull_enabled, PS: PS_1_pull_up}
45   - {pin_num: AC19, peripheral: LPUART0, signal: lpuart_tx, pin_signal: PTA18, PE: PE_1_pull_enabled, PS: PS_1_pull_up}
46  * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
47  */
48 
49 /* FUNCTION ************************************************************************************************************
50  *
51  * Function Name : BOARD_InitPins
52  * Description   : Configures pin routing and optionally pin electrical features.
53  *
54  * END ****************************************************************************************************************/
BOARD_InitPins(void)55 void BOARD_InitPins(void) {                                /*!< Function assigned for the core: Cortex-M4[cm4] */
56     IOMUXC_SetPinMux(BOARD_UART0_TX_PIN_FUNCTION_ID, 0U);
57     IOMUXC_SetPinConfig(BOARD_UART0_TX_PIN_FUNCTION_ID,
58                         IOMUXC0_SW_MUX_CTL_PAD_PE_MASK |
59                         IOMUXC0_SW_MUX_CTL_PAD_PS_MASK);
60     IOMUXC_SetPinMux(BOARD_UART0_RX_PIN_FUNCTION_ID, 0U);
61     IOMUXC_SetPinConfig(BOARD_UART0_RX_PIN_FUNCTION_ID,
62                         IOMUXC0_SW_MUX_CTL_PAD_PE_MASK |
63                         IOMUXC0_SW_MUX_CTL_PAD_PS_MASK);
64 }
65 
66 /***********************************************************************************************************************
67  * EOF
68  **********************************************************************************************************************/
69