diff options
author | Wez Furlong <wez@fb.com> | 2016-11-28 07:43:11 +0100 |
---|---|---|
committer | Wez Furlong <wez@fb.com> | 2016-11-28 07:58:34 +0100 |
commit | 8485bb34d2e291db5b6c81f892850da1cdca37ba (patch) | |
tree | 17ba7e60725d028fb7a1c6ba54b1a73bac768af9 /keyboards/planck/keymaps/default/keymap.c | |
parent | be4e75423a232d9d328bb23835e0fa5152292c95 (diff) | |
download | qmk_firmware-8485bb34d2e291db5b6c81f892850da1cdca37ba.tar.gz qmk_firmware-8485bb34d2e291db5b6c81f892850da1cdca37ba.tar.xz |
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 'keyboards/planck/keymaps/default/keymap.c')
0 files changed, 0 insertions, 0 deletions