65 lines
2.9 KiB
C
65 lines
2.9 KiB
C
|
/***********************************************************************************************************************
|
||
|
* This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
|
||
|
* will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
|
||
|
**********************************************************************************************************************/
|
||
|
|
||
|
/*
|
||
|
* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
|
||
|
!!GlobalInfo
|
||
|
product: Pins v13.1
|
||
|
processor: MIMXRT1061xxxxB
|
||
|
package_id: MIMXRT1061CVL5B
|
||
|
mcu_data: ksdk2_0
|
||
|
processor_version: 13.0.2
|
||
|
pin_labels:
|
||
|
- {pin_num: G11, pin_signal: GPIO_AD_B0_03, label: BSP_BEEP}
|
||
|
- {pin_num: L13, pin_signal: GPIO_AD_B1_10, label: BSP_RS485_RE, identifier: CSI_D7}
|
||
|
- {pin_num: J13, pin_signal: GPIO_AD_B1_11, label: BSP_DS18B20, identifier: CSI_D6}
|
||
|
- {pin_num: K12, pin_signal: GPIO_AD_B1_05, label: BSP_AP3216C_INT, identifier: CSI_MCLK}
|
||
|
* BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
|
||
|
*/
|
||
|
|
||
|
#include "fsl_common.h"
|
||
|
#include "fsl_iomuxc.h"
|
||
|
#include "pin_mux.h"
|
||
|
|
||
|
/* FUNCTION ************************************************************************************************************
|
||
|
*
|
||
|
* Function Name : BOARD_InitBootPins
|
||
|
* Description : Calls initialization functions.
|
||
|
*
|
||
|
* END ****************************************************************************************************************/
|
||
|
void BOARD_InitBootPins(void) {
|
||
|
}
|
||
|
|
||
|
/*
|
||
|
* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
|
||
|
BOARD_InitPins:
|
||
|
- options: {callFromInitBoot: 'false', coreID: core0, enableClock: 'true'}
|
||
|
- pin_list:
|
||
|
- {pin_num: K14, peripheral: LPUART1, signal: TX, pin_signal: GPIO_AD_B0_12}
|
||
|
- {pin_num: L14, peripheral: LPUART1, signal: RX, pin_signal: GPIO_AD_B0_13}
|
||
|
- {pin_num: L11, peripheral: LPUART2, signal: TX, pin_signal: GPIO_AD_B1_02}
|
||
|
- {pin_num: M12, peripheral: LPUART2, signal: RX, pin_signal: GPIO_AD_B1_03}
|
||
|
* BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS ***********
|
||
|
*/
|
||
|
|
||
|
/* FUNCTION ************************************************************************************************************
|
||
|
*
|
||
|
* Function Name : BOARD_InitPins
|
||
|
* Description : Configures pin routing and optionally pin electrical features.
|
||
|
*
|
||
|
* END ****************************************************************************************************************/
|
||
|
void BOARD_InitPins(void) {
|
||
|
CLOCK_EnableClock(kCLOCK_Iomuxc);
|
||
|
|
||
|
IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B0_12_LPUART1_TX, 0U);
|
||
|
IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B0_13_LPUART1_RX, 0U);
|
||
|
IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B1_02_LPUART2_TX, 0U);
|
||
|
IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B1_03_LPUART2_RX, 0U);
|
||
|
}
|
||
|
|
||
|
/***********************************************************************************************************************
|
||
|
* EOF
|
||
|
**********************************************************************************************************************/
|