stevenvar / OMicroB

An OCaml generic virtual machine for microcontrollers
Other
142 stars 23 forks source link

Simplified AVR pins #34

Closed Vertmo closed 2 years ago

Vertmo commented 2 years ago

Another try at simplifying AVR pins, this time with polymorphic variant to indicate the capabilities of each pin. This totally removes the type-encoding of registers, for the sake of simplicity.

What do you think ?

I need to do the same for PICs, but I would need more documentation about the PICs to do so