[][src]Enum ssd1327::command::Command

pub enum Command {
    DisplayOff,
    DisplayOn,
    ColumnAddress {
        start: u8,
        end: u8,
    },
    RowAddress {
        start: u8,
        end: u8,
    },
    Contrast(u8),
    SetRemap(u8),
    StartLine(u8),
    Offset(u8),
    DisplayModeNormal,
    MuxRatio(u8),
    PhaseLength(u8),
    FrontClockDivider(u8),
    FunctionSelectionA(u8),
    SecondPreChargePeriod(u8),
    ComVoltageLevel(u8),
    PreChargeVoltage(u8),
    FunctionSelectionB(u8),
    CommandLock(u8),
}

Holds commands which can be sent to the display.

Variants

DisplayOff

Turn display off (0xAE)

DisplayOn

Turn display on (0xAF)

ColumnAddress

Set up column start and end address (0x15)

Fields of ColumnAddress

start: u8

The start column address

end: u8

The end column address

RowAddress

Set up row start and end address (0x75)

Fields of RowAddress

start: u8

The start row address

end: u8

The end row address

Contrast(u8)

Contrast Control (0x81)

SetRemap(u8)

Re-map setting in Graphic Display Data RAM (0xA0)

StartLine(u8)

Display Start Line (0xA1)

Offset(u8)

Display Offset (0xA2)

DisplayModeNormal

Normal Display Mode (0xA4)

MuxRatio(u8)

Multiplex Ratio (0xA8)

PhaseLength(u8)

Phase Length (0xB1)

FrontClockDivider(u8)

Front Clock Divider / Oscillator Frequency (0xB3)

FunctionSelectionA(u8)

Function Selection A (0xAB)

SecondPreChargePeriod(u8)

Second Pre-Charge Period (0xB6)

ComVoltageLevel(u8)

COM deselect voltage level (0xBE)

PreChargeVoltage(u8)

Pre-Charge Voltage (0xBC)

FunctionSelectionB(u8)

Function Selection B (0xD5)

CommandLock(u8)

Function Selection B (0xD5)

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.