Struct eeprom24x::Eeprom24x[][src]

pub struct Eeprom24x<I2C, IC> { /* fields omitted */ }

EEPROM24X driver

Methods

impl<I2C, E, IC> Eeprom24x<I2C, IC> where
    I2C: Write<Error = E> + WriteRead<Error = E>, 
[src]

Common methods

Destroy driver instance, return I²C bus instance.

Write a single byte in an address.

After writing a byte, the EEPROM enters an internally-timed write cycle to the nonvolatile memory. During this time all inputs are disabled and the EEPROM will not respond until the write is complete.

Read a single byte from an address.

Read starting in an address as many bytes as necessary to fill the data array provided.

impl<I2C, E> Eeprom24x<I2C, IC24x32> where
    I2C: Write<Error = E> + WriteRead<Error = E>, 
[src]

Specialization for 24x32 devices (e.g. AT24C32)

Create a new instance of a 24x32 device (e.g. AT24C32)

Write up to a page starting in an address.

After writing a byte, the EEPROM enters an internally-timed write cycle to the nonvolatile memory. During this time all inputs are disabled and the EEPROM will not respond until the write is complete.

impl<I2C, E, IC> Eeprom24x<I2C, IC> where
    I2C: Read<Error = E>, 
[src]

Specialization for platforms which implement embedded_hal::blocking::i2c::Read

Read the contents of the last address accessed during the last read or write operation, incremented by one.

Note: This may not be available on your platform.

impl<I2C, E> Eeprom24x<I2C, IC24x64> where
    I2C: Write<Error = E> + WriteRead<Error = E>, 
[src]

Specialization for 24x64 devices (e.g. AT24C64)

Create a new instance of a 24x64 device (e.g. AT24C64)

Write up to a page starting in an address.

After writing a byte, the EEPROM enters an internally-timed write cycle to the nonvolatile memory. During this time all inputs are disabled and the EEPROM will not respond until the write is complete.

impl<I2C, E> Eeprom24x<I2C, IC24x128> where
    I2C: Write<Error = E> + WriteRead<Error = E>, 
[src]

Specialization for 24x128 devices (e.g. AT24C128)

Create a new instance of a 24x128 device (e.g. AT24C128)

Write up to a page starting in an address.

After writing a byte, the EEPROM enters an internally-timed write cycle to the nonvolatile memory. During this time all inputs are disabled and the EEPROM will not respond until the write is complete.

impl<I2C, E> Eeprom24x<I2C, IC24x256> where
    I2C: Write<Error = E> + WriteRead<Error = E>, 
[src]

Specialization for 24x256 devices (e.g. AT24C256)

Create a new instance of a 24x256 device (e.g. AT24C256)

Write up to a page starting in an address.

After writing a byte, the EEPROM enters an internally-timed write cycle to the nonvolatile memory. During this time all inputs are disabled and the EEPROM will not respond until the write is complete.

impl<I2C, E> Eeprom24x<I2C, IC24x512> where
    I2C: Write<Error = E> + WriteRead<Error = E>, 
[src]

Specialization for 24x512 devices (e.g. AT24C512)

Create a new instance of a 24x512 device (e.g. AT24C512)

Write up to a page starting in an address.

After writing a byte, the EEPROM enters an internally-timed write cycle to the nonvolatile memory. During this time all inputs are disabled and the EEPROM will not respond until the write is complete.

Trait Implementations

impl<I2C: Debug, IC: Debug> Debug for Eeprom24x<I2C, IC>
[src]

Formats the value using the given formatter. Read more

impl<I2C: Default, IC: Default> Default for Eeprom24x<I2C, IC>
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl<I2C, IC> Send for Eeprom24x<I2C, IC> where
    I2C: Send,
    IC: Send

impl<I2C, IC> Sync for Eeprom24x<I2C, IC> where
    I2C: Sync,
    IC: Sync