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.h
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 #ifndef _PIN_MUX_H_ 00040 #define _PIN_MUX_H_ 00041 00042 /*********************************************************************************************************************** 00043 * Definitions 00044 **********************************************************************************************************************/ 00045 00046 /*! @brief Direction type */ 00047 typedef enum _pin_mux_direction 00048 { 00049 kPIN_MUX_DirectionInput = 0U, /* Input direction */ 00050 kPIN_MUX_DirectionOutput = 1U, /* Output direction */ 00051 kPIN_MUX_DirectionInputOrOutput = 2U /* Input or output direction */ 00052 } pin_mux_direction_t; 00053 00054 /*! 00055 * @addtogroup pin_mux 00056 * @{ 00057 */ 00058 00059 /*********************************************************************************************************************** 00060 * API 00061 **********************************************************************************************************************/ 00062 00063 #if defined(__cplusplus) 00064 extern "C" { 00065 #endif 00066 00067 /*! 00068 * @brief Calls initialization functions. 00069 * 00070 */ 00071 void BOARD_InitBootPins(void); 00072 00073 00074 /*! 00075 * @brief Configures pin routing and optionally pin electrical features. 00076 * 00077 */ 00078 void BOARD_InitPins(void); 00079 00080 00081 /*! 00082 * @brief Configures pin routing and optionally pin electrical features. 00083 * 00084 */ 00085 void BOARD_InitSemcPins(void); 00086 00087 00088 /*! 00089 * @brief Configures pin routing and optionally pin electrical features. 00090 * 00091 */ 00092 void BOARD_InitI2C1Pins(void); 00093 00094 #if defined(__cplusplus) 00095 } 00096 #endif 00097 00098 /*! 00099 * @} 00100 */ 00101 #endif /* _PIN_MUX_H_ */ 00102 00103 /*********************************************************************************************************************** 00104 * EOF 00105 **********************************************************************************************************************/
Generated on Wed Jul 20 2022 15:03:44 by
