Skip to content
New issue

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

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

Already on GitHub? # to your account

[sw/lib] ⚠️ rework gpio_pin_set function #921

Merged
merged 2 commits into from
Jun 6, 2024
Merged

Conversation

stnolting
Copy link
Owner

@stnolting stnolting commented Jun 6, 2024

The two functions

void neorv32_gpio_pin_set(int pin);
void neorv32_gpio_pin_clr(int pin);

are unified into a single function that is used to CLEAR (value = 0) or SET (value != 0) a specific GPIO output pin:

void neorv32_gpio_pin_set(int pin, int value);

stnolting added 2 commits June 6, 2024 17:23
function is now used to SET and CLR a specific GPIO output pin
@stnolting stnolting self-assigned this Jun 6, 2024
@stnolting stnolting added SW Software-related cleanup Clean-up the codebase labels Jun 6, 2024
@stnolting stnolting marked this pull request as ready for review June 6, 2024 15:31
@stnolting stnolting changed the title ⚠️ rework gpio_pin_set function [sw/lib] ⚠️ rework gpio_pin_set function Jun 6, 2024
@stnolting stnolting merged commit d6d31fc into main Jun 6, 2024
10 checks passed
@stnolting stnolting deleted the rework_gpio_pin_set branch June 6, 2024 18:26
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
cleanup Clean-up the codebase SW Software-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant