Struct pwr_hd44780::buses::gpio4::Gpio4 [] [src]

pub struct Gpio4 { /* fields omitted */ }

Methods

impl Gpio4
[src]

[src]

Constructs a new HD44780 GPIO bus.

Trait Implementations

impl Bus for Gpio4
[src]

[src]

Initializes the bus (eg. puts LCD in appropriate 4/8-bit mode).

[src]

Enables / disables the backlight.

[src]

Sends a single byte to the device. When as_data is true, the RS register is pulled up and byte is sent as data. Read more

[src]

Returns bus width (4 / 8 bit).

[src]

Sends a raw command to the device.

[src]

Sends a raw data to the device.

[src]

Executes given command.

Auto Trait Implementations

impl Send for Gpio4

impl !Sync for Gpio4