macro_rules! bitmask_list {
    ($($(#[$attr: meta])* $bitmask_name: ident$(: $bitmask_type: ty)?),* $(,)?) => { ... };
}
Expand description

Convenience macro to define multiple bitmasks as RegisterValue at once. Requires you to have bitmask! and RegisterValue from this module in scope. Additionally, one can provide documentation for each list element as usual.

Example: To define INT0, INT1 and INT2, use bitmask_list!(INT0, INT1, INT2);.