[][src]Enum ssd1351::command::Command

pub enum Command {
    Column(u8, u8),
    Row(u8, u8),
    CommandLock(u8),
    DisplayOn(bool),
    WriteRam,
    ClockDiv(u8),
    MuxRatio(u8),
    SetRemap(bool, bool, bool),
    StartLine(u8),
    DisplayOffset(u8),
    SetGpio(u8),
    FunctionSelect(u8),
    PreCharge(u8),
    Vcomh(u8),
    Invert(bool),
    Contrast(u8),
    ContrastCurrent(u8),
    SetVsl,
    PreCharge2(u8),
}

Variants

Column(u8, u8)

Column address

Row(u8, u8)

Row address

CommandLock(u8)

CommandLock

DisplayOn(bool)

DisplayOn

WriteRam

WriteRam

ClockDiv(u8)

ClockDiv

MuxRatio(u8)

MuxRatio

SetRemap(bool, bool, bool)

SetRemap - horizontal or vertical increment, SegmentRemap, Reverse scan direction

StartLine(u8)

Display Start Row

DisplayOffset(u8)

DisplayOffset

SetGpio(u8)

SetGpio

FunctionSelect(u8)

FunctionSelect

PreCharge(u8)

PreCharge

Vcomh(u8)

Vcomh

Invert(bool)

NormalDisplayOn

Contrast(u8)

Contrast

ContrastCurrent(u8)

ContrastMaster

SetVsl

SetVsl

PreCharge2(u8)

SetPrecharge

Methods

impl Command[src]

pub fn send<DI>(self, iface: &mut DI) -> Result<(), ()> where
    DI: DisplayInterface
[src]

Send command to SSD1351

Auto Trait Implementations

impl Send for Command

impl Sync for Command

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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