pub struct SpiBitbangConfig {
pub cpol: bool,
pub cpha: bool,
pub data_mode: SpiDataMode,
pub bits_per_word: u32,
}
Expand description
Configuration for SPI bitbanging
Fields§
§cpol: bool
§cpha: bool
§data_mode: SpiDataMode
§bits_per_word: u32
Trait Implementations§
Source§impl Clone for SpiBitbangConfig
impl Clone for SpiBitbangConfig
Source§fn clone(&self) -> SpiBitbangConfig
fn clone(&self) -> SpiBitbangConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SpiBitbangConfig
impl RefUnwindSafe for SpiBitbangConfig
impl Send for SpiBitbangConfig
impl Sync for SpiBitbangConfig
impl Unpin for SpiBitbangConfig
impl UnwindSafe for SpiBitbangConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more