summaryrefslogtreecommitdiffstats
path: root/quantum/pincontrol.h
AgeCommit message (Collapse)AuthorFilesLines
2016-11-28Add arduino-alike GPIO pin control helpersWez Furlong1-0/+37
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.