Platform agnostic Rust driver for 24x series serial EEPROM devices using embedded-hal
APACHE-2.0 License
Debug
derive to markers.Published by eldruin 9 months ago
embedded-storage
interface toembedded-hal
DelayNs
trait instead of the old CountDown
embedded-hal
to version 1.0embedded-storage
to version 0.3.1Published by eldruin 10 months ago
read_unique_serial
for 24CSx devices.Published by eldruin over 1 year ago
Eeprom24xTrait
providing the device interface.embedded-storage
dependency to version 0.3.nb
dependency to version 1.1.Published by eldruin almost 3 years ago
embedded_storage::ReadStorage
and embedded_storage::Storage
traits.Published by eldruin about 3 years ago
PartialEq
implementation for SlaveAddr
.Default
derive for Eeprom24x
.Published by eldruin almost 6 years ago
u32
.eeprom.read_byte([0x12, 0x34])
now becomes: eeprom.read_byte(0x1234)
.24x04
, 24x08
, 24x16
, 24xM01
, 24xM02
.Published by eldruin almost 6 years ago
24x04
, 24x08
, 24x16
, 24xM01
, 24xM02
as0.3.0
to use them.Published by eldruin almost 6 years ago
[breaking-change] The addresses are now passed to the methods per value for
efficiency reasons. i.e. address: &[u8; 2]
has now become address: [u8; 2]
in all methods. User code should be easy to adapt:
eeprom.read_byte(&[0x12, 0x34])
now becomes: eeprom.read_byte([0x12, 0x34])
.
[breaking-change] Changed type of parameter of the Eeprom24x
struct. Now it
is a marker type for the page size instead of the device name.
Published by eldruin almost 6 years ago
SlaveAddr::Default
.Published by eldruin almost 6 years ago
This is the initial release to crates.io of the feature-complete driver. There
may be some API changes in the future, in case I decide that something can be
further improved. All changes will be documented in this CHANGELOG.