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

Move pin-related code to SWM API #93

Merged
merged 5 commits into from
May 23, 2018
Merged

Move pin-related code to SWM API #93

merged 5 commits into from
May 23, 2018

Conversation

hannobraun
Copy link
Member

Move pin-related code to the SWM API. The GPIO-related bits have been left in the gpio module. I like this better, as the SWM API owning the pins is more logical than the GPIO API owning them. GPIO is only one use of the pins, after all.

I'm still not totally happy with the API, as the SWM and GPIO modules are still a bit intertwined. I think this is good enough for now, however. I'll revisit the issue after I had a chance to think about it for a while.

I also snuck in a small update to the build infrastructure in here. It seemed small enough that I didn't want to put it in its own pull request.

Close #76.

@hannobraun hannobraun merged commit 5cd864f into lpc-rs:master May 23, 2018
@hannobraun hannobraun deleted the swm branch May 23, 2018 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant