embedded-hal
embedded-hal copied to clipboard
Support Bit Numbering for SPI
trafficstars
Micros such as SAMD51 supports configuring SPI bit order.
There should be something exposed to make this configurable.
I think a good place for it could be here: https://github.com/rust-embedded/embedded-hal/blob/d45af5f9bf25e7e29029db578aaa3c10c35da424/src/spi.rs#L55 Adding an ordering enum to make this configurable.