Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
pin_mux.c
00001 /* 00002 * The Clear BSD License 00003 * Copyright 2017-2018 NXP 00004 * All rights reserved. 00005 * 00006 * Redistribution and use in source and binary forms, with or without modification, 00007 * are permitted (subject to the limitations in the disclaimer below) provided 00008 * that the following conditions are met: 00009 * 00010 * o Redistributions of source code must retain the above copyright notice, this list 00011 * of conditions and the following disclaimer. 00012 * 00013 * o Redistributions in binary form must reproduce the above copyright notice, this 00014 * list of conditions and the following disclaimer in the documentation and/or 00015 * other materials provided with the distribution. 00016 * 00017 * o Neither the name of the copyright holder nor the names of its 00018 * contributors may be used to endorse or promote products derived from this 00019 * software without specific prior written permission. 00020 * 00021 * NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE. 00022 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 00023 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 00024 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 00025 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR 00026 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 00027 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 00028 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 00029 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 00030 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 00031 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00032 */ 00033 00034 /*********************************************************************************************************************** 00035 * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file 00036 * will be overwritten if the respective MCUXpresso Config Tools is used to update this file. 00037 **********************************************************************************************************************/ 00038 00039 /* 00040 * TEXT BELOW IS USED AS SETTING FOR TOOLS ************************************* 00041 !!GlobalInfo 00042 product: Pins v4.1 00043 processor: MIMXRT1052xxxxB 00044 package_id: MIMXRT1052DVL6B 00045 mcu_data: ksdk2_0 00046 processor_version: 0.0.0 00047 * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS *********** 00048 */ 00049 00050 #include "fsl_common.h" 00051 #include "fsl_iomuxc.h" 00052 #include "pin_mux.h" 00053 00054 /* FUNCTION ************************************************************************************************************ 00055 * 00056 * Function Name : BOARD_InitBootPins 00057 * Description : Calls initialization functions. 00058 * 00059 * END ****************************************************************************************************************/ 00060 void BOARD_InitBootPins(void) { 00061 BOARD_InitPins(); 00062 BOARD_InitI2C1Pins(); 00063 } 00064 00065 /* 00066 * TEXT BELOW IS USED AS SETTING FOR TOOLS ************************************* 00067 BOARD_InitPins: 00068 - options: {callFromInitBoot: 'true', coreID: core0, enableClock: 'true'} 00069 - pin_list: 00070 - {pin_num: L14, peripheral: LPUART1, signal: RX, pin_signal: GPIO_AD_B0_13, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00071 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00072 - {pin_num: K14, peripheral: LPUART1, signal: TX, pin_signal: GPIO_AD_B0_12, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00073 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00074 - {pin_num: D7, peripheral: LCDIF, signal: lcdif_clk, pin_signal: GPIO_B0_00, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00075 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00076 - {pin_num: C8, peripheral: LCDIF, signal: 'lcdif_data, 00', pin_signal: GPIO_B0_04, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00077 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00078 - {pin_num: B8, peripheral: LCDIF, signal: 'lcdif_data, 01', pin_signal: GPIO_B0_05, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00079 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00080 - {pin_num: A8, peripheral: LCDIF, signal: 'lcdif_data, 02', pin_signal: GPIO_B0_06, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00081 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00082 - {pin_num: A9, peripheral: LCDIF, signal: 'lcdif_data, 03', pin_signal: GPIO_B0_07, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00083 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00084 - {pin_num: B9, peripheral: LCDIF, signal: 'lcdif_data, 04', pin_signal: GPIO_B0_08, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00085 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00086 - {pin_num: C9, peripheral: LCDIF, signal: 'lcdif_data, 05', pin_signal: GPIO_B0_09, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00087 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00088 - {pin_num: D9, peripheral: LCDIF, signal: 'lcdif_data, 06', pin_signal: GPIO_B0_10, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00089 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00090 - {pin_num: A10, peripheral: LCDIF, signal: 'lcdif_data, 07', pin_signal: GPIO_B0_11, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00091 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00092 - {pin_num: C10, peripheral: LCDIF, signal: 'lcdif_data, 08', pin_signal: GPIO_B0_12, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00093 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00094 - {pin_num: D10, peripheral: LCDIF, signal: 'lcdif_data, 09', pin_signal: GPIO_B0_13, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00095 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00096 - {pin_num: E10, peripheral: LCDIF, signal: 'lcdif_data, 10', pin_signal: GPIO_B0_14, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00097 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00098 - {pin_num: E11, peripheral: LCDIF, signal: 'lcdif_data, 11', pin_signal: GPIO_B0_15, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00099 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00100 - {pin_num: A11, peripheral: LCDIF, signal: 'lcdif_data, 12', pin_signal: GPIO_B1_00, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00101 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00102 - {pin_num: B11, peripheral: LCDIF, signal: 'lcdif_data, 13', pin_signal: GPIO_B1_01, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00103 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00104 - {pin_num: C11, peripheral: LCDIF, signal: 'lcdif_data, 14', pin_signal: GPIO_B1_02, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00105 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00106 - {pin_num: D11, peripheral: LCDIF, signal: 'lcdif_data, 15', pin_signal: GPIO_B1_03, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00107 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00108 - {pin_num: E7, peripheral: LCDIF, signal: lcdif_enable, pin_signal: GPIO_B0_01, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00109 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00110 - {pin_num: E8, peripheral: LCDIF, signal: lcdif_hsync, pin_signal: GPIO_B0_02, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00111 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00112 - {pin_num: D8, peripheral: LCDIF, signal: lcdif_vsync, pin_signal: GPIO_B0_03, software_input_on: Disable, hysteresis_enable: Enable, pull_up_down_config: Pull_Up_100K_Ohm, 00113 pull_keeper_select: Pull, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00114 - {pin_num: B14, peripheral: GPIO2, signal: 'gpio_io, 31', pin_signal: GPIO_B1_15, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00115 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00116 - {pin_num: M11, peripheral: GPIO1, signal: 'gpio_io, 02', pin_signal: GPIO_AD_B0_02, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00117 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00118 * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS *********** 00119 */ 00120 00121 /* FUNCTION ************************************************************************************************************ 00122 * 00123 * Function Name : BOARD_InitPins 00124 * Description : Configures pin routing and optionally pin electrical features. 00125 * 00126 * END ****************************************************************************************************************/ 00127 void BOARD_InitPins(void) { 00128 CLOCK_EnableClock(kCLOCK_Iomuxc); /* iomuxc clock (iomuxc_clk_enable): 0x03u */ 00129 00130 IOMUXC_SetPinMux( 00131 IOMUXC_GPIO_AD_B0_02_GPIO1_IO02, /* GPIO_AD_B0_02 is configured as GPIO1_IO02 */ 00132 0U); /* Software Input On Field: Input Path is determined by functionality */ 00133 IOMUXC_SetPinMux( 00134 IOMUXC_GPIO_AD_B0_12_LPUART1_TX, /* GPIO_AD_B0_12 is configured as LPUART1_TX */ 00135 0U); /* Software Input On Field: Input Path is determined by functionality */ 00136 IOMUXC_SetPinMux( 00137 IOMUXC_GPIO_AD_B0_13_LPUART1_RX, /* GPIO_AD_B0_13 is configured as LPUART1_RX */ 00138 0U); /* Software Input On Field: Input Path is determined by functionality */ 00139 IOMUXC_SetPinMux( 00140 IOMUXC_GPIO_B0_00_LCD_CLK, /* GPIO_B0_00 is configured as LCD_CLK */ 00141 0U); /* Software Input On Field: Input Path is determined by functionality */ 00142 IOMUXC_SetPinMux( 00143 IOMUXC_GPIO_B0_01_LCD_ENABLE, /* GPIO_B0_01 is configured as LCD_ENABLE */ 00144 0U); /* Software Input On Field: Input Path is determined by functionality */ 00145 IOMUXC_SetPinMux( 00146 IOMUXC_GPIO_B0_02_LCD_HSYNC, /* GPIO_B0_02 is configured as LCD_HSYNC */ 00147 0U); /* Software Input On Field: Input Path is determined by functionality */ 00148 IOMUXC_SetPinMux( 00149 IOMUXC_GPIO_B0_03_LCD_VSYNC, /* GPIO_B0_03 is configured as LCD_VSYNC */ 00150 0U); /* Software Input On Field: Input Path is determined by functionality */ 00151 IOMUXC_SetPinMux( 00152 IOMUXC_GPIO_B0_04_LCD_DATA00, /* GPIO_B0_04 is configured as LCD_DATA00 */ 00153 0U); /* Software Input On Field: Input Path is determined by functionality */ 00154 IOMUXC_SetPinMux( 00155 IOMUXC_GPIO_B0_05_LCD_DATA01, /* GPIO_B0_05 is configured as LCD_DATA01 */ 00156 0U); /* Software Input On Field: Input Path is determined by functionality */ 00157 IOMUXC_SetPinMux( 00158 IOMUXC_GPIO_B0_06_LCD_DATA02, /* GPIO_B0_06 is configured as LCD_DATA02 */ 00159 0U); /* Software Input On Field: Input Path is determined by functionality */ 00160 IOMUXC_SetPinMux( 00161 IOMUXC_GPIO_B0_07_LCD_DATA03, /* GPIO_B0_07 is configured as LCD_DATA03 */ 00162 0U); /* Software Input On Field: Input Path is determined by functionality */ 00163 IOMUXC_SetPinMux( 00164 IOMUXC_GPIO_B0_08_LCD_DATA04, /* GPIO_B0_08 is configured as LCD_DATA04 */ 00165 0U); /* Software Input On Field: Input Path is determined by functionality */ 00166 IOMUXC_SetPinMux( 00167 IOMUXC_GPIO_B0_09_LCD_DATA05, /* GPIO_B0_09 is configured as LCD_DATA05 */ 00168 0U); /* Software Input On Field: Input Path is determined by functionality */ 00169 IOMUXC_SetPinMux( 00170 IOMUXC_GPIO_B0_10_LCD_DATA06, /* GPIO_B0_10 is configured as LCD_DATA06 */ 00171 0U); /* Software Input On Field: Input Path is determined by functionality */ 00172 IOMUXC_SetPinMux( 00173 IOMUXC_GPIO_B0_11_LCD_DATA07, /* GPIO_B0_11 is configured as LCD_DATA07 */ 00174 0U); /* Software Input On Field: Input Path is determined by functionality */ 00175 IOMUXC_SetPinMux( 00176 IOMUXC_GPIO_B0_12_LCD_DATA08, /* GPIO_B0_12 is configured as LCD_DATA08 */ 00177 0U); /* Software Input On Field: Input Path is determined by functionality */ 00178 IOMUXC_SetPinMux( 00179 IOMUXC_GPIO_B0_13_LCD_DATA09, /* GPIO_B0_13 is configured as LCD_DATA09 */ 00180 0U); /* Software Input On Field: Input Path is determined by functionality */ 00181 IOMUXC_SetPinMux( 00182 IOMUXC_GPIO_B0_14_LCD_DATA10, /* GPIO_B0_14 is configured as LCD_DATA10 */ 00183 0U); /* Software Input On Field: Input Path is determined by functionality */ 00184 IOMUXC_SetPinMux( 00185 IOMUXC_GPIO_B0_15_LCD_DATA11, /* GPIO_B0_15 is configured as LCD_DATA11 */ 00186 0U); /* Software Input On Field: Input Path is determined by functionality */ 00187 IOMUXC_SetPinMux( 00188 IOMUXC_GPIO_B1_00_LCD_DATA12, /* GPIO_B1_00 is configured as LCD_DATA12 */ 00189 0U); /* Software Input On Field: Input Path is determined by functionality */ 00190 IOMUXC_SetPinMux( 00191 IOMUXC_GPIO_B1_01_LCD_DATA13, /* GPIO_B1_01 is configured as LCD_DATA13 */ 00192 0U); /* Software Input On Field: Input Path is determined by functionality */ 00193 IOMUXC_SetPinMux( 00194 IOMUXC_GPIO_B1_02_LCD_DATA14, /* GPIO_B1_02 is configured as LCD_DATA14 */ 00195 0U); /* Software Input On Field: Input Path is determined by functionality */ 00196 IOMUXC_SetPinMux( 00197 IOMUXC_GPIO_B1_03_LCD_DATA15, /* GPIO_B1_03 is configured as LCD_DATA15 */ 00198 0U); /* Software Input On Field: Input Path is determined by functionality */ 00199 IOMUXC_SetPinMux( 00200 IOMUXC_GPIO_B1_15_GPIO2_IO31, /* GPIO_B1_15 is configured as GPIO2_IO31 */ 00201 0U); /* Software Input On Field: Input Path is determined by functionality */ 00202 IOMUXC_SetPinConfig( 00203 IOMUXC_GPIO_AD_B0_02_GPIO1_IO02, /* GPIO_AD_B0_02 PAD functional properties : */ 00204 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00205 Drive Strength Field: R0/6 00206 Speed Field: medium(100MHz) 00207 Open Drain Enable Field: Open Drain Disabled 00208 Pull / Keep Enable Field: Pull/Keeper Enabled 00209 Pull / Keep Select Field: Keeper 00210 Pull Up / Down Config. Field: 100K Ohm Pull Down 00211 Hyst. Enable Field: Hysteresis Disabled */ 00212 IOMUXC_SetPinConfig( 00213 IOMUXC_GPIO_AD_B0_12_LPUART1_TX, /* GPIO_AD_B0_12 PAD functional properties : */ 00214 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00215 Drive Strength Field: R0/6 00216 Speed Field: medium(100MHz) 00217 Open Drain Enable Field: Open Drain Disabled 00218 Pull / Keep Enable Field: Pull/Keeper Enabled 00219 Pull / Keep Select Field: Keeper 00220 Pull Up / Down Config. Field: 100K Ohm Pull Down 00221 Hyst. Enable Field: Hysteresis Disabled */ 00222 IOMUXC_SetPinConfig( 00223 IOMUXC_GPIO_AD_B0_13_LPUART1_RX, /* GPIO_AD_B0_13 PAD functional properties : */ 00224 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00225 Drive Strength Field: R0/6 00226 Speed Field: medium(100MHz) 00227 Open Drain Enable Field: Open Drain Disabled 00228 Pull / Keep Enable Field: Pull/Keeper Enabled 00229 Pull / Keep Select Field: Keeper 00230 Pull Up / Down Config. Field: 100K Ohm Pull Down 00231 Hyst. Enable Field: Hysteresis Disabled */ 00232 IOMUXC_SetPinConfig( 00233 IOMUXC_GPIO_B0_00_LCD_CLK, /* GPIO_B0_00 PAD functional properties : */ 00234 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00235 Drive Strength Field: R0/6 00236 Speed Field: medium(100MHz) 00237 Open Drain Enable Field: Open Drain Disabled 00238 Pull / Keep Enable Field: Pull/Keeper Enabled 00239 Pull / Keep Select Field: Pull 00240 Pull Up / Down Config. Field: 100K Ohm Pull Up 00241 Hyst. Enable Field: Hysteresis Enabled */ 00242 IOMUXC_SetPinConfig( 00243 IOMUXC_GPIO_B0_01_LCD_ENABLE, /* GPIO_B0_01 PAD functional properties : */ 00244 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00245 Drive Strength Field: R0/6 00246 Speed Field: medium(100MHz) 00247 Open Drain Enable Field: Open Drain Disabled 00248 Pull / Keep Enable Field: Pull/Keeper Enabled 00249 Pull / Keep Select Field: Pull 00250 Pull Up / Down Config. Field: 100K Ohm Pull Up 00251 Hyst. Enable Field: Hysteresis Enabled */ 00252 IOMUXC_SetPinConfig( 00253 IOMUXC_GPIO_B0_02_LCD_HSYNC, /* GPIO_B0_02 PAD functional properties : */ 00254 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00255 Drive Strength Field: R0/6 00256 Speed Field: medium(100MHz) 00257 Open Drain Enable Field: Open Drain Disabled 00258 Pull / Keep Enable Field: Pull/Keeper Enabled 00259 Pull / Keep Select Field: Pull 00260 Pull Up / Down Config. Field: 100K Ohm Pull Up 00261 Hyst. Enable Field: Hysteresis Enabled */ 00262 IOMUXC_SetPinConfig( 00263 IOMUXC_GPIO_B0_03_LCD_VSYNC, /* GPIO_B0_03 PAD functional properties : */ 00264 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00265 Drive Strength Field: R0/6 00266 Speed Field: medium(100MHz) 00267 Open Drain Enable Field: Open Drain Disabled 00268 Pull / Keep Enable Field: Pull/Keeper Enabled 00269 Pull / Keep Select Field: Pull 00270 Pull Up / Down Config. Field: 100K Ohm Pull Up 00271 Hyst. Enable Field: Hysteresis Enabled */ 00272 IOMUXC_SetPinConfig( 00273 IOMUXC_GPIO_B0_04_LCD_DATA00, /* GPIO_B0_04 PAD functional properties : */ 00274 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00275 Drive Strength Field: R0/6 00276 Speed Field: medium(100MHz) 00277 Open Drain Enable Field: Open Drain Disabled 00278 Pull / Keep Enable Field: Pull/Keeper Enabled 00279 Pull / Keep Select Field: Pull 00280 Pull Up / Down Config. Field: 100K Ohm Pull Up 00281 Hyst. Enable Field: Hysteresis Enabled */ 00282 IOMUXC_SetPinConfig( 00283 IOMUXC_GPIO_B0_05_LCD_DATA01, /* GPIO_B0_05 PAD functional properties : */ 00284 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00285 Drive Strength Field: R0/6 00286 Speed Field: medium(100MHz) 00287 Open Drain Enable Field: Open Drain Disabled 00288 Pull / Keep Enable Field: Pull/Keeper Enabled 00289 Pull / Keep Select Field: Pull 00290 Pull Up / Down Config. Field: 100K Ohm Pull Up 00291 Hyst. Enable Field: Hysteresis Enabled */ 00292 IOMUXC_SetPinConfig( 00293 IOMUXC_GPIO_B0_06_LCD_DATA02, /* GPIO_B0_06 PAD functional properties : */ 00294 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00295 Drive Strength Field: R0/6 00296 Speed Field: medium(100MHz) 00297 Open Drain Enable Field: Open Drain Disabled 00298 Pull / Keep Enable Field: Pull/Keeper Enabled 00299 Pull / Keep Select Field: Pull 00300 Pull Up / Down Config. Field: 100K Ohm Pull Up 00301 Hyst. Enable Field: Hysteresis Enabled */ 00302 IOMUXC_SetPinConfig( 00303 IOMUXC_GPIO_B0_07_LCD_DATA03, /* GPIO_B0_07 PAD functional properties : */ 00304 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00305 Drive Strength Field: R0/6 00306 Speed Field: medium(100MHz) 00307 Open Drain Enable Field: Open Drain Disabled 00308 Pull / Keep Enable Field: Pull/Keeper Enabled 00309 Pull / Keep Select Field: Pull 00310 Pull Up / Down Config. Field: 100K Ohm Pull Up 00311 Hyst. Enable Field: Hysteresis Enabled */ 00312 IOMUXC_SetPinConfig( 00313 IOMUXC_GPIO_B0_08_LCD_DATA04, /* GPIO_B0_08 PAD functional properties : */ 00314 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00315 Drive Strength Field: R0/6 00316 Speed Field: medium(100MHz) 00317 Open Drain Enable Field: Open Drain Disabled 00318 Pull / Keep Enable Field: Pull/Keeper Enabled 00319 Pull / Keep Select Field: Pull 00320 Pull Up / Down Config. Field: 100K Ohm Pull Up 00321 Hyst. Enable Field: Hysteresis Enabled */ 00322 IOMUXC_SetPinConfig( 00323 IOMUXC_GPIO_B0_09_LCD_DATA05, /* GPIO_B0_09 PAD functional properties : */ 00324 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00325 Drive Strength Field: R0/6 00326 Speed Field: medium(100MHz) 00327 Open Drain Enable Field: Open Drain Disabled 00328 Pull / Keep Enable Field: Pull/Keeper Enabled 00329 Pull / Keep Select Field: Pull 00330 Pull Up / Down Config. Field: 100K Ohm Pull Up 00331 Hyst. Enable Field: Hysteresis Enabled */ 00332 IOMUXC_SetPinConfig( 00333 IOMUXC_GPIO_B0_10_LCD_DATA06, /* GPIO_B0_10 PAD functional properties : */ 00334 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00335 Drive Strength Field: R0/6 00336 Speed Field: medium(100MHz) 00337 Open Drain Enable Field: Open Drain Disabled 00338 Pull / Keep Enable Field: Pull/Keeper Enabled 00339 Pull / Keep Select Field: Pull 00340 Pull Up / Down Config. Field: 100K Ohm Pull Up 00341 Hyst. Enable Field: Hysteresis Enabled */ 00342 IOMUXC_SetPinConfig( 00343 IOMUXC_GPIO_B0_11_LCD_DATA07, /* GPIO_B0_11 PAD functional properties : */ 00344 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00345 Drive Strength Field: R0/6 00346 Speed Field: medium(100MHz) 00347 Open Drain Enable Field: Open Drain Disabled 00348 Pull / Keep Enable Field: Pull/Keeper Enabled 00349 Pull / Keep Select Field: Pull 00350 Pull Up / Down Config. Field: 100K Ohm Pull Up 00351 Hyst. Enable Field: Hysteresis Enabled */ 00352 IOMUXC_SetPinConfig( 00353 IOMUXC_GPIO_B0_12_LCD_DATA08, /* GPIO_B0_12 PAD functional properties : */ 00354 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00355 Drive Strength Field: R0/6 00356 Speed Field: medium(100MHz) 00357 Open Drain Enable Field: Open Drain Disabled 00358 Pull / Keep Enable Field: Pull/Keeper Enabled 00359 Pull / Keep Select Field: Pull 00360 Pull Up / Down Config. Field: 100K Ohm Pull Up 00361 Hyst. Enable Field: Hysteresis Enabled */ 00362 IOMUXC_SetPinConfig( 00363 IOMUXC_GPIO_B0_13_LCD_DATA09, /* GPIO_B0_13 PAD functional properties : */ 00364 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00365 Drive Strength Field: R0/6 00366 Speed Field: medium(100MHz) 00367 Open Drain Enable Field: Open Drain Disabled 00368 Pull / Keep Enable Field: Pull/Keeper Enabled 00369 Pull / Keep Select Field: Pull 00370 Pull Up / Down Config. Field: 100K Ohm Pull Up 00371 Hyst. Enable Field: Hysteresis Enabled */ 00372 IOMUXC_SetPinConfig( 00373 IOMUXC_GPIO_B0_14_LCD_DATA10, /* GPIO_B0_14 PAD functional properties : */ 00374 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00375 Drive Strength Field: R0/6 00376 Speed Field: medium(100MHz) 00377 Open Drain Enable Field: Open Drain Disabled 00378 Pull / Keep Enable Field: Pull/Keeper Enabled 00379 Pull / Keep Select Field: Pull 00380 Pull Up / Down Config. Field: 100K Ohm Pull Up 00381 Hyst. Enable Field: Hysteresis Enabled */ 00382 IOMUXC_SetPinConfig( 00383 IOMUXC_GPIO_B0_15_LCD_DATA11, /* GPIO_B0_15 PAD functional properties : */ 00384 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00385 Drive Strength Field: R0/6 00386 Speed Field: medium(100MHz) 00387 Open Drain Enable Field: Open Drain Disabled 00388 Pull / Keep Enable Field: Pull/Keeper Enabled 00389 Pull / Keep Select Field: Pull 00390 Pull Up / Down Config. Field: 100K Ohm Pull Up 00391 Hyst. Enable Field: Hysteresis Enabled */ 00392 IOMUXC_SetPinConfig( 00393 IOMUXC_GPIO_B1_00_LCD_DATA12, /* GPIO_B1_00 PAD functional properties : */ 00394 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00395 Drive Strength Field: R0/6 00396 Speed Field: medium(100MHz) 00397 Open Drain Enable Field: Open Drain Disabled 00398 Pull / Keep Enable Field: Pull/Keeper Enabled 00399 Pull / Keep Select Field: Pull 00400 Pull Up / Down Config. Field: 100K Ohm Pull Up 00401 Hyst. Enable Field: Hysteresis Enabled */ 00402 IOMUXC_SetPinConfig( 00403 IOMUXC_GPIO_B1_01_LCD_DATA13, /* GPIO_B1_01 PAD functional properties : */ 00404 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00405 Drive Strength Field: R0/6 00406 Speed Field: medium(100MHz) 00407 Open Drain Enable Field: Open Drain Disabled 00408 Pull / Keep Enable Field: Pull/Keeper Enabled 00409 Pull / Keep Select Field: Pull 00410 Pull Up / Down Config. Field: 100K Ohm Pull Up 00411 Hyst. Enable Field: Hysteresis Enabled */ 00412 IOMUXC_SetPinConfig( 00413 IOMUXC_GPIO_B1_02_LCD_DATA14, /* GPIO_B1_02 PAD functional properties : */ 00414 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00415 Drive Strength Field: R0/6 00416 Speed Field: medium(100MHz) 00417 Open Drain Enable Field: Open Drain Disabled 00418 Pull / Keep Enable Field: Pull/Keeper Enabled 00419 Pull / Keep Select Field: Pull 00420 Pull Up / Down Config. Field: 100K Ohm Pull Up 00421 Hyst. Enable Field: Hysteresis Enabled */ 00422 IOMUXC_SetPinConfig( 00423 IOMUXC_GPIO_B1_03_LCD_DATA15, /* GPIO_B1_03 PAD functional properties : */ 00424 0x01B0B0u); /* Slew Rate Field: Slow Slew Rate 00425 Drive Strength Field: R0/6 00426 Speed Field: medium(100MHz) 00427 Open Drain Enable Field: Open Drain Disabled 00428 Pull / Keep Enable Field: Pull/Keeper Enabled 00429 Pull / Keep Select Field: Pull 00430 Pull Up / Down Config. Field: 100K Ohm Pull Up 00431 Hyst. Enable Field: Hysteresis Enabled */ 00432 IOMUXC_SetPinConfig( 00433 IOMUXC_GPIO_B1_15_GPIO2_IO31, /* GPIO_B1_15 PAD functional properties : */ 00434 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00435 Drive Strength Field: R0/6 00436 Speed Field: medium(100MHz) 00437 Open Drain Enable Field: Open Drain Disabled 00438 Pull / Keep Enable Field: Pull/Keeper Enabled 00439 Pull / Keep Select Field: Keeper 00440 Pull Up / Down Config. Field: 100K Ohm Pull Down 00441 Hyst. Enable Field: Hysteresis Disabled */ 00442 } 00443 00444 00445 /* 00446 * TEXT BELOW IS USED AS SETTING FOR TOOLS ************************************* 00447 BOARD_InitSemcPins: 00448 - options: {coreID: core0, enableClock: 'true'} 00449 - pin_list: 00450 - {pin_num: C2, peripheral: SEMC, signal: 'ADDR, 00', pin_signal: GPIO_EMC_09, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00451 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00452 - {pin_num: G1, peripheral: SEMC, signal: 'ADDR, 01', pin_signal: GPIO_EMC_10, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00453 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00454 - {pin_num: G3, peripheral: SEMC, signal: 'ADDR, 02', pin_signal: GPIO_EMC_11, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00455 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00456 - {pin_num: H1, peripheral: SEMC, signal: 'ADDR, 03', pin_signal: GPIO_EMC_12, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00457 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00458 - {pin_num: A6, peripheral: SEMC, signal: 'ADDR, 04', pin_signal: GPIO_EMC_13, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00459 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00460 - {pin_num: B6, peripheral: SEMC, signal: 'ADDR, 05', pin_signal: GPIO_EMC_14, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00461 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00462 - {pin_num: B1, peripheral: SEMC, signal: 'ADDR, 06', pin_signal: GPIO_EMC_15, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00463 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00464 - {pin_num: A5, peripheral: SEMC, signal: 'ADDR, 07', pin_signal: GPIO_EMC_16, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00465 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00466 - {pin_num: A4, peripheral: SEMC, signal: 'ADDR, 08', pin_signal: GPIO_EMC_17, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00467 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00468 - {pin_num: B2, peripheral: SEMC, signal: 'ADDR, 09', pin_signal: GPIO_EMC_18, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00469 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00470 - {pin_num: G2, peripheral: SEMC, signal: 'ADDR, 10', pin_signal: GPIO_EMC_23, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00471 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00472 - {pin_num: B4, peripheral: SEMC, signal: 'ADDR, 11', pin_signal: GPIO_EMC_19, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00473 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00474 - {pin_num: A3, peripheral: SEMC, signal: 'ADDR, 12', pin_signal: GPIO_EMC_20, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00475 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00476 - {pin_num: C1, peripheral: SEMC, signal: 'BA, 0', pin_signal: GPIO_EMC_21, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00477 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00478 - {pin_num: F1, peripheral: SEMC, signal: 'BA, 1', pin_signal: GPIO_EMC_22, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00479 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00480 - {pin_num: D3, peripheral: SEMC, signal: semc_cas, pin_signal: GPIO_EMC_24, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00481 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00482 - {pin_num: A2, peripheral: SEMC, signal: semc_cke, pin_signal: GPIO_EMC_27, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00483 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00484 - {pin_num: B3, peripheral: SEMC, signal: semc_clk, pin_signal: GPIO_EMC_26, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00485 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00486 - {pin_num: E1, peripheral: SEMC, signal: 'CS, 0', pin_signal: GPIO_EMC_29, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00487 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00488 - {pin_num: E3, peripheral: SEMC, signal: 'DATA, 00', pin_signal: GPIO_EMC_00, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00489 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00490 - {pin_num: F3, peripheral: SEMC, signal: 'DATA, 01', pin_signal: GPIO_EMC_01, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00491 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00492 - {pin_num: F4, peripheral: SEMC, signal: 'DATA, 02', pin_signal: GPIO_EMC_02, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00493 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00494 - {pin_num: G4, peripheral: SEMC, signal: 'DATA, 03', pin_signal: GPIO_EMC_03, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00495 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00496 - {pin_num: F2, peripheral: SEMC, signal: 'DATA, 04', pin_signal: GPIO_EMC_04, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00497 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00498 - {pin_num: G5, peripheral: SEMC, signal: 'DATA, 05', pin_signal: GPIO_EMC_05, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00499 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00500 - {pin_num: H5, peripheral: SEMC, signal: 'DATA, 06', pin_signal: GPIO_EMC_06, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00501 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00502 - {pin_num: H4, peripheral: SEMC, signal: 'DATA, 07', pin_signal: GPIO_EMC_07, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00503 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00504 - {pin_num: C6, peripheral: SEMC, signal: 'DATA, 08', pin_signal: GPIO_EMC_30, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00505 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00506 - {pin_num: C5, peripheral: SEMC, signal: 'DATA, 09', pin_signal: GPIO_EMC_31, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00507 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00508 - {pin_num: D5, peripheral: SEMC, signal: 'DATA, 10', pin_signal: GPIO_EMC_32, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00509 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00510 - {pin_num: C4, peripheral: SEMC, signal: 'DATA, 11', pin_signal: GPIO_EMC_33, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00511 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00512 - {pin_num: D4, peripheral: SEMC, signal: 'DATA, 12', pin_signal: GPIO_EMC_34, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00513 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00514 - {pin_num: E5, peripheral: SEMC, signal: 'DATA, 13', pin_signal: GPIO_EMC_35, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00515 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00516 - {pin_num: C3, peripheral: SEMC, signal: 'DATA, 14', pin_signal: GPIO_EMC_36, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00517 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00518 - {pin_num: E4, peripheral: SEMC, signal: 'DATA, 15', pin_signal: GPIO_EMC_37, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00519 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00520 - {pin_num: H3, peripheral: SEMC, signal: 'DM, 0', pin_signal: GPIO_EMC_08, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00521 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00522 - {pin_num: D6, peripheral: SEMC, signal: 'DM, 1', pin_signal: GPIO_EMC_38, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00523 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00524 - {pin_num: D2, peripheral: SEMC, signal: semc_ras, pin_signal: GPIO_EMC_25, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00525 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00526 - {pin_num: D1, peripheral: SEMC, signal: semc_we, pin_signal: GPIO_EMC_28, software_input_on: Disable, hysteresis_enable: Disable, pull_up_down_config: Pull_Down_100K_Ohm, 00527 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Disable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 00528 * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS *********** 00529 */ 00530 00531 /* FUNCTION ************************************************************************************************************ 00532 * 00533 * Function Name : BOARD_InitSemcPins 00534 * Description : Configures pin routing and optionally pin electrical features. 00535 * 00536 * END ****************************************************************************************************************/ 00537 void BOARD_InitSemcPins(void) { 00538 CLOCK_EnableClock(kCLOCK_Iomuxc); /* iomuxc clock (iomuxc_clk_enable): 0x03u */ 00539 00540 IOMUXC_SetPinMux( 00541 IOMUXC_GPIO_EMC_00_SEMC_DATA00, /* GPIO_EMC_00 is configured as SEMC_DATA00 */ 00542 0U); /* Software Input On Field: Input Path is determined by functionality */ 00543 IOMUXC_SetPinMux( 00544 IOMUXC_GPIO_EMC_01_SEMC_DATA01, /* GPIO_EMC_01 is configured as SEMC_DATA01 */ 00545 0U); /* Software Input On Field: Input Path is determined by functionality */ 00546 IOMUXC_SetPinMux( 00547 IOMUXC_GPIO_EMC_02_SEMC_DATA02, /* GPIO_EMC_02 is configured as SEMC_DATA02 */ 00548 0U); /* Software Input On Field: Input Path is determined by functionality */ 00549 IOMUXC_SetPinMux( 00550 IOMUXC_GPIO_EMC_03_SEMC_DATA03, /* GPIO_EMC_03 is configured as SEMC_DATA03 */ 00551 0U); /* Software Input On Field: Input Path is determined by functionality */ 00552 IOMUXC_SetPinMux( 00553 IOMUXC_GPIO_EMC_04_SEMC_DATA04, /* GPIO_EMC_04 is configured as SEMC_DATA04 */ 00554 0U); /* Software Input On Field: Input Path is determined by functionality */ 00555 IOMUXC_SetPinMux( 00556 IOMUXC_GPIO_EMC_05_SEMC_DATA05, /* GPIO_EMC_05 is configured as SEMC_DATA05 */ 00557 0U); /* Software Input On Field: Input Path is determined by functionality */ 00558 IOMUXC_SetPinMux( 00559 IOMUXC_GPIO_EMC_06_SEMC_DATA06, /* GPIO_EMC_06 is configured as SEMC_DATA06 */ 00560 0U); /* Software Input On Field: Input Path is determined by functionality */ 00561 IOMUXC_SetPinMux( 00562 IOMUXC_GPIO_EMC_07_SEMC_DATA07, /* GPIO_EMC_07 is configured as SEMC_DATA07 */ 00563 0U); /* Software Input On Field: Input Path is determined by functionality */ 00564 IOMUXC_SetPinMux( 00565 IOMUXC_GPIO_EMC_08_SEMC_DM00, /* GPIO_EMC_08 is configured as SEMC_DM00 */ 00566 0U); /* Software Input On Field: Input Path is determined by functionality */ 00567 IOMUXC_SetPinMux( 00568 IOMUXC_GPIO_EMC_09_SEMC_ADDR00, /* GPIO_EMC_09 is configured as SEMC_ADDR00 */ 00569 0U); /* Software Input On Field: Input Path is determined by functionality */ 00570 IOMUXC_SetPinMux( 00571 IOMUXC_GPIO_EMC_10_SEMC_ADDR01, /* GPIO_EMC_10 is configured as SEMC_ADDR01 */ 00572 0U); /* Software Input On Field: Input Path is determined by functionality */ 00573 IOMUXC_SetPinMux( 00574 IOMUXC_GPIO_EMC_11_SEMC_ADDR02, /* GPIO_EMC_11 is configured as SEMC_ADDR02 */ 00575 0U); /* Software Input On Field: Input Path is determined by functionality */ 00576 IOMUXC_SetPinMux( 00577 IOMUXC_GPIO_EMC_12_SEMC_ADDR03, /* GPIO_EMC_12 is configured as SEMC_ADDR03 */ 00578 0U); /* Software Input On Field: Input Path is determined by functionality */ 00579 IOMUXC_SetPinMux( 00580 IOMUXC_GPIO_EMC_13_SEMC_ADDR04, /* GPIO_EMC_13 is configured as SEMC_ADDR04 */ 00581 0U); /* Software Input On Field: Input Path is determined by functionality */ 00582 IOMUXC_SetPinMux( 00583 IOMUXC_GPIO_EMC_14_SEMC_ADDR05, /* GPIO_EMC_14 is configured as SEMC_ADDR05 */ 00584 0U); /* Software Input On Field: Input Path is determined by functionality */ 00585 IOMUXC_SetPinMux( 00586 IOMUXC_GPIO_EMC_15_SEMC_ADDR06, /* GPIO_EMC_15 is configured as SEMC_ADDR06 */ 00587 0U); /* Software Input On Field: Input Path is determined by functionality */ 00588 IOMUXC_SetPinMux( 00589 IOMUXC_GPIO_EMC_16_SEMC_ADDR07, /* GPIO_EMC_16 is configured as SEMC_ADDR07 */ 00590 0U); /* Software Input On Field: Input Path is determined by functionality */ 00591 IOMUXC_SetPinMux( 00592 IOMUXC_GPIO_EMC_17_SEMC_ADDR08, /* GPIO_EMC_17 is configured as SEMC_ADDR08 */ 00593 0U); /* Software Input On Field: Input Path is determined by functionality */ 00594 IOMUXC_SetPinMux( 00595 IOMUXC_GPIO_EMC_18_SEMC_ADDR09, /* GPIO_EMC_18 is configured as SEMC_ADDR09 */ 00596 0U); /* Software Input On Field: Input Path is determined by functionality */ 00597 IOMUXC_SetPinMux( 00598 IOMUXC_GPIO_EMC_19_SEMC_ADDR11, /* GPIO_EMC_19 is configured as SEMC_ADDR11 */ 00599 0U); /* Software Input On Field: Input Path is determined by functionality */ 00600 IOMUXC_SetPinMux( 00601 IOMUXC_GPIO_EMC_20_SEMC_ADDR12, /* GPIO_EMC_20 is configured as SEMC_ADDR12 */ 00602 0U); /* Software Input On Field: Input Path is determined by functionality */ 00603 IOMUXC_SetPinMux( 00604 IOMUXC_GPIO_EMC_21_SEMC_BA0, /* GPIO_EMC_21 is configured as SEMC_BA0 */ 00605 0U); /* Software Input On Field: Input Path is determined by functionality */ 00606 IOMUXC_SetPinMux( 00607 IOMUXC_GPIO_EMC_22_SEMC_BA1, /* GPIO_EMC_22 is configured as SEMC_BA1 */ 00608 0U); /* Software Input On Field: Input Path is determined by functionality */ 00609 IOMUXC_SetPinMux( 00610 IOMUXC_GPIO_EMC_23_SEMC_ADDR10, /* GPIO_EMC_23 is configured as SEMC_ADDR10 */ 00611 0U); /* Software Input On Field: Input Path is determined by functionality */ 00612 IOMUXC_SetPinMux( 00613 IOMUXC_GPIO_EMC_24_SEMC_CAS, /* GPIO_EMC_24 is configured as SEMC_CAS */ 00614 0U); /* Software Input On Field: Input Path is determined by functionality */ 00615 IOMUXC_SetPinMux( 00616 IOMUXC_GPIO_EMC_25_SEMC_RAS, /* GPIO_EMC_25 is configured as SEMC_RAS */ 00617 0U); /* Software Input On Field: Input Path is determined by functionality */ 00618 IOMUXC_SetPinMux( 00619 IOMUXC_GPIO_EMC_26_SEMC_CLK, /* GPIO_EMC_26 is configured as SEMC_CLK */ 00620 0U); /* Software Input On Field: Input Path is determined by functionality */ 00621 IOMUXC_SetPinMux( 00622 IOMUXC_GPIO_EMC_27_SEMC_CKE, /* GPIO_EMC_27 is configured as SEMC_CKE */ 00623 0U); /* Software Input On Field: Input Path is determined by functionality */ 00624 IOMUXC_SetPinMux( 00625 IOMUXC_GPIO_EMC_28_SEMC_WE, /* GPIO_EMC_28 is configured as SEMC_WE */ 00626 0U); /* Software Input On Field: Input Path is determined by functionality */ 00627 IOMUXC_SetPinMux( 00628 IOMUXC_GPIO_EMC_29_SEMC_CS0, /* GPIO_EMC_29 is configured as SEMC_CS0 */ 00629 0U); /* Software Input On Field: Input Path is determined by functionality */ 00630 IOMUXC_SetPinMux( 00631 IOMUXC_GPIO_EMC_30_SEMC_DATA08, /* GPIO_EMC_30 is configured as SEMC_DATA08 */ 00632 0U); /* Software Input On Field: Input Path is determined by functionality */ 00633 IOMUXC_SetPinMux( 00634 IOMUXC_GPIO_EMC_31_SEMC_DATA09, /* GPIO_EMC_31 is configured as SEMC_DATA09 */ 00635 0U); /* Software Input On Field: Input Path is determined by functionality */ 00636 IOMUXC_SetPinMux( 00637 IOMUXC_GPIO_EMC_32_SEMC_DATA10, /* GPIO_EMC_32 is configured as SEMC_DATA10 */ 00638 0U); /* Software Input On Field: Input Path is determined by functionality */ 00639 IOMUXC_SetPinMux( 00640 IOMUXC_GPIO_EMC_33_SEMC_DATA11, /* GPIO_EMC_33 is configured as SEMC_DATA11 */ 00641 0U); /* Software Input On Field: Input Path is determined by functionality */ 00642 IOMUXC_SetPinMux( 00643 IOMUXC_GPIO_EMC_34_SEMC_DATA12, /* GPIO_EMC_34 is configured as SEMC_DATA12 */ 00644 0U); /* Software Input On Field: Input Path is determined by functionality */ 00645 IOMUXC_SetPinMux( 00646 IOMUXC_GPIO_EMC_35_SEMC_DATA13, /* GPIO_EMC_35 is configured as SEMC_DATA13 */ 00647 0U); /* Software Input On Field: Input Path is determined by functionality */ 00648 IOMUXC_SetPinMux( 00649 IOMUXC_GPIO_EMC_36_SEMC_DATA14, /* GPIO_EMC_36 is configured as SEMC_DATA14 */ 00650 0U); /* Software Input On Field: Input Path is determined by functionality */ 00651 IOMUXC_SetPinMux( 00652 IOMUXC_GPIO_EMC_37_SEMC_DATA15, /* GPIO_EMC_37 is configured as SEMC_DATA15 */ 00653 0U); /* Software Input On Field: Input Path is determined by functionality */ 00654 IOMUXC_SetPinMux( 00655 IOMUXC_GPIO_EMC_38_SEMC_DM01, /* GPIO_EMC_38 is configured as SEMC_DM01 */ 00656 0U); /* Software Input On Field: Input Path is determined by functionality */ 00657 IOMUXC_SetPinConfig( 00658 IOMUXC_GPIO_EMC_00_SEMC_DATA00, /* GPIO_EMC_00 PAD functional properties : */ 00659 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00660 Drive Strength Field: R0/6 00661 Speed Field: medium(100MHz) 00662 Open Drain Enable Field: Open Drain Disabled 00663 Pull / Keep Enable Field: Pull/Keeper Enabled 00664 Pull / Keep Select Field: Keeper 00665 Pull Up / Down Config. Field: 100K Ohm Pull Down 00666 Hyst. Enable Field: Hysteresis Disabled */ 00667 IOMUXC_SetPinConfig( 00668 IOMUXC_GPIO_EMC_01_SEMC_DATA01, /* GPIO_EMC_01 PAD functional properties : */ 00669 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00670 Drive Strength Field: R0/6 00671 Speed Field: medium(100MHz) 00672 Open Drain Enable Field: Open Drain Disabled 00673 Pull / Keep Enable Field: Pull/Keeper Enabled 00674 Pull / Keep Select Field: Keeper 00675 Pull Up / Down Config. Field: 100K Ohm Pull Down 00676 Hyst. Enable Field: Hysteresis Disabled */ 00677 IOMUXC_SetPinConfig( 00678 IOMUXC_GPIO_EMC_02_SEMC_DATA02, /* GPIO_EMC_02 PAD functional properties : */ 00679 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00680 Drive Strength Field: R0/6 00681 Speed Field: medium(100MHz) 00682 Open Drain Enable Field: Open Drain Disabled 00683 Pull / Keep Enable Field: Pull/Keeper Enabled 00684 Pull / Keep Select Field: Keeper 00685 Pull Up / Down Config. Field: 100K Ohm Pull Down 00686 Hyst. Enable Field: Hysteresis Disabled */ 00687 IOMUXC_SetPinConfig( 00688 IOMUXC_GPIO_EMC_03_SEMC_DATA03, /* GPIO_EMC_03 PAD functional properties : */ 00689 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00690 Drive Strength Field: R0/6 00691 Speed Field: medium(100MHz) 00692 Open Drain Enable Field: Open Drain Disabled 00693 Pull / Keep Enable Field: Pull/Keeper Enabled 00694 Pull / Keep Select Field: Keeper 00695 Pull Up / Down Config. Field: 100K Ohm Pull Down 00696 Hyst. Enable Field: Hysteresis Disabled */ 00697 IOMUXC_SetPinConfig( 00698 IOMUXC_GPIO_EMC_04_SEMC_DATA04, /* GPIO_EMC_04 PAD functional properties : */ 00699 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00700 Drive Strength Field: R0/6 00701 Speed Field: medium(100MHz) 00702 Open Drain Enable Field: Open Drain Disabled 00703 Pull / Keep Enable Field: Pull/Keeper Enabled 00704 Pull / Keep Select Field: Keeper 00705 Pull Up / Down Config. Field: 100K Ohm Pull Down 00706 Hyst. Enable Field: Hysteresis Disabled */ 00707 IOMUXC_SetPinConfig( 00708 IOMUXC_GPIO_EMC_05_SEMC_DATA05, /* GPIO_EMC_05 PAD functional properties : */ 00709 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00710 Drive Strength Field: R0/6 00711 Speed Field: medium(100MHz) 00712 Open Drain Enable Field: Open Drain Disabled 00713 Pull / Keep Enable Field: Pull/Keeper Enabled 00714 Pull / Keep Select Field: Keeper 00715 Pull Up / Down Config. Field: 100K Ohm Pull Down 00716 Hyst. Enable Field: Hysteresis Disabled */ 00717 IOMUXC_SetPinConfig( 00718 IOMUXC_GPIO_EMC_06_SEMC_DATA06, /* GPIO_EMC_06 PAD functional properties : */ 00719 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00720 Drive Strength Field: R0/6 00721 Speed Field: medium(100MHz) 00722 Open Drain Enable Field: Open Drain Disabled 00723 Pull / Keep Enable Field: Pull/Keeper Enabled 00724 Pull / Keep Select Field: Keeper 00725 Pull Up / Down Config. Field: 100K Ohm Pull Down 00726 Hyst. Enable Field: Hysteresis Disabled */ 00727 IOMUXC_SetPinConfig( 00728 IOMUXC_GPIO_EMC_07_SEMC_DATA07, /* GPIO_EMC_07 PAD functional properties : */ 00729 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00730 Drive Strength Field: R0/6 00731 Speed Field: medium(100MHz) 00732 Open Drain Enable Field: Open Drain Disabled 00733 Pull / Keep Enable Field: Pull/Keeper Enabled 00734 Pull / Keep Select Field: Keeper 00735 Pull Up / Down Config. Field: 100K Ohm Pull Down 00736 Hyst. Enable Field: Hysteresis Disabled */ 00737 IOMUXC_SetPinConfig( 00738 IOMUXC_GPIO_EMC_08_SEMC_DM00, /* GPIO_EMC_08 PAD functional properties : */ 00739 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00740 Drive Strength Field: R0/6 00741 Speed Field: medium(100MHz) 00742 Open Drain Enable Field: Open Drain Disabled 00743 Pull / Keep Enable Field: Pull/Keeper Enabled 00744 Pull / Keep Select Field: Keeper 00745 Pull Up / Down Config. Field: 100K Ohm Pull Down 00746 Hyst. Enable Field: Hysteresis Disabled */ 00747 IOMUXC_SetPinConfig( 00748 IOMUXC_GPIO_EMC_09_SEMC_ADDR00, /* GPIO_EMC_09 PAD functional properties : */ 00749 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00750 Drive Strength Field: R0/6 00751 Speed Field: medium(100MHz) 00752 Open Drain Enable Field: Open Drain Disabled 00753 Pull / Keep Enable Field: Pull/Keeper Enabled 00754 Pull / Keep Select Field: Keeper 00755 Pull Up / Down Config. Field: 100K Ohm Pull Down 00756 Hyst. Enable Field: Hysteresis Disabled */ 00757 IOMUXC_SetPinConfig( 00758 IOMUXC_GPIO_EMC_10_SEMC_ADDR01, /* GPIO_EMC_10 PAD functional properties : */ 00759 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00760 Drive Strength Field: R0/6 00761 Speed Field: medium(100MHz) 00762 Open Drain Enable Field: Open Drain Disabled 00763 Pull / Keep Enable Field: Pull/Keeper Enabled 00764 Pull / Keep Select Field: Keeper 00765 Pull Up / Down Config. Field: 100K Ohm Pull Down 00766 Hyst. Enable Field: Hysteresis Disabled */ 00767 IOMUXC_SetPinConfig( 00768 IOMUXC_GPIO_EMC_11_SEMC_ADDR02, /* GPIO_EMC_11 PAD functional properties : */ 00769 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00770 Drive Strength Field: R0/6 00771 Speed Field: medium(100MHz) 00772 Open Drain Enable Field: Open Drain Disabled 00773 Pull / Keep Enable Field: Pull/Keeper Enabled 00774 Pull / Keep Select Field: Keeper 00775 Pull Up / Down Config. Field: 100K Ohm Pull Down 00776 Hyst. Enable Field: Hysteresis Disabled */ 00777 IOMUXC_SetPinConfig( 00778 IOMUXC_GPIO_EMC_12_SEMC_ADDR03, /* GPIO_EMC_12 PAD functional properties : */ 00779 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00780 Drive Strength Field: R0/6 00781 Speed Field: medium(100MHz) 00782 Open Drain Enable Field: Open Drain Disabled 00783 Pull / Keep Enable Field: Pull/Keeper Enabled 00784 Pull / Keep Select Field: Keeper 00785 Pull Up / Down Config. Field: 100K Ohm Pull Down 00786 Hyst. Enable Field: Hysteresis Disabled */ 00787 IOMUXC_SetPinConfig( 00788 IOMUXC_GPIO_EMC_13_SEMC_ADDR04, /* GPIO_EMC_13 PAD functional properties : */ 00789 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00790 Drive Strength Field: R0/6 00791 Speed Field: medium(100MHz) 00792 Open Drain Enable Field: Open Drain Disabled 00793 Pull / Keep Enable Field: Pull/Keeper Enabled 00794 Pull / Keep Select Field: Keeper 00795 Pull Up / Down Config. Field: 100K Ohm Pull Down 00796 Hyst. Enable Field: Hysteresis Disabled */ 00797 IOMUXC_SetPinConfig( 00798 IOMUXC_GPIO_EMC_14_SEMC_ADDR05, /* GPIO_EMC_14 PAD functional properties : */ 00799 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00800 Drive Strength Field: R0/6 00801 Speed Field: medium(100MHz) 00802 Open Drain Enable Field: Open Drain Disabled 00803 Pull / Keep Enable Field: Pull/Keeper Enabled 00804 Pull / Keep Select Field: Keeper 00805 Pull Up / Down Config. Field: 100K Ohm Pull Down 00806 Hyst. Enable Field: Hysteresis Disabled */ 00807 IOMUXC_SetPinConfig( 00808 IOMUXC_GPIO_EMC_15_SEMC_ADDR06, /* GPIO_EMC_15 PAD functional properties : */ 00809 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00810 Drive Strength Field: R0/6 00811 Speed Field: medium(100MHz) 00812 Open Drain Enable Field: Open Drain Disabled 00813 Pull / Keep Enable Field: Pull/Keeper Enabled 00814 Pull / Keep Select Field: Keeper 00815 Pull Up / Down Config. Field: 100K Ohm Pull Down 00816 Hyst. Enable Field: Hysteresis Disabled */ 00817 IOMUXC_SetPinConfig( 00818 IOMUXC_GPIO_EMC_16_SEMC_ADDR07, /* GPIO_EMC_16 PAD functional properties : */ 00819 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00820 Drive Strength Field: R0/6 00821 Speed Field: medium(100MHz) 00822 Open Drain Enable Field: Open Drain Disabled 00823 Pull / Keep Enable Field: Pull/Keeper Enabled 00824 Pull / Keep Select Field: Keeper 00825 Pull Up / Down Config. Field: 100K Ohm Pull Down 00826 Hyst. Enable Field: Hysteresis Disabled */ 00827 IOMUXC_SetPinConfig( 00828 IOMUXC_GPIO_EMC_17_SEMC_ADDR08, /* GPIO_EMC_17 PAD functional properties : */ 00829 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00830 Drive Strength Field: R0/6 00831 Speed Field: medium(100MHz) 00832 Open Drain Enable Field: Open Drain Disabled 00833 Pull / Keep Enable Field: Pull/Keeper Enabled 00834 Pull / Keep Select Field: Keeper 00835 Pull Up / Down Config. Field: 100K Ohm Pull Down 00836 Hyst. Enable Field: Hysteresis Disabled */ 00837 IOMUXC_SetPinConfig( 00838 IOMUXC_GPIO_EMC_18_SEMC_ADDR09, /* GPIO_EMC_18 PAD functional properties : */ 00839 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00840 Drive Strength Field: R0/6 00841 Speed Field: medium(100MHz) 00842 Open Drain Enable Field: Open Drain Disabled 00843 Pull / Keep Enable Field: Pull/Keeper Enabled 00844 Pull / Keep Select Field: Keeper 00845 Pull Up / Down Config. Field: 100K Ohm Pull Down 00846 Hyst. Enable Field: Hysteresis Disabled */ 00847 IOMUXC_SetPinConfig( 00848 IOMUXC_GPIO_EMC_19_SEMC_ADDR11, /* GPIO_EMC_19 PAD functional properties : */ 00849 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00850 Drive Strength Field: R0/6 00851 Speed Field: medium(100MHz) 00852 Open Drain Enable Field: Open Drain Disabled 00853 Pull / Keep Enable Field: Pull/Keeper Enabled 00854 Pull / Keep Select Field: Keeper 00855 Pull Up / Down Config. Field: 100K Ohm Pull Down 00856 Hyst. Enable Field: Hysteresis Disabled */ 00857 IOMUXC_SetPinConfig( 00858 IOMUXC_GPIO_EMC_20_SEMC_ADDR12, /* GPIO_EMC_20 PAD functional properties : */ 00859 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00860 Drive Strength Field: R0/6 00861 Speed Field: medium(100MHz) 00862 Open Drain Enable Field: Open Drain Disabled 00863 Pull / Keep Enable Field: Pull/Keeper Enabled 00864 Pull / Keep Select Field: Keeper 00865 Pull Up / Down Config. Field: 100K Ohm Pull Down 00866 Hyst. Enable Field: Hysteresis Disabled */ 00867 IOMUXC_SetPinConfig( 00868 IOMUXC_GPIO_EMC_21_SEMC_BA0, /* GPIO_EMC_21 PAD functional properties : */ 00869 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00870 Drive Strength Field: R0/6 00871 Speed Field: medium(100MHz) 00872 Open Drain Enable Field: Open Drain Disabled 00873 Pull / Keep Enable Field: Pull/Keeper Enabled 00874 Pull / Keep Select Field: Keeper 00875 Pull Up / Down Config. Field: 100K Ohm Pull Down 00876 Hyst. Enable Field: Hysteresis Disabled */ 00877 IOMUXC_SetPinConfig( 00878 IOMUXC_GPIO_EMC_22_SEMC_BA1, /* GPIO_EMC_22 PAD functional properties : */ 00879 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00880 Drive Strength Field: R0/6 00881 Speed Field: medium(100MHz) 00882 Open Drain Enable Field: Open Drain Disabled 00883 Pull / Keep Enable Field: Pull/Keeper Enabled 00884 Pull / Keep Select Field: Keeper 00885 Pull Up / Down Config. Field: 100K Ohm Pull Down 00886 Hyst. Enable Field: Hysteresis Disabled */ 00887 IOMUXC_SetPinConfig( 00888 IOMUXC_GPIO_EMC_23_SEMC_ADDR10, /* GPIO_EMC_23 PAD functional properties : */ 00889 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00890 Drive Strength Field: R0/6 00891 Speed Field: medium(100MHz) 00892 Open Drain Enable Field: Open Drain Disabled 00893 Pull / Keep Enable Field: Pull/Keeper Enabled 00894 Pull / Keep Select Field: Keeper 00895 Pull Up / Down Config. Field: 100K Ohm Pull Down 00896 Hyst. Enable Field: Hysteresis Disabled */ 00897 IOMUXC_SetPinConfig( 00898 IOMUXC_GPIO_EMC_24_SEMC_CAS, /* GPIO_EMC_24 PAD functional properties : */ 00899 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00900 Drive Strength Field: R0/6 00901 Speed Field: medium(100MHz) 00902 Open Drain Enable Field: Open Drain Disabled 00903 Pull / Keep Enable Field: Pull/Keeper Enabled 00904 Pull / Keep Select Field: Keeper 00905 Pull Up / Down Config. Field: 100K Ohm Pull Down 00906 Hyst. Enable Field: Hysteresis Disabled */ 00907 IOMUXC_SetPinConfig( 00908 IOMUXC_GPIO_EMC_25_SEMC_RAS, /* GPIO_EMC_25 PAD functional properties : */ 00909 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00910 Drive Strength Field: R0/6 00911 Speed Field: medium(100MHz) 00912 Open Drain Enable Field: Open Drain Disabled 00913 Pull / Keep Enable Field: Pull/Keeper Enabled 00914 Pull / Keep Select Field: Keeper 00915 Pull Up / Down Config. Field: 100K Ohm Pull Down 00916 Hyst. Enable Field: Hysteresis Disabled */ 00917 IOMUXC_SetPinConfig( 00918 IOMUXC_GPIO_EMC_26_SEMC_CLK, /* GPIO_EMC_26 PAD functional properties : */ 00919 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00920 Drive Strength Field: R0/6 00921 Speed Field: medium(100MHz) 00922 Open Drain Enable Field: Open Drain Disabled 00923 Pull / Keep Enable Field: Pull/Keeper Enabled 00924 Pull / Keep Select Field: Keeper 00925 Pull Up / Down Config. Field: 100K Ohm Pull Down 00926 Hyst. Enable Field: Hysteresis Disabled */ 00927 IOMUXC_SetPinConfig( 00928 IOMUXC_GPIO_EMC_27_SEMC_CKE, /* GPIO_EMC_27 PAD functional properties : */ 00929 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00930 Drive Strength Field: R0/6 00931 Speed Field: medium(100MHz) 00932 Open Drain Enable Field: Open Drain Disabled 00933 Pull / Keep Enable Field: Pull/Keeper Enabled 00934 Pull / Keep Select Field: Keeper 00935 Pull Up / Down Config. Field: 100K Ohm Pull Down 00936 Hyst. Enable Field: Hysteresis Disabled */ 00937 IOMUXC_SetPinConfig( 00938 IOMUXC_GPIO_EMC_28_SEMC_WE, /* GPIO_EMC_28 PAD functional properties : */ 00939 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00940 Drive Strength Field: R0/6 00941 Speed Field: medium(100MHz) 00942 Open Drain Enable Field: Open Drain Disabled 00943 Pull / Keep Enable Field: Pull/Keeper Enabled 00944 Pull / Keep Select Field: Keeper 00945 Pull Up / Down Config. Field: 100K Ohm Pull Down 00946 Hyst. Enable Field: Hysteresis Disabled */ 00947 IOMUXC_SetPinConfig( 00948 IOMUXC_GPIO_EMC_29_SEMC_CS0, /* GPIO_EMC_29 PAD functional properties : */ 00949 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00950 Drive Strength Field: R0/6 00951 Speed Field: medium(100MHz) 00952 Open Drain Enable Field: Open Drain Disabled 00953 Pull / Keep Enable Field: Pull/Keeper Enabled 00954 Pull / Keep Select Field: Keeper 00955 Pull Up / Down Config. Field: 100K Ohm Pull Down 00956 Hyst. Enable Field: Hysteresis Disabled */ 00957 IOMUXC_SetPinConfig( 00958 IOMUXC_GPIO_EMC_30_SEMC_DATA08, /* GPIO_EMC_30 PAD functional properties : */ 00959 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00960 Drive Strength Field: R0/6 00961 Speed Field: medium(100MHz) 00962 Open Drain Enable Field: Open Drain Disabled 00963 Pull / Keep Enable Field: Pull/Keeper Enabled 00964 Pull / Keep Select Field: Keeper 00965 Pull Up / Down Config. Field: 100K Ohm Pull Down 00966 Hyst. Enable Field: Hysteresis Disabled */ 00967 IOMUXC_SetPinConfig( 00968 IOMUXC_GPIO_EMC_31_SEMC_DATA09, /* GPIO_EMC_31 PAD functional properties : */ 00969 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00970 Drive Strength Field: R0/6 00971 Speed Field: medium(100MHz) 00972 Open Drain Enable Field: Open Drain Disabled 00973 Pull / Keep Enable Field: Pull/Keeper Enabled 00974 Pull / Keep Select Field: Keeper 00975 Pull Up / Down Config. Field: 100K Ohm Pull Down 00976 Hyst. Enable Field: Hysteresis Disabled */ 00977 IOMUXC_SetPinConfig( 00978 IOMUXC_GPIO_EMC_32_SEMC_DATA10, /* GPIO_EMC_32 PAD functional properties : */ 00979 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00980 Drive Strength Field: R0/6 00981 Speed Field: medium(100MHz) 00982 Open Drain Enable Field: Open Drain Disabled 00983 Pull / Keep Enable Field: Pull/Keeper Enabled 00984 Pull / Keep Select Field: Keeper 00985 Pull Up / Down Config. Field: 100K Ohm Pull Down 00986 Hyst. Enable Field: Hysteresis Disabled */ 00987 IOMUXC_SetPinConfig( 00988 IOMUXC_GPIO_EMC_33_SEMC_DATA11, /* GPIO_EMC_33 PAD functional properties : */ 00989 0x10B0u); /* Slew Rate Field: Slow Slew Rate 00990 Drive Strength Field: R0/6 00991 Speed Field: medium(100MHz) 00992 Open Drain Enable Field: Open Drain Disabled 00993 Pull / Keep Enable Field: Pull/Keeper Enabled 00994 Pull / Keep Select Field: Keeper 00995 Pull Up / Down Config. Field: 100K Ohm Pull Down 00996 Hyst. Enable Field: Hysteresis Disabled */ 00997 IOMUXC_SetPinConfig( 00998 IOMUXC_GPIO_EMC_34_SEMC_DATA12, /* GPIO_EMC_34 PAD functional properties : */ 00999 0x10B0u); /* Slew Rate Field: Slow Slew Rate 01000 Drive Strength Field: R0/6 01001 Speed Field: medium(100MHz) 01002 Open Drain Enable Field: Open Drain Disabled 01003 Pull / Keep Enable Field: Pull/Keeper Enabled 01004 Pull / Keep Select Field: Keeper 01005 Pull Up / Down Config. Field: 100K Ohm Pull Down 01006 Hyst. Enable Field: Hysteresis Disabled */ 01007 IOMUXC_SetPinConfig( 01008 IOMUXC_GPIO_EMC_35_SEMC_DATA13, /* GPIO_EMC_35 PAD functional properties : */ 01009 0x10B0u); /* Slew Rate Field: Slow Slew Rate 01010 Drive Strength Field: R0/6 01011 Speed Field: medium(100MHz) 01012 Open Drain Enable Field: Open Drain Disabled 01013 Pull / Keep Enable Field: Pull/Keeper Enabled 01014 Pull / Keep Select Field: Keeper 01015 Pull Up / Down Config. Field: 100K Ohm Pull Down 01016 Hyst. Enable Field: Hysteresis Disabled */ 01017 IOMUXC_SetPinConfig( 01018 IOMUXC_GPIO_EMC_36_SEMC_DATA14, /* GPIO_EMC_36 PAD functional properties : */ 01019 0x10B0u); /* Slew Rate Field: Slow Slew Rate 01020 Drive Strength Field: R0/6 01021 Speed Field: medium(100MHz) 01022 Open Drain Enable Field: Open Drain Disabled 01023 Pull / Keep Enable Field: Pull/Keeper Enabled 01024 Pull / Keep Select Field: Keeper 01025 Pull Up / Down Config. Field: 100K Ohm Pull Down 01026 Hyst. Enable Field: Hysteresis Disabled */ 01027 IOMUXC_SetPinConfig( 01028 IOMUXC_GPIO_EMC_37_SEMC_DATA15, /* GPIO_EMC_37 PAD functional properties : */ 01029 0x10B0u); /* Slew Rate Field: Slow Slew Rate 01030 Drive Strength Field: R0/6 01031 Speed Field: medium(100MHz) 01032 Open Drain Enable Field: Open Drain Disabled 01033 Pull / Keep Enable Field: Pull/Keeper Enabled 01034 Pull / Keep Select Field: Keeper 01035 Pull Up / Down Config. Field: 100K Ohm Pull Down 01036 Hyst. Enable Field: Hysteresis Disabled */ 01037 IOMUXC_SetPinConfig( 01038 IOMUXC_GPIO_EMC_38_SEMC_DM01, /* GPIO_EMC_38 PAD functional properties : */ 01039 0x10B0u); /* Slew Rate Field: Slow Slew Rate 01040 Drive Strength Field: R0/6 01041 Speed Field: medium(100MHz) 01042 Open Drain Enable Field: Open Drain Disabled 01043 Pull / Keep Enable Field: Pull/Keeper Enabled 01044 Pull / Keep Select Field: Keeper 01045 Pull Up / Down Config. Field: 100K Ohm Pull Down 01046 Hyst. Enable Field: Hysteresis Disabled */ 01047 } 01048 01049 01050 /* 01051 * TEXT BELOW IS USED AS SETTING FOR TOOLS ************************************* 01052 BOARD_InitI2C1Pins: 01053 - options: {callFromInitBoot: 'true', coreID: core0, enableClock: 'true'} 01054 - pin_list: 01055 - {pin_num: J11, peripheral: LPI2C1, signal: SCL, pin_signal: GPIO_AD_B1_00, software_input_on: Enable, hysteresis_enable: Disable, pull_up_down_config: Pull_Up_22K_Ohm, 01056 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Enable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 01057 - {pin_num: K11, peripheral: LPI2C1, signal: SDA, pin_signal: GPIO_AD_B1_01, software_input_on: Enable, hysteresis_enable: Disable, pull_up_down_config: Pull_Up_22K_Ohm, 01058 pull_keeper_select: Keeper, pull_keeper_enable: Enable, open_drain: Enable, speed: MHZ_100, drive_strength: R0_6, slew_rate: Slow} 01059 * BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS *********** 01060 */ 01061 01062 /* FUNCTION ************************************************************************************************************ 01063 * 01064 * Function Name : BOARD_InitI2C1Pins 01065 * Description : Configures pin routing and optionally pin electrical features. 01066 * 01067 * END ****************************************************************************************************************/ 01068 void BOARD_InitI2C1Pins(void) { 01069 CLOCK_EnableClock(kCLOCK_Iomuxc); /* iomuxc clock (iomuxc_clk_enable): 0x03u */ 01070 01071 IOMUXC_SetPinMux( 01072 IOMUXC_GPIO_AD_B1_00_LPI2C1_SCL, /* GPIO_AD_B1_00 is configured as LPI2C1_SCL */ 01073 1U); /* Software Input On Field: Force input path of pad GPIO_AD_B1_00 */ 01074 IOMUXC_SetPinMux( 01075 IOMUXC_GPIO_AD_B1_01_LPI2C1_SDA, /* GPIO_AD_B1_01 is configured as LPI2C1_SDA */ 01076 1U); /* Software Input On Field: Force input path of pad GPIO_AD_B1_01 */ 01077 IOMUXC_SetPinConfig( 01078 IOMUXC_GPIO_AD_B1_00_LPI2C1_SCL, /* GPIO_AD_B1_00 PAD functional properties : */ 01079 0xD8B0u); /* Slew Rate Field: Slow Slew Rate 01080 Drive Strength Field: R0/6 01081 Speed Field: medium(100MHz) 01082 Open Drain Enable Field: Open Drain Enabled 01083 Pull / Keep Enable Field: Pull/Keeper Enabled 01084 Pull / Keep Select Field: Keeper 01085 Pull Up / Down Config. Field: 22K Ohm Pull Up 01086 Hyst. Enable Field: Hysteresis Disabled */ 01087 IOMUXC_SetPinConfig( 01088 IOMUXC_GPIO_AD_B1_01_LPI2C1_SDA, /* GPIO_AD_B1_01 PAD functional properties : */ 01089 0xD8B0u); /* Slew Rate Field: Slow Slew Rate 01090 Drive Strength Field: R0/6 01091 Speed Field: medium(100MHz) 01092 Open Drain Enable Field: Open Drain Enabled 01093 Pull / Keep Enable Field: Pull/Keeper Enabled 01094 Pull / Keep Select Field: Keeper 01095 Pull Up / Down Config. Field: 22K Ohm Pull Up 01096 Hyst. Enable Field: Hysteresis Disabled */ 01097 } 01098 01099 /*********************************************************************************************************************** 01100 * EOF 01101 **********************************************************************************************************************/
Generated on Wed Jul 20 2022 15:03:44 by
