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
impl RefUnwindSafe for DisplayPins
impl Send for DisplayPins
impl Sync for DisplayPins
impl Unpin for DisplayPins
impl UnwindSafe for DisplayPins
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.