macro_rules! impl_spi {
(
hal: $HAL:ty,
peripheral: $SPI:ty,
sclk: $sclkpin:ty,
mosi: $mosipin:ty,
miso: $misopin:ty,
cs: $cspin:ty,
) => { ... };
}
Expand description
Implement traits for a SPI interface