mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-17 20:02:53 +08:00
9aed3f19d2
-Interrupt should be kept separate from GPIO (use PIC)
269 B
269 B
GPIO
A General Purpose IO module with all pins individually configurable as inputs or outputs. Output pins are controlled by writing to the ODATA register. Inputs are sampled by reading the IDATA register. Inputs can be configured to trigger interupts.