#[repr(C)]pub struct PSEL {
pub sck: SCK,
pub csn: CSN,
pub io0: IO0,
pub io1: IO1,
pub io2: IO2,
pub io3: IO3,
/* private fields */
}
Expand description
Register block
Fields§
§sck: SCK
0x00 - Pin select for serial clock SCK
csn: CSN
0x04 - Pin select for chip select signal CSN.
io0: IO0
0x0c - Pin select for serial data MOSI/IO0.
io1: IO1
0x10 - Pin select for serial data MISO/IO1.
io2: IO2
0x14 - Pin select for serial data IO2.
io3: IO3
0x18 - Pin select for serial data IO3.
Auto Trait Implementations§
impl !Freeze for PSEL
impl !RefUnwindSafe for PSEL
impl Send for PSEL
impl !Sync for PSEL
impl Unpin for PSEL
impl UnwindSafe for PSEL
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