Macro atsamd_hal::define_pins[][src]

macro_rules! define_pins {
    ($(#[$topattr : meta]) * struct $Type : ident, pac : $pac : ident,
 $($(#[$attr : meta]) * pin $name : ident = $pin_ident : ident), +,) => { ... };
}
👎 Deprecated since 0.13.0:

The gpio::v1 module is deprecated, and will be removed in a subsequent release. Please use the gpio::v2 module instead.

Expand description

This macro is a helper for defining a Pins type in a board support crate. This type is used to provide more meaningful aliases for the various GPIO pins for a given board.