Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion include/zephyr/dt-bindings/pinctrl/rpi-pico-pinctrl-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
#define RP2_GPIO_OVERRIDE_LOW 2
#define RP2_GPIO_OVERRIDE_HIGH 3

#define RP2XXX_PINMUX(pin_num, alt_func) (pin_num << RP2_PIN_NUM_POS | alt_func << RP2_ALT_FUNC_POS)
#define RP2XXX_PINMUX(pin_num, alt_func) \
(((pin_num) << RP2_PIN_NUM_POS) | ((alt_func) << RP2_ALT_FUNC_POS))

/* These function are common. SoC-specific functions are defined in their
* respective header file. Refer to table 279 and 642 in the RP2040 and RP2350
Expand Down
Loading