Commit Graph

1 Commits (97816df7e7aa8710c8a0837b2abe008e0c765f2a)

Author SHA1 Message Date
Wez Furlong 8485bb34d2 Add arduino-alike GPIO pin control helpers
Unlike the arduino functions, these don't take abstract pin numbers,
they take pin labels like `B0`.  Also, rather than taking very
generic parameter names, these take slightly more descriptive
enum values.

These improve the clarity of code that would otherwise be inscrutable
bit manipulation in tersely named port register names.
8 years ago