pub struct LcdPins<D, AD, NOE, NWE, NE> {
    pub data: D,
    pub address: AD,
    pub read_enable: NOE,
    pub write_enable: NWE,
    pub chip_select: NE,
}
Expand description

A set of pins used to interface with an LCD

The address and enable fields can be individual pins, or tuples of 2, 3, or 4 pins.

Fields

data: D

The 16-bit data bus

address: AD

Address pin(s) (data/command)

read_enable: NOE

Output enable (read enable)

write_enable: NWE

Write enable

chip_select: NE

Chip select / bank enable pin(s)

Trait Implementations

One, two, three, or four Lcd<_> objects associated with the sub-bank(s) that the chip select pin pin(s) control Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

Should always be Self

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.