#[repr(u8)]pub enum Drive {
Lowest = 0,
VeryLow = 1,
Low = 2,
Medium = 3,
MediumHigh = 4,
High = 5,
VeryHigh = 6,
Highest = 7,
PermanentHighDrive = 9,
}Expand description
Defines the pulse duration in terms of ck_ps pulses.
A short pulse leads to lower power consumption, but displays with high internal resistance may need a longer pulse to achieve satisfactory contrast. Note that the pulse is never longer than one half prescaled LCD clock period.
Displays with high internal resistance may need a longer drive time to achieve satisfactory contrast.
PermanentHighDrive is useful in this case if some additional power consumption can be tolerated.
Basically, for power usage, you want this as low as possible while still being able to use the LCD with a good enough contrast.
Variants§
Lowest = 0
Zero clock pulse on duration
VeryLow = 1
One clock pulse on duration
Low = 2
Two clock pulse on duration
Medium = 3
Three clock pulse on duration
MediumHigh = 4
Four clock pulse on duration
High = 5
Five clock pulse on duration
VeryHigh = 6
Six clock pulse on duration
Highest = 7
Seven clock pulse on duration
PermanentHighDrive = 9
Enables the highdrive bit of the hardware