pub struct LcdPins<D, AD, NE, WORD> {
pub data: D,
pub address: AD,
pub read_enable: Noe,
pub write_enable: Nwe,
pub chip_select: NE,
/* private fields */
}
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)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<D, AD, NE, WORD> Freeze for LcdPins<D, AD, NE, WORD>
impl<D, AD, NE, WORD> RefUnwindSafe for LcdPins<D, AD, NE, WORD>
impl<D, AD, NE, WORD> Send for LcdPins<D, AD, NE, WORD>
impl<D, AD, NE, WORD> Sync for LcdPins<D, AD, NE, WORD>
impl<D, AD, NE, WORD> Unpin for LcdPins<D, AD, NE, WORD>
impl<D, AD, NE, WORD> UnwindSafe for LcdPins<D, AD, NE, WORD>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more