Enum ssd1322::command::ComLayout[][src]

pub enum ComLayout {
    Progressive,
    Interlaced,
    DualProgressive,
}
Expand description

Setting the layout of the COM lines to the display rows. This setting is dictated by how the display module itself wires the OLED matrix to the driver chip, and changing it to anything other than the correct setting for your module will yield a corrupted image. See the display module datasheet for the correct value to use.

Variants

Progressive

COM lines are connected to display rows in a progressive arrangement, so that COM lines 0->127 map to display rows 0->127.

Interlaced

COM lines are connected to display rows in an interlaced arrangement, so that COM lines 0->63 map to even display rows 0->126, and COM lines 64->127 map to odd display rows 1->127.

DualProgressive

COM lines are connected to display rows in a dual-COM progressive arrangement, so that COM lines 0->63 map to display rows 0->63 for half of the columns, and COM lines 64->127 map to display rows 0->63 for the other half. The maximum displayable image size for this configuration is halved to 480x64 because each display row uses two COM lines.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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.