diff options
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso55s16/project_template/pin_mux.h')
-rw-r--r-- | lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso55s16/project_template/pin_mux.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso55s16/project_template/pin_mux.h b/lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso55s16/project_template/pin_mux.h new file mode 100644 index 000000000..bf3e2e409 --- /dev/null +++ b/lib/chibios-contrib/ext/mcux-sdk/boards/lpcxpresso55s16/project_template/pin_mux.h | |||
@@ -0,0 +1,59 @@ | |||
1 | /* | ||
2 | * Copyright 2017-2020 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 | void BOARD_InitBootPins(void); | ||
34 | |||
35 | #define IOCON_PIO_DIGITAL_EN 0x0100u /*!<@brief Enables digital function */ | ||
36 | #define IOCON_PIO_FUNC1 0x01u /*!<@brief Selects pin function 1 */ | ||
37 | #define IOCON_PIO_INV_DI 0x00u /*!<@brief Input function is not inverted */ | ||
38 | #define IOCON_PIO_MODE_INACT 0x00u /*!<@brief No addition pin function */ | ||
39 | #define IOCON_PIO_OPENDRAIN_DI 0x00u /*!<@brief Open drain is disabled */ | ||
40 | #define IOCON_PIO_SLEW_STANDARD 0x00u /*!<@brief Standard mode, output slew rate control is enabled */ | ||
41 | |||
42 | /*! | ||
43 | * @brief Configures pin routing and optionally pin electrical features. | ||
44 | * | ||
45 | */ | ||
46 | void BOARD_InitPins(void); /* Function assigned for the Cortex-M33 */ | ||
47 | |||
48 | #if defined(__cplusplus) | ||
49 | } | ||
50 | #endif | ||
51 | |||
52 | /*! | ||
53 | * @} | ||
54 | */ | ||
55 | #endif /* _PIN_MUX_H_ */ | ||
56 | |||
57 | /*********************************************************************************************************************** | ||
58 | * EOF | ||
59 | **********************************************************************************************************************/ | ||