Lines Matching +full:prop +full:- +full:2
4 * SPDX-License-Identifier: Apache-2.0
19 #include <dt-bindings/pinctrl/gd32-af.h>
21 #include <dt-bindings/pinctrl/gd32-afio.h>
33 * - 0-12: GD32_PINMUX_AF bit field.
34 * - 13-25: Reserved.
35 * - 26-31: Pin configuration bit field (@ref GD32_PINCFG).
38 * - 0-19: GD32_PINMUX_AFIO bit field.
39 * - 20-25: Reserved.
40 * - 26-31: Pin configuration bit field (@ref GD32_PINCFG).
48 * @param prop Property name.
51 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument
52 (DT_PROP_BY_IDX(node_id, prop, idx) | \
65 * @param prop Property name describing state pins.
67 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument
68 {DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), \
79 /** No pull-up/down */
81 /** Pull-up */
83 /** Pull-down */
84 #define GD32_PUPD_PULLDOWN 2U
93 /** Push-pull */
95 /** Open-drain */
107 /** Maximum 2MHz */
120 #define GD32_OSPEED_50MHZ 2U
128 /** Maximum 2MHz */
131 #define GD32_OSPEED_50MHZ 2U
144 * - 31..29: Pull-up/down
145 * - 28: Output type
146 * - 27..26: Output speed