macro_rules! renamed_pins {
    (
        $(#[$pins_attr:meta])*
        pub struct Pins {
            $($(#[$pin_attr:meta])* pub $pin_name:ident: $pin_type:ty = $pin_orig:ident,)+
        }

        impl Pins {
            type Pin = $pin_wrapper:ident;
            type McuPins = $mcu_pins:ty;
        }
    ) => { ... };
}