1 /*
2  * Copyright (c) 2017, NXP
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 /**
8  * @file
9  * @brief Board configuration macros for the nxp_lpc55s69 platform
10  *
11  * This header file is used to specify and describe board-level aspects for the
12  * 'nxp_lpc55s69' platform.
13  */
14 
15 #ifndef _SOC__H_
16 #define _SOC__H_
17 
18 #ifndef _ASMLANGUAGE
19 #include <fsl_common.h>
20 
21 
22 #endif /* !_ASMLANGUAGE */
23 
24 #define IOCON_PIO_DIGITAL_EN 0x0100u  /*!<@brief Enables digital function */
25 #define IOCON_PIO_FUNC0 0x00u         /*!<@brief Selects pin function 0 */
26 #define IOCON_PIO_FUNC1 0x01u         /*!<@brief Selects pin function 1 */
27 #define IOCON_PIO_FUNC2 0x02u         /*!<@brief Selects pin function 2 */
28 #define IOCON_PIO_FUNC4 0x04u         /*!<@brief Selects pin function 4 */
29 #define IOCON_PIO_FUNC5 0x05u         /*!<@brief Selects pin function 5 */
30 #define IOCON_PIO_FUNC6 0x06u         /*!<@brief Selects pin function 6 */
31 #define IOCON_PIO_FUNC7 0x07u         /*!<@brief Selects pin function 7 */
32 #define IOCON_PIO_FUNC9 0x09u         /*!<@brief Selects pin function 9 */
33 #define IOCON_PIO_FUNC10 0x0Au        /*!<@brief Selects pin function 10 */
34 #define IOCON_PIO_FUNC11 0x0Bu        /*!<@brief Selects pin function 11 */
35 
36 #define IOCON_PIO_INV_DI 0x00u        /*!<@brief Input function 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 slew rate mode */
40 #define IOCON_PIO_SLEW_FAST 0x40u     /*!<@brief Fast slew rate mode */
41 #define IOCON_PIO_MODE_PULLDOWN 0x10u /*!<@brief Selects pull-down function */
42 #define IOCON_PIO_MODE_PULLUP 0x20u   /*!<@brief Selects pull-up function */
43 #define IOCON_PIO_ASW_EN 0x0400u      /*!<@brief Analog switch is closed (enabled) */
44 #define IOCON_PIO_INPFILT_OFF 0x1000u /*!<@brief Input filter disabled */
45 
46 #endif /* _SOC__H_ */
47