mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-02-11 00:39:55 +00:00
rename gpio_set_function_mask to gpio_set_function_masked to match naming schema of other gpio functions
This commit is contained in:
parent
7c5b426a0f
commit
41b4d3adb4
@ -270,7 +270,7 @@ void gpio_init_mask(uint gpio_mask) {
|
||||
}
|
||||
}
|
||||
|
||||
void gpio_set_function_mask(uint gpio_mask, enum gpio_function fn) {
|
||||
void gpio_set_function_masked(uint gpio_mask, enum gpio_function fn) {
|
||||
for (uint i = 0; i < NUM_BANK0_GPIOS; i++) {
|
||||
if (gpio_mask & 1) {
|
||||
gpio_set_function(i, fn);
|
||||
|
@ -192,7 +192,7 @@ void gpio_set_function(uint gpio, enum gpio_function fn);
|
||||
* \param gpio_mask Mask with 1 bit per GPIO number to set the function for
|
||||
* \param fn Which GPIO function select to use from list \ref gpio_function
|
||||
*/
|
||||
void gpio_set_function_mask(uint gpio_mask, enum gpio_function fn);
|
||||
void gpio_set_function_masked(uint gpio_mask, enum gpio_function fn);
|
||||
|
||||
/*! \brief Determine current GPIO function
|
||||
* \ingroup hardware_gpio
|
||||
|
Loading…
x
Reference in New Issue
Block a user