Struct rust_hdl_widgets::spi::master::SPIConfig
source · 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§
source§impl From<SPIConfig> for SPIConfigDynamicMode
impl From<SPIConfig> for SPIConfigDynamicMode
source§impl 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§
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