Struct nrf5340_net_pac::spis0_ns::PSEL
source · [−]#[repr(C)]pub struct PSEL {
pub sck: Reg<SCK_SPEC>,
pub miso: Reg<MISO_SPEC>,
pub mosi: Reg<MOSI_SPEC>,
pub csn: Reg<CSN_SPEC>,
}
Expand description
Register block
Fields
sck: Reg<SCK_SPEC>
0x00 - Pin select for SCK
miso: Reg<MISO_SPEC>
0x04 - Pin select for MISO signal
mosi: Reg<MOSI_SPEC>
0x08 - Pin select for MOSI signal
csn: Reg<CSN_SPEC>
0x0c - Pin select for CSN signal
Auto Trait Implementations
impl !RefUnwindSafe for PSEL
impl Send for PSEL
impl !Sync for PSEL
impl Unpin for PSEL
impl UnwindSafe for PSEL
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more