Struct riot_sys::SPIM_PSEL_Type
source · #[repr(C)]pub struct SPIM_PSEL_Type {
pub SCK: u32,
pub MOSI: u32,
pub MISO: u32,
pub CSN: u32,
}
Expand description
@brief SPIM_PSEL [PSEL] (Unspecified)
Fields§
§SCK: u32
< (@ 0x00000000) Pin select for SCK
MOSI: u32
< (@ 0x00000004) Pin select for MOSI signal
MISO: u32
< (@ 0x00000008) Pin select for MISO signal
CSN: u32
< (@ 0x0000000C) Pin select for CSN
Trait Implementations§
source§impl Clone for SPIM_PSEL_Type
impl Clone for SPIM_PSEL_Type
source§fn clone(&self) -> SPIM_PSEL_Type
fn clone(&self) -> SPIM_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 SPIM_PSEL_Type
impl Debug for SPIM_PSEL_Type
source§impl Default for SPIM_PSEL_Type
impl Default for SPIM_PSEL_Type
source§fn default() -> SPIM_PSEL_Type
fn default() -> SPIM_PSEL_Type
Returns the “default value” for a type. Read more
impl Copy for SPIM_PSEL_Type
Auto Trait Implementations§
impl RefUnwindSafe for SPIM_PSEL_Type
impl Send for SPIM_PSEL_Type
impl Sync for SPIM_PSEL_Type
impl Unpin for SPIM_PSEL_Type
impl UnwindSafe for SPIM_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