pub struct SpiConfiguration {
pub underlying_instance: String,
pub mode: Option<TransferMode>,
pub serial_clock: Option<String>,
pub host_out_device_in: Option<String>,
pub host_in_device_out: Option<String>,
pub chip_select: Option<String>,
pub gsc_ready: Option<String>,
pub bits_per_word: Option<u32>,
pub bits_per_sec: Option<u32>,
}
Fields§
§underlying_instance: String
§mode: Option<TransferMode>
§serial_clock: Option<String>
§host_out_device_in: Option<String>
§host_in_device_out: Option<String>
§chip_select: Option<String>
§gsc_ready: Option<String>
§bits_per_word: Option<u32>
§bits_per_sec: Option<u32>
Trait Implementations§
Source§impl Debug for SpiConfiguration
impl Debug for SpiConfiguration
Source§impl Default for SpiConfiguration
impl Default for SpiConfiguration
Source§fn default() -> SpiConfiguration
fn default() -> SpiConfiguration
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SpiConfiguration
impl RefUnwindSafe for SpiConfiguration
impl Send for SpiConfiguration
impl Sync for SpiConfiguration
impl Unpin for SpiConfiguration
impl UnwindSafe for SpiConfiguration
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