aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core
diff options
context:
space:
mode:
authorWez Furlong <wez@fb.com>2016-11-27 22:43:11 -0800
committerWez Furlong <wez@fb.com>2016-11-27 22:58:34 -0800
commit8485bb34d2e291db5b6c81f892850da1cdca37ba (patch)
tree17ba7e60725d028fb7a1c6ba54b1a73bac768af9 /tmk_core
parentbe4e75423a232d9d328bb23835e0fa5152292c95 (diff)
downloadfirmware-8485bb34d2e291db5b6c81f892850da1cdca37ba.tar.gz
firmware-8485bb34d2e291db5b6c81f892850da1cdca37ba.tar.bz2
firmware-8485bb34d2e291db5b6c81f892850da1cdca37ba.zip
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