[][src]Enum ssd1675::command::Command

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

A command that can be issued to the controller.

Variants

DriverOutputControl(u16, u8)

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(u8, u8, u8)

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

BoosterEnable(u8, u8, u8, u8)

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(u8, u8, u8)

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(u8, u8)

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

StartEndYPosition(u16, u16)

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

impl Command[src]

pub fn execute<I: DisplayInterface>(
    &self,
    interface: &mut I
) -> Result<(), I::Error>
[src]

Execute the command, transmitting any associated data as well.

Trait Implementations

impl Clone for Command[src]

impl Copy for Command[src]

Auto Trait Implementations

impl Send for Command

impl Sync for Command

impl Unpin for Command

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.