1 /* 2 * Copyright 2019-2021 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 #ifndef _PIN_MUX_H_ 14 #define _PIN_MUX_H_ 15 16 /*! 17 * @addtogroup pin_mux 18 * @{ 19 */ 20 21 /*********************************************************************************************************************** 22 * API 23 **********************************************************************************************************************/ 24 25 #if defined(__cplusplus) 26 extern "C" { 27 #endif 28 29 /*! 30 * @brief Calls initialization functions. 31 * 32 */ 33 34 #define IOCON_PIO_DIGITAL_EN 0x0100u /*!<@brief Enables digital function */ 35 #define IOCON_PIO_FUNC1 0x01u /*!<@brief Selects pin function 1 */ 36 #define IOCON_PIO_INV_DI 0x00u /*!<@brief Input function is not inverted */ 37 #define IOCON_PIO_MODE_INACT 0x00u /*!<@brief No addition pin function */ 38 #define IOCON_PIO_OPENDRAIN_DI 0x00u /*!<@brief Open drain is disabled */ 39 #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */ 40 41 /*! 42 * @brief Configures pin routing and optionally pin electrical features. 43 * 44 */ 45 void BOARD_InitPins(void); /* Function assigned for the Cortex-M33 */ 46 47 #define IOCON_PIO_DIGITAL_EN 0x0100u /*!<@brief Enables digital function */ 48 #define IOCON_PIO_FUNC1 0x01u /*!<@brief Selects pin function 1 */ 49 #define IOCON_PIO_INV_DI 0x00u /*!<@brief Input function is not inverted */ 50 #define IOCON_PIO_MODE_PULLUP 0x20u /*!<@brief Selects pull-up function */ 51 #define IOCON_PIO_OPENDRAIN_DI 0x00u /*!<@brief Open drain is disabled */ 52 #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */ 53 54 /*! 55 * @brief Configures pin routing and optionally pin electrical features. 56 * 57 */ 58 void I2C2_InitPins(void); /* Function assigned for the Cortex-M33 */ 59 60 #define IOCON_PIO_DIGITAL_EN 0x0100u /*!<@brief Enables digital function */ 61 #define IOCON_PIO_FUNC0 0x00u /*!<@brief Selects pin function 0 */ 62 #define IOCON_PIO_INV_DI 0x00u /*!<@brief Input function is not inverted */ 63 #define IOCON_PIO_MODE_INACT 0x00u /*!<@brief No addition pin function */ 64 #define IOCON_PIO_OPENDRAIN_DI 0x00u /*!<@brief Open drain is disabled */ 65 #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */ 66 67 /*! 68 * @brief Configures pin routing and optionally pin electrical features. 69 * 70 */ 71 void I2C2_DeinitPins(void); /* Function assigned for the Cortex-M33 */ 72 73 #define IOCON_PIO_ASW0_DI 0x00u /*!<@brief Analog switch 0 is open (disabled) */ 74 #define IOCON_PIO_DIGITAL_EN 0x0100u /*!<@brief Enables digital function */ 75 #define IOCON_PIO_FUNC1 0x01u /*!<@brief Selects pin function 1 */ 76 #define IOCON_PIO_INV_DI 0x00u /*!<@brief Input function is not inverted */ 77 #define IOCON_PIO_MODE_PULLUP 0x20u /*!<@brief Selects pull-up function */ 78 #define IOCON_PIO_OPENDRAIN_DI 0x00u /*!<@brief Open drain is disabled */ 79 #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */ 80 81 /*! 82 * @brief Configures pin routing and optionally pin electrical features. 83 * 84 */ 85 void SPI2_InitPins(void); /* Function assigned for the Cortex-M33 */ 86 87 #define IOCON_PIO_ASW0_DI 0x00u /*!<@brief Analog switch 0 is open (disabled) */ 88 #define IOCON_PIO_DIGITAL_EN 0x0100u /*!<@brief Enables digital function */ 89 #define IOCON_PIO_FUNC0 0x00u /*!<@brief Selects pin function 0 */ 90 #define IOCON_PIO_INV_DI 0x00u /*!<@brief Input function is not inverted */ 91 #define IOCON_PIO_MODE_INACT 0x00u /*!<@brief No addition pin function */ 92 #define IOCON_PIO_OPENDRAIN_DI 0x00u /*!<@brief Open drain is disabled */ 93 #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */ 94 95 /*! 96 * @brief Configures pin routing and optionally pin electrical features. 97 * 98 */ 99 void SPI2_DeinitPins(void); /* Function assigned for the Cortex-M33 */ 100 101 #define IOCON_PIO_DIGITAL_EN 0x0100u /*!<@brief Enables digital function */ 102 #define IOCON_PIO_FUNC1 0x01u /*!<@brief Selects pin function 1 */ 103 #define IOCON_PIO_INV_DI 0x00u /*!<@brief Input function is not inverted */ 104 #define IOCON_PIO_MODE_INACT 0x00u /*!<@brief No addition pin function */ 105 #define IOCON_PIO_OPENDRAIN_DI 0x00u /*!<@brief Open drain is disabled */ 106 #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */ 107 108 /*! 109 * @brief Configures pin routing and optionally pin electrical features. 110 * 111 */ 112 void USART0_InitPins(void); /* Function assigned for the Cortex-M33 */ 113 114 #define IOCON_PIO_DIGITAL_EN 0x0100u /*!<@brief Enables digital function */ 115 #define IOCON_PIO_FUNC0 0x00u /*!<@brief Selects pin function 0 */ 116 #define IOCON_PIO_INV_DI 0x00u /*!<@brief Input function is not inverted */ 117 #define IOCON_PIO_MODE_INACT 0x00u /*!<@brief No addition pin function */ 118 #define IOCON_PIO_OPENDRAIN_DI 0x00u /*!<@brief Open drain is disabled */ 119 #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */ 120 121 /*! 122 * @brief Configures pin routing and optionally pin electrical features. 123 * 124 */ 125 void USART0_DeinitPins(void); /* Function assigned for the Cortex-M33 */ 126 127 #if defined(__cplusplus) 128 } 129 #endif 130 131 /*! 132 * @} 133 */ 134 #endif /* _PIN_MUX_H_ */ 135 136 /*********************************************************************************************************************** 137 * EOF 138 **********************************************************************************************************************/ 139