Struct nrf52840_hal::twim::Pins

source ·
pub struct Pins {
    pub scl: P0_Pin<Input<Floating>>,
    pub sda: P0_Pin<Input<Floating>>,
}
Expand description

The pins used by the TWIN peripheral

Currently, only P0 pins are supported.

Fields

scl: P0_Pin<Input<Floating>>sda: P0_Pin<Input<Floating>>

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.

Should always be Self
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.