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

[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);

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup clean-up the codebase SW software-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant