Struct pwr_hd44780::buses::i2c::I2C [] [src]

pub struct I2C { /* fields omitted */ }

Methods

impl I2C
[src]

[src]

Constructs a new HD44780 I2C bus.

Trait Implementations

impl Bus for I2C
[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 I2C

impl Sync for I2C