Struct stm32f4xx_hal::fsmc_lcd::LcdPins
source · [−]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
sourceimpl<D, AD, NOE, NWE, NE> Pins for LcdPins<D, AD, NOE, NWE, NE> where
D: DataPins,
AD: AddressPins,
NOE: PinReadEnable,
NWE: PinWriteEnable,
NE: ChipSelectPins,
impl<D, AD, NOE, NWE, NE> Pins for LcdPins<D, AD, NOE, NWE, NE> where
D: DataPins,
AD: AddressPins,
NOE: PinReadEnable,
NWE: PinWriteEnable,
NE: ChipSelectPins,
type Lcds = <NE as ChipSelectPins>::Lcds
type Lcds = <NE as ChipSelectPins>::Lcds
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
impl<D, AD, NOE, NWE, NE> RefUnwindSafe for LcdPins<D, AD, NOE, NWE, NE> where
AD: RefUnwindSafe,
D: RefUnwindSafe,
NE: RefUnwindSafe,
NOE: RefUnwindSafe,
NWE: RefUnwindSafe,
impl<D, AD, NOE, NWE, NE> Send for LcdPins<D, AD, NOE, NWE, NE> where
AD: Send,
D: Send,
NE: Send,
NOE: Send,
NWE: Send,
impl<D, AD, NOE, NWE, NE> Sync for LcdPins<D, AD, NOE, NWE, NE> where
AD: Sync,
D: Sync,
NE: Sync,
NOE: Sync,
NWE: Sync,
impl<D, AD, NOE, NWE, NE> Unpin for LcdPins<D, AD, NOE, NWE, NE> where
AD: Unpin,
D: Unpin,
NE: Unpin,
NOE: Unpin,
NWE: Unpin,
impl<D, AD, NOE, NWE, NE> UnwindSafe for LcdPins<D, AD, NOE, NWE, NE> where
AD: UnwindSafe,
D: UnwindSafe,
NE: UnwindSafe,
NOE: UnwindSafe,
NWE: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more