Lines Matching +full:drive +full:- +full:mode
4 * SPDX-License-Identifier: Apache-2.0
10 * @brief nRF-specific GPIO Flags
11 * @defgroup gpio_interface_nrf nRF-specific GPIO Flags
17 * @name nRF GPIO drive flags
18 * @brief nRF GPIO drive flags
20 * Standard (S) or High (H) drive modes can be applied to both pin levels, 0 or
21 * 1. High drive mode will increase current capabilities of the pin (refer to
24 * When the pin is configured to operate in open-drain mode (wired-and), the
25 * drive mode can only be selected for the 0 level (1 is disconnected).
26 * Similarly, when the pin is configured to operate in open-source mode
27 * (wired-or), the drive mode can only be set for the 1 level
30 * The drive flags are encoded in the 8 upper bits of @ref gpio_dt_flags_t as
33 * - Bit 8: Drive mode for '0' (0=Standard, 1=High)
34 * - Bit 9: Drive mode for '1' (0=Standard, 1=High)
40 /** Drive mode field mask */
44 /** Standard drive for '0' (default, used with GPIO_OPEN_DRAIN) */
46 /** High drive for '0' (used with GPIO_OPEN_DRAIN) */
48 /** Standard drive for '1' (default, used with GPIO_OPEN_SOURCE) */
50 /** High drive for '1' (used with GPIO_OPEN_SOURCE) */
52 /** Standard drive for '0' and '1' (default) */
54 /** Standard drive for '0' and high for '1' */
56 /** High drive for '0' and standard for '1' */
58 /** High drive for '0' and '1' */