Struct esp_ward::display::pcd8544::Pcd8544Display
source · pub struct Pcd8544Display<CLK: OutputPin, DIN: OutputPin, DC: OutputPin, CE: OutputPin, RST: OutputPin, BL: OutputPin> {
pub inner: PCD8544<CLK, DIN, DC, CE, RST, BL>,
}
Expand description
Represents a PCD8544 display and provides methods to interact with it.
Fields§
§inner: PCD8544<CLK, DIN, DC, CE, RST, BL>
The underlying PCD8544 driver instance.
Implementations§
source§impl<CLK: OutputPin<Error = Infallible>, DIN: OutputPin<Error = Infallible>, DC: OutputPin<Error = Infallible>, CE: OutputPin<Error = Infallible>, RST: OutputPin<Error = Infallible>, BL: OutputPin<Error = Infallible>> Pcd8544Display<CLK, DIN, DC, CE, RST, BL>
impl<CLK: OutputPin<Error = Infallible>, DIN: OutputPin<Error = Infallible>, DC: OutputPin<Error = Infallible>, CE: OutputPin<Error = Infallible>, RST: OutputPin<Error = Infallible>, BL: OutputPin<Error = Infallible>> Pcd8544Display<CLK, DIN, DC, CE, RST, BL>
sourcepub fn create_on_pins(
pin_clk: CLK,
pin_data: DIN,
pin_dc: DC,
pin_ce: CE,
pin_rst: RST,
pin_backlight: BL
) -> Pcd8544Display<CLK, DIN, DC, CE, RST, BL>
pub fn create_on_pins( pin_clk: CLK, pin_data: DIN, pin_dc: DC, pin_ce: CE, pin_rst: RST, pin_backlight: BL ) -> Pcd8544Display<CLK, DIN, DC, CE, RST, BL>
Trait Implementations§
source§impl<CLK: OutputPin<Error = Infallible>, DIN: OutputPin<Error = Infallible>, DC: OutputPin<Error = Infallible>, CE: OutputPin<Error = Infallible>, RST: OutputPin<Error = Infallible>, BL: OutputPin<Error = Infallible>> Display for Pcd8544Display<CLK, DIN, DC, CE, RST, BL>
impl<CLK: OutputPin<Error = Infallible>, DIN: OutputPin<Error = Infallible>, DC: OutputPin<Error = Infallible>, CE: OutputPin<Error = Infallible>, RST: OutputPin<Error = Infallible>, BL: OutputPin<Error = Infallible>> Display for Pcd8544Display<CLK, DIN, DC, CE, RST, BL>
Auto Trait Implementations§
impl<CLK, DIN, DC, CE, RST, BL> Freeze for Pcd8544Display<CLK, DIN, DC, CE, RST, BL>where
CLK: Freeze,
DIN: Freeze,
DC: Freeze,
CE: Freeze,
RST: Freeze,
BL: Freeze,
impl<CLK, DIN, DC, CE, RST, BL> RefUnwindSafe for Pcd8544Display<CLK, DIN, DC, CE, RST, BL>where
CLK: RefUnwindSafe,
DIN: RefUnwindSafe,
DC: RefUnwindSafe,
CE: RefUnwindSafe,
RST: RefUnwindSafe,
BL: RefUnwindSafe,
impl<CLK, DIN, DC, CE, RST, BL> Send for Pcd8544Display<CLK, DIN, DC, CE, RST, BL>where
CLK: Send,
DIN: Send,
DC: Send,
CE: Send,
RST: Send,
BL: Send,
impl<CLK, DIN, DC, CE, RST, BL> Sync for Pcd8544Display<CLK, DIN, DC, CE, RST, BL>where
CLK: Sync,
DIN: Sync,
DC: Sync,
CE: Sync,
RST: Sync,
BL: Sync,
impl<CLK, DIN, DC, CE, RST, BL> Unpin for Pcd8544Display<CLK, DIN, DC, CE, RST, BL>where
CLK: Unpin,
DIN: Unpin,
DC: Unpin,
CE: Unpin,
RST: Unpin,
BL: Unpin,
impl<CLK, DIN, DC, CE, RST, BL> UnwindSafe for Pcd8544Display<CLK, DIN, DC, CE, RST, BL>where
CLK: UnwindSafe,
DIN: UnwindSafe,
DC: UnwindSafe,
CE: UnwindSafe,
RST: UnwindSafe,
BL: UnwindSafe,
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
§impl<T, U> TryInto<U> for Twhere
U: TryFrom<T>,
impl<T, U> TryInto<U> for Twhere
U: TryFrom<T>,
source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.