pub enum Command {
Show 29 variants DriverOutputControl(u16u8), GateDrivingVoltage(u8), SourceDrivingVoltage(u8u8u8), BoosterEnable(u8u8u8u8), GateScanStartPostion(u16), DeepSleepMode(DeepSleepMode), DataEntryMode(DataEntryModeIncrementAxis), SoftReset, TemperatatSensorSelection(TemperatureSensor), WriteTemperatureSensor(u16), ReadTemperatureSensor(u16), WriteExternalTemperatureSensor(u8u8u8), UpdateDisplay, UpdateDisplayOption1(RamOptionRamOption), UpdateDisplayOption2(u8), EnterVCOMSensing, VCOMSenseDuration(u8), WriteVCOM(u8), DummyLinePeriod(u8), GateLineWidth(u8), BorderWaveform(u8), StartEndXPosition(u8u8), StartEndYPosition(u16u16), AutoWriteRedPattern(u8), AutoWriteBlackPattern(u8), XAddress(u8), YAddress(u8), AnalogBlockControl(u8), DigitalBlockControl(u8),
}
Expand description

A command that can be issued to the controller.

Variants

DriverOutputControl(u16u8)

Set the MUX of gate lines, scanning sequence and direction 0: MAX gate lines 1: Gate scanning sequence and direction

GateDrivingVoltage(u8)

Set the gate driving voltage.

SourceDrivingVoltage(u8u8u8)

Set the source driving voltage. 0: VSH1 1: VSH2 2: VSL

BoosterEnable(u8u8u8u8)

Booster enable with phases 1 to 3 for soft start current and duration setting 0: Soft start setting for phase 1 1: Soft start setting for phase 2 2: Soft start setting for phase 3 3: Duration setting

GateScanStartPostion(u16)

Set the scanning start position of the gate driver

DeepSleepMode(DeepSleepMode)

Set deep sleep mode

DataEntryMode(DataEntryModeIncrementAxis)

Set the data entry mode and increament axis

SoftReset

Perform a soft reset, and reset all parameters to their default values BUSY will be high when in progress.

TemperatatSensorSelection(TemperatureSensor)

Specify internal or external temperature sensor

WriteTemperatureSensor(u16)

Write to the temperature sensor register

ReadTemperatureSensor(u16)

Read from the temperature sensor register

WriteExternalTemperatureSensor(u8u8u8)

Write a command to the external temperature sensor

UpdateDisplay

Activate display update sequence. BUSY will be high when in progress.

UpdateDisplayOption1(RamOptionRamOption)

Set RAM content options for update display command. 0: Black/White RAM option 1: Red RAM option

UpdateDisplayOption2(u8)

Set display update sequence options

EnterVCOMSensing

Enter VCOM sensing and hold for duration defined by VCOMSenseDuration BUSY will be high when in progress.

VCOMSenseDuration(u8)

Set VCOM sensing duration

WriteVCOM(u8)

Write VCOM register from MCU interface

DummyLinePeriod(u8)

Set the number of dummy line period in terms of gate line width (TGate)

GateLineWidth(u8)

Set the gate line width (TGate)

BorderWaveform(u8)

Select border waveform for VBD

StartEndXPosition(u8u8)

Set the start/end positions of the window address in the X direction 0: Start 1: End

StartEndYPosition(u16u16)

Set the start/end positions of the window address in the Y direction 0: Start 1: End

AutoWriteRedPattern(u8)

Auto write red RAM for regular pattern

AutoWriteBlackPattern(u8)

Auto write red RAM for regular pattern

XAddress(u8)

Set RAM X address

YAddress(u8)

Set RAM Y address

AnalogBlockControl(u8)

Set analog block control

DigitalBlockControl(u8)

Set digital block control

Implementations

Execute the command, transmitting any associated data as well.

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

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Casts the value.

Casts the value.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Casts the value.

OverflowingCasts the value.

Casts the value.

Casts the value.

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.

Casts the value.

UnwrappedCasts the value.

Casts the value.

WrappingCasts the value.