Struct ssd1322::config::Config [−][src]
pub struct Config { /* fields omitted */ }
Expand description
A configuration for the display. Builder methods offer a declarative way to either sent a configuration command at init time, or to leave it at the chip’s POR default.
Implementations
Create a new configuration. COM scan direction and COM layout are mandatory because the
display will not function correctly unless they are set, so they must be provided in the
constructor. All other options can be optionally set by calling the provided builder
methods on Config
.
Extend this Config
to explicitly configure display contrast current. See
Command::SetContrastCurrent
.
Extend this Config
to explicitly configure OLED drive phase lengths. See
Command::SetPhaseLengths
.
Extend this Config
to explicitly configure the display clock frequency and divider. See
Command::SetClockFoscDivset
.
Extend this Config
to explicitly configure display enhancement features. See
Command::SetDisplayEnhancements
.
Extend this Config
to explicitly configure OLED drive second precharge period length. See
Command::SetSecondPrechargePeriod
.
Extend this Config
to explicitly configure OLED drive precharge voltage. See
Command::SetPreChargeVoltage
.
Extend this Config
to explicitly configure OLED drive COM deselect voltage. See
Command::SetComDeselectVoltage
.