Struct nrf52833_hal::spi::Pins [−][src]
pub struct Pins {
pub sck: Pin<Output<PushPull>>,
pub mosi: Option<Pin<Output<PushPull>>>,
pub miso: Option<Pin<Input<Floating>>>,
}
Expand description
GPIO pins for SPI interface.
Fields
sck: Pin<Output<PushPull>>
SPI clock.
mosi: Option<Pin<Output<PushPull>>>
MOSI Master out, slave in.
None if unused.
miso: Option<Pin<Input<Floating>>>
MISO Master in, slave out.
None if unused.
Auto Trait Implementations
impl RefUnwindSafe for Pins
impl UnwindSafe for Pins
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Performs the conversion.
Performs the conversion.
Casts the value.
Casts the value.
Casts the value.
Casts the value.