Lines Matching +full:16 +full:- +full:pin
4 * SPDX-License-Identifier: Apache-2.0
11 #include <zephyr/dt-bindings/pinctrl/it8xxx2-pinctrl.h>
15 * @brief ITE IT8XXX2 pin type.
21 * Pin configuration
22 * kSI[7:0] and KSO[15:0] pins only support pull-up, push-pull/open-drain.
23 * GPIO group pinctrl pins (include KSO[17:16]) support impedance,
24 * pull-up/down, voltage selection, input.
27 /* GPIO pin */
28 uint8_t pin; member
36 * @brief PIN configuration bitfield.
38 * Pin configuration is coded with the following
40 * Pin impedance config [ 0 ]
41 * Pin pull-up/down config [ 4 : 5 ]
42 * Pin voltage selection [ 8 ]
43 * Pin input enable config [ 12 ]
44 * Pin push-pull/open-drain [ 16 ]
45 * Pin drive current high/low[ 20 ]
46 * Pin drive current default [ 21 ]
60 /* Pin tri-state mode. */
63 /* Pin pull-up or pull-down */
67 /* Pin 3.3V or 1.8V */
70 /* Pin INPUT enable or disable */
73 /* Pin push-pull/open-drain mode */
74 #define IT8XXX2_PP_OD_SHIFT 16U
76 /* Pin driving select control */
81 * @brief Utility macro to obtain configuration of tri-state.
87 * @brief Utility macro to obtain configuration of pull-up or pull-down.
105 * @brief Utility macro to obtain configuration of pull-up or not.
111 * @brief Utility macro to obtain configuration of push-pull/open-drain mode.
154 * @brief Utility macro to initialize pin of pinmuxs field in #pinctrl_pin_t.
159 DT_PHA(node_id, pinmuxs, pin)
169 * @brief Utility macro to initialize each pin.
180 .pin = Z_PINCTRL_IT8XXX2_PIN_INIT( \