[][src]Enum epd::command::Command

#[repr(u8)]pub enum Command {
    DriverOutputControl,
    GateDrivingVoltageControl,
    SourceDrivingVoltageControl,
    DeepSleepMode,
    DataEntryModeSetting,
    SwReset,
    TemperatureSensorControl,
    MasterActivation,
    DisplayUpdateControl1,
    DisplayUpdateControl2,
    PanelBreakDetection,
    WriteRam,
    WriteVcomRegister,
    StatusBitRead,
    WriteLutRegister,
    SetDummyLinePeriod,
    SetGateLineWidth,
    BorderWaveformControl,
    SetRamXAddressStartEndPosition,
    SetRamYAddressStartEndPosition,
    SetRamXAddressCounter,
    SetRamYAddressCounter,
}

Variants

DriverOutputControl

Set the number of gate.

<<A:u8, 0:b5, B:b3>>

GateDrivingVoltageControl

Set Gate driving voltage

<<0:b3, A:b5, 0:b4, B:b4>>

SourceDrivingVoltageControl

Set Source output voltage

LUT byte 30, the content of source level,

<<0:b3, A:b5>>

DeepSleepMode

Deep Sleep mode Control

<<0:b7, A:b1>>

A

A=0, Normal Mode [POR] A=1, Enter Deep Sleep Mode

DataEntryModeSetting

Define data entry sequence <<0:b5, A:b3>>

A[1:0]

  • 00 – Y decrement, X decrement,
  • 01 – Y decrement, X increment,
  • 10 – Y increment, X decrement,
  • 11 – Y increment, X increment [POR]

A[2]

  • AM = 0, the address counter is updated in the X direction. [POR]
  • AM = 1, the address counter is updated in the Y direction.
SwReset
TemperatureSensorControl

<<A:u8, b:b4, 0:b4>>

MasterActivation

Activate Display Update Sequence

The Display Update Sequence Option is located at R22h

DisplayUpdateControl1
DisplayUpdateControl2

Display Update Sequence Option: Enable the stage for Master Activation.

Enable Clock Signal Then Enable Analog No Use Then Load LUT Then INIITIAL DISPLAY Then PATTERN DISPLAY Then Disable Analog Then Disable OSC

PanelBreakDetection
WriteRam

Data entries will be written into the RAM until another command is written. Address pointers will advance accordingly.

WriteVcomRegister

Write VCOM register.

A[7:0] = 00h [POR]

A[7:0]VCOMA[7:0]VCOM
0Fh-0.25Ah-1.7
14h-0.35Fh-1.8
19h-0.464h-1.9
1Eh-0.569h-2
23h-0.66Eh-2.1
28h-0.773h-2.2
2Dh-0.878h-2.3
32h-0.97Dh-2.4
37h-182h-2.5
3Ch-1.187h-2.6
41h-1.28Ch-2.7
46h-1.391h-2.8
4Bh-1.496h-2.9
50h-1.59Bh-3
55h-1.6
StatusBitRead

Panel-Break flag, Chip ID

WriteLutRegister

Write LUT register from MCU interface [30 bytes] (excluding the VSH/VSL and Dummy bit)

SetDummyLinePeriod

Set number of dummy line period. LUT byte 29, the content of dummy line.

A[6:0]: Number of dummy line period in term of TGate

Default: 0x06

Driver: 0x1a, 4 dummy lines per gate

Available setting 0 to 127.

SetGateLineWidth

Set Gate line width (TGate) A[3:0] Line width in us. LUT byte 31, the content of gate line width.

A[3:0]: Line width in us, 0 to 8

Default: 0x0b = 0b1011, TGate = 78us Driver: 0x08, 2us/line

NOTE: Default value will give 50Hz Frame frequency under 6 dummy line pulse setting.

BorderWaveformControl

Select border waveform for VBD.

SetRamXAddressStartEndPosition

Specify the start/end positions of the window address in the X direction by an address unit.

x point must be the multiple of 8 or the last 3 bits will be ignored

SetRamYAddressStartEndPosition

Specify the start/end positions of the window address in the Y direction by an address unit.

SetRamXAddressCounter
SetRamYAddressCounter

Auto Trait Implementations

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.