Lines Matching +full:gd32 +full:- +full:afio
4 * SPDX-License-Identifier: Apache-2.0
19 #include <dt-bindings/pinctrl/gd32-af.h>
21 #include <dt-bindings/pinctrl/gd32-afio.h>
30 /** @brief Type for GD32 pin.
33 * - 0-12: GD32_PINMUX_AF bit field.
34 * - 13-25: Reserved.
35 * - 26-31: Pin configuration bit field (@ref GD32_PINCFG).
37 * Bits (AFIO model):
38 * - 0-19: GD32_PINMUX_AFIO bit field.
39 * - 20-25: Reserved.
40 * - 26-31: Pin configuration bit field (@ref GD32_PINCFG).
75 * @name GD32 PUPD (values match the ones in the HAL for AF model).
79 /** No pull-up/down */
81 /** Pull-up */
83 /** Pull-down */
89 * @name GD32 OTYPE (values match the ones in the HAL for AF model).
93 /** Push-pull */
95 /** Open-drain */
101 * @name GD32 OSPEED (values match the ones in the HAL for AF model, mode minus
102 * one for AFIO model).
139 * @name GD32 pin configuration bit field mask and positions.
144 * - 31..29: Pull-up/down
145 * - 28: Output type
146 * - 27..26: Output speed