Lines Matching +full:pin +full:- +full:offset
3 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/dt-util.h>
12 * Silabs Series 2 DBUS configuration is encoded in a 32-bit bitfield organized as follows:
15 * 28..24: Route register offset in words from peripheral config (offset of <fun>ROUTE
17 * 23..19: Enable bit (offset into ROUTEEN register for given function)
18 * 18 : Enable bit presence (some inputs are auto-enabled)
19 * 17..8 : Peripheral config offset in words from DBUS base within GPIO (offset of <periph>ROUTE[n]
20 * register in GPIO_TypeDef minus offset of first route register [DBGROUTEPEN, 0x440])
21 * 7..4 : GPIO pin
32 #define SILABS_DBUS(port, pin, periph_base, en_present, en_bit, route) \ argument
34 FIELD_PREP(SILABS_PINCTRL_GPIO_PIN_MASK, pin) | \