Macros
pin 🔒
Convenience macro to define a pin struct directly from the
DDR
, PORT
and PIN
Register
s.
Requires you to use Pin;
and use register::*;
from this module.port 🔒
Convenience macro to define all 8 pins grouped into a single PORT group.
Requires you to
use Pin;
and use register::*;
from this module.set_pins 🔒
Convenience setter and getter macros to set multiple pins in the same register at once.
Enums
Represents whether a pin is an input or an output.
Traits
An IO pin.