xwrust

Macro pin

source
macro_rules! pin {
    ($($pos:expr),*) => { ... };
}
Expand description

生成GPIO PIN掩码的宏

§示例

let pinmsk: XwSq = pin!(0, 1, 2, 3); // 0b1111