Struct microbit::hal::twim::Pins[][src]

pub struct Pins {
    pub scl: Pin<Input<Floating>>,
    pub sda: Pin<Input<Floating>>,
}
Expand description

The pins used by the TWIM peripheral.

Currently, only P0 pins are supported.

Fields

scl: Pin<Input<Floating>>sda: Pin<Input<Floating>>

Trait Implementations

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Casts the value.

Should always be Self

Casts the value.

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.

Casts the value.

Casts the value.