27 lines
744 B
C
27 lines
744 B
C
|
/*
|
||
|
* Copyright (c) 2019 STMicroelectronics
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*/
|
||
|
|
||
|
#ifndef ZEPHYR_DRIVERS_PINMUX_STM32_PINMUX_STM32MP1X_H_
|
||
|
#define ZEPHYR_DRIVERS_PINMUX_STM32_PINMUX_STM32MP1X_H_
|
||
|
|
||
|
/**
|
||
|
* @file Header for STM32MP1X pin multiplexing helper
|
||
|
*/
|
||
|
|
||
|
/* Port B */
|
||
|
#define STM32MP1X_PINMUX_FUNC_PB10_USART3_TX \
|
||
|
(STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_PULLUP)
|
||
|
#define STM32MP1X_PINMUX_FUNC_PB12_USART3_RX \
|
||
|
(STM32_PINMUX_ALT_FUNC_8 | STM32_PUPDR_PULL_DOWN)
|
||
|
|
||
|
/* Port E */
|
||
|
#define STM32MP1X_PINMUX_FUNC_PE7_UART7_RX \
|
||
|
(STM32_PINMUX_ALT_FUNC_7 | STM32_PUPDR_PULL_DOWN)
|
||
|
#define STM32MP1X_PINMUX_FUNC_PE8_UART7_TX \
|
||
|
(STM32_PINMUX_ALT_FUNC_7 | STM32_PUSHPULL_PULLUP)
|
||
|
|
||
|
#endif /* ZEPHYR_DRIVERS_PINMUX_STM32_PINMUX_STM32MP1X_H_ */
|