Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gpio_set_function_mask function #1462

Merged
merged 3 commits into from
Jul 24, 2024

Conversation

inventor02
Copy link
Contributor

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

@peterharperuk
Copy link
Contributor

LGTM

@kilograham kilograham modified the milestones: 1.6.1, 1.6.0 Jul 24, 2024
@kilograham kilograham merged commit 7c5b426 into raspberrypi:develop Jul 24, 2024
1 check passed
@lurch
Copy link
Contributor

lurch commented Jul 24, 2024

...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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants