We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f88ddc5 commit 4e344d9Copy full SHA for 4e344d9
1 file changed
src/blocking/spi.rs
@@ -29,6 +29,12 @@ pub trait WriteIter<W> {
29
WI: IntoIterator<Item = W>;
30
}
31
32
+/// ManagedCS marker trait specifies that all `spi` operations will be preceded by
33
+/// asserting the CS pin, and followed by de-asserting the CS pin.
34
+///
35
+/// TODO: document wrappers that can be used where this is required
36
+pub trait ManagedCs {}
37
+
38
/// Blocking transfer
39
pub mod transfer {
40
/// Default implementation of `blocking::spi::Transfer<W>` for implementers of
0 commit comments