Struct microbit::gpio::DisplayPins[][src]

pub struct DisplayPins {
    pub col1: P0_04<Output<PushPull>>,
    pub col2: P0_05<Output<PushPull>>,
    pub col3: P0_06<Output<PushPull>>,
    pub col4: P0_07<Output<PushPull>>,
    pub col5: P0_08<Output<PushPull>>,
    pub col6: P0_09<Output<PushPull>>,
    pub col7: P0_10<Output<PushPull>>,
    pub col8: P0_11<Output<PushPull>>,
    pub col9: P0_12<Output<PushPull>>,
    pub row1: P0_13<Output<PushPull>>,
    pub row2: P0_14<Output<PushPull>>,
    pub row3: P0_15<Output<PushPull>>,
}
Expand description

GPIO pins connected to the LED matrix

The pins are represented as a 3x9 matrix on the micro:bit V1. This is mapped to the physical 5x5 LED matrix in the crate::display modules.

Use the display_pins macro for easier construction.

Fields

col1: P0_04<Output<PushPull>>col2: P0_05<Output<PushPull>>col3: P0_06<Output<PushPull>>col4: P0_07<Output<PushPull>>col5: P0_08<Output<PushPull>>col6: P0_09<Output<PushPull>>col7: P0_10<Output<PushPull>>col8: P0_11<Output<PushPull>>col9: P0_12<Output<PushPull>>row1: P0_13<Output<PushPull>>row2: P0_14<Output<PushPull>>row3: P0_15<Output<PushPull>>

Implementations

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.