Commit Graph

2 Commits

Author SHA1 Message Date
Doug Brown
a4e6cf4809 Add support for GPIO pulldown control
Note that it does nothing on the AVR, which doesn't support it.
2023-09-10 05:02:44 -07:00
Doug Brown
df5c50ffee Add GPIO driver
Provide the basic functionality for setting direction, turning on and
off, toggling, reading inputs, and enabling/disabling pullups.

This chip also provides pulldowns, so in the future I will also
implement pulldown control so we can detect shorts to 5V.
2023-09-10 05:02:44 -07:00