Struct SpiDeviceRegistryEntry
#[repr(C)]pub struct SpiDeviceRegistryEntry {Show 13 fields
pub node: usize,
pub bus_node: usize,
pub bus_instance: usize,
pub cs: SpiDevPin,
pub enable: &'static [SpiDevPin],
pub max_hz: u32,
pub cpol: u8,
pub cpha: u8,
pub bits_per_word: u8,
pub cs_setup_delay_us: u32,
pub cs_hold_delay_us: u32,
pub cs_inactive_delay_us: u32,
pub compatible: &'static str,
}Fields§
§node: usize§bus_node: usize§bus_instance: usize§cs: SpiDevPin§enable: &'static [SpiDevPin]§max_hz: u32§cpol: u8§cpha: u8§bits_per_word: u8§cs_setup_delay_us: u32§cs_hold_delay_us: u32§cs_inactive_delay_us: u32§compatible: &'static strTrait Implementations§
§impl Clone for SpiDeviceRegistryEntry
impl Clone for SpiDeviceRegistryEntry
§fn clone(&self) -> SpiDeviceRegistryEntry
fn clone(&self) -> SpiDeviceRegistryEntry
Returns a duplicate 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 more§impl Debug for SpiDeviceRegistryEntry
impl Debug for SpiDeviceRegistryEntry
impl Copy for SpiDeviceRegistryEntry
Auto Trait Implementations§
impl Freeze for SpiDeviceRegistryEntry
impl RefUnwindSafe for SpiDeviceRegistryEntry
impl Send for SpiDeviceRegistryEntry
impl Sync for SpiDeviceRegistryEntry
impl Unpin for SpiDeviceRegistryEntry
impl UnsafeUnpin for SpiDeviceRegistryEntry
impl UnwindSafe for SpiDeviceRegistryEntry
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