Struct lcd::HD44780
[−]
[src]
pub struct HD44780<HW: Hardware> { /* fields omitted */ }
Methods
impl<HW: Hardware> HD44780<HW>
[src]
fn new(hw: HW) -> HD44780<HW>
[src]
fn init(&mut self)
[src]
fn clear(&mut self) -> &Self
[src]
fn home(&mut self) -> &Self
[src]
fn display(
&mut self,
display: DisplayMode,
cursor: DisplayCursor,
blink: DisplayBlink
) -> &Self
[src]
&mut self,
display: DisplayMode,
cursor: DisplayCursor,
blink: DisplayBlink
) -> &Self
fn entry_mode(
&mut self,
dir: EntryModeDirection,
scroll: EntryModeShift
) -> &Self
[src]
&mut self,
dir: EntryModeDirection,
scroll: EntryModeShift
) -> &Self
fn scroll(&mut self, dir: Direction) -> &Self
[src]
fn cursor(&mut self, dir: Direction) -> &Self
[src]
fn position(&mut self, col: u8, row: u8)
[src]
fn print(&mut self, str: &str) -> &Self
[src]
fn write(&mut self, data: u8) -> &Self
[src]
fn upload_character(&mut self, location: u8, map: [u8; 8]) -> &Self
[src]
Trait Implementations
impl<HW: Hardware> Write for HD44780<HW>
[src]
fn write_str(&mut self, s: &str) -> Result
[src]
Writes a slice of bytes into this writer, returning whether the write succeeded. Read more
fn write_char(&mut self, c: char) -> Result<(), Error>
1.1.0[src]
Writes a [char
] into this writer, returning whether the write succeeded. Read more
fn write_fmt(&mut self, args: Arguments) -> Result<(), Error>
1.0.0[src]
Glue for usage of the [write!
] macro with implementors of this trait. Read more