Struct nvapi::I2c [] [src]

pub struct I2c<G = PhysicalGpu> { /* fields omitted */ }

Methods

impl<G> I2c<G>
[src]

[src]

[src]

[src]

[src]

[src]

impl<G: Borrow<PhysicalGpu>> I2c<G>
[src]

[src]

[src]

Trait Implementations

impl<G> Master for I2c<G>
[src]

The error type returned by I2C operations.

impl<G> Address for I2c<G>
[src]

[src]

Sets the current slave to address. Read more

impl<G: Borrow<PhysicalGpu>> ReadWrite for I2c<G>
[src]

[src]

Initiate an isolated read transfer on the I2C bus, followed by a STOP.

[src]

Initiate an isolated write transfer on the I2C bus, followed by a STOP.

impl<G: Borrow<PhysicalGpu>> Smbus for I2c<G>
[src]

[src]

Sends a single bit to the device, in the place of the rd/wr address bit.

[src]

Reads a single byte from a device without specifying a register.

[src]

Sends a single byte to the device

[src]

Reads a byte from the designated register.

[src]

Writes a byte to the designated register.

[src]

Reads a 16-bit word from the designated register.

[src]

Writes a 16-bit word to the designated register.

[src]

Writes a 16-bit word to the specified register, then reads a 16-bit word in response. Read more

[src]

Reads up to 32 bytes from the designated device register. Read more

[src]

Writes up to 32 bytes to the designated device register.

impl<G: Borrow<PhysicalGpu>> BlockTransfer for I2c<G>
[src]

[src]

Reads a block of bytes from the designated device register. Read more

[src]

Writes a block of bytes to the designated device register. Read more