#[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

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.