diff options
author | Wez Furlong <wez@fb.com> | 2016-11-27 22:43:11 -0800 |
---|---|---|
committer | Wez Furlong <wez@fb.com> | 2016-11-27 22:58:34 -0800 |
commit | 8485bb34d2e291db5b6c81f892850da1cdca37ba (patch) | |
tree | 17ba7e60725d028fb7a1c6ba54b1a73bac768af9 /tmk_core | |
parent | be4e75423a232d9d328bb23835e0fa5152292c95 (diff) |
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.
Diffstat (limited to 'tmk_core')
0 files changed, 0 insertions, 0 deletions