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
COM lines are connected to display rows in a progressive arrangement, so that COM lines 0->127 map to display rows 0->127.
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.
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
Auto Trait Implementations
impl RefUnwindSafe for ComLayout
impl UnwindSafe for ComLayout
Blanket Implementations
Mutably borrows from an owned value. Read more