Add gpio_set_function_mask function #1462

Merged
inventor02 merged 3 commits from gpio-function-set-masked into develop 2024-07-24 06:47:59 -05:00
inventor02 commented 2023-07-23 08:42:52 -05:00 (Migrated from github.com)

Similar to gpio_init_mask, gpio_set_function_mask allows setting multiple GPIO functions with one call.

Similar to gpio_init_mask, gpio_set_function_mask allows setting multiple GPIO functions with one call.
peterharperuk commented 2024-07-22 08:54:13 -05:00 (Migrated from github.com)

LGTM

LGTM
peterharperuk (Migrated from github.com) approved these changes 2024-07-22 08:54:25 -05:00
kilograham (Migrated from github.com) approved these changes 2024-07-24 06:47:49 -05:00
lurch commented 2024-07-24 07:15:47 -05:00 (Migrated from github.com)

...although unlike the other _masked functions, this works by iterating over the GPIOs in a loop, rather than doing a single register-write. I dunno if this is an important-enough distinction to be worth noting in the Doxygen-comment?

...although _unlike_ the other `_masked` functions, this works by iterating over the GPIOs in a loop, rather than doing a single register-write. I dunno if this is an important-enough distinction to be worth noting in the Doxygen-comment?
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk!1462
No description provided.