aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/pincontrol.h
AgeCommit message (Collapse)Author
2016-11-27Add arduino-alike GPIO pin control helpersGravatar Wez Furlong
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.