pub struct SPIConfig {
pub clock_speed: u64,
pub cs_off: bool,
pub mosi_off: bool,
pub speed_hz: u64,
pub cpha: bool,
pub cpol: bool,
}
Fields
clock_speed: u64
cs_off: bool
mosi_off: bool
speed_hz: u64
cpha: bool
cpol: bool
Trait Implementations
sourceimpl From<SPIConfig> for SPIConfigDynamicMode
impl From<SPIConfig> for SPIConfigDynamicMode
sourceimpl Into<SPIConfig> for SPIConfigDynamicMode
impl Into<SPIConfig> for SPIConfigDynamicMode
impl Copy for SPIConfig
Auto Trait Implementations
impl RefUnwindSafe for SPIConfig
impl Send for SPIConfig
impl Sync for SPIConfig
impl Unpin for SPIConfig
impl UnwindSafe for SPIConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more