macro_rules! port { ($pin_group: ident) => { ... }; }
Expand description
Convenience macro to define all 8 pins grouped into a single PORT group.
Requires you to use Pin; and use register::*; from this module.
Example: To define port::a0 through port::a7 from DDRA, PORTA and PINA registers, use
port!(A);.