embedded-hal icon indicating copy to clipboard operation
embedded-hal copied to clipboard

Support Bit Numbering for SPI

Open Gentoli opened this issue 4 years ago • 0 comments
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.

Gentoli avatar Dec 07 '20 06:12 Gentoli