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

GPIO basic API #1

Open
wants to merge 36 commits into
base: master
Choose a base branch
from
Open

GPIO basic API #1

wants to merge 36 commits into from

Conversation

mishaturnbull
Copy link
Member

This is a new feature pull request.

Summary:
Adds a basic API for GPIO direction (input/output) detection and setting, in input mode supports reading binary logic levels and in output mode supports reading current and writing new output values.

It's been a while for C

Signed-off-by: Misha Turnbull <[email protected]>
Signed-off-by: Misha Turnbull <[email protected]>
Signed-off-by: Misha Turnbull <[email protected]>
I hate C

Signed-off-by: Misha Turnbull <[email protected]>
Add newlines to debug print statements

Signed-off-by: Misha Turnbull <[email protected]>
Signed-off-by: Misha Turnbull <[email protected]>
Signed-off-by: Misha Turnbull <[email protected]>
Signed-off-by: Misha Turnbull <[email protected]>
Signed-off-by: Misha Turnbull <[email protected]>
Signed-off-by: Misha Turnbull <[email protected]>
Signed-off-by: Misha Turnbull <[email protected]>
Signed-off-by: Misha Turnbull <[email protected]>
Signed-off-by: Misha Turnbull <[email protected]>
Signed-off-by: Misha Turnbull <[email protected]>
Signed-off-by: Misha Turnbull <[email protected]>
Signed-off-by: Misha Turnbull <[email protected]>
Signed-off-by: Misha Turnbull <[email protected]>
Signed-off-by: Misha Turnbull <[email protected]>
Signed-off-by: Misha Turnbull <[email protected]>
gpio_base:get_pin_direction; gpio_base:set_pin_direction

Signed-off-by: Misha Turnbull <[email protected]>
Signed-off-by: Misha Turnbull <[email protected]>
Signed-off-by: Misha Turnbull <[email protected]>
Signed-off-by: Misha Turnbull <[email protected]>
@mishaturnbull mishaturnbull added the enhancement New feature or request label Apr 2, 2019
@mishaturnbull mishaturnbull added the gpio General purpose input/output pins. label Apr 2, 2019
@mishaturnbull
Copy link
Member Author

Tested and running on BeagleBone Enhanced, current Debian release.

@mishaturnbull
Copy link
Member Author

Ready for review. Code tested & running on BBE 32.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gpio General purpose input/output pins.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant