#[repr(C)]pub struct SPIS_PSEL_Type {
pub SCK: u32,
pub MISO: u32,
pub MOSI: u32,
pub CSN: u32,
}
Expand description
@brief SPIS_PSEL [PSEL] (Unspecified)
Fields§
§SCK: u32
< (@ 0x00000000) Pin select for SCK
MISO: u32
< (@ 0x00000004) Pin select for MISO signal
MOSI: u32
< (@ 0x00000008) Pin select for MOSI signal
CSN: u32
< (@ 0x0000000C) Pin select for CSN signal
Trait Implementations§
Source§impl Clone for SPIS_PSEL_Type
impl Clone for SPIS_PSEL_Type
Source§fn clone(&self) -> SPIS_PSEL_Type
fn clone(&self) -> SPIS_PSEL_Type
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 moreSource§impl Debug for SPIS_PSEL_Type
impl Debug for SPIS_PSEL_Type
Source§impl Default for SPIS_PSEL_Type
impl Default for SPIS_PSEL_Type
Source§fn default() -> SPIS_PSEL_Type
fn default() -> SPIS_PSEL_Type
Returns the “default value” for a type. Read more
impl Copy for SPIS_PSEL_Type
Auto Trait Implementations§
impl Freeze for SPIS_PSEL_Type
impl RefUnwindSafe for SPIS_PSEL_Type
impl Send for SPIS_PSEL_Type
impl Sync for SPIS_PSEL_Type
impl Unpin for SPIS_PSEL_Type
impl UnwindSafe for SPIS_PSEL_Type
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes