Releases: rust-embedded/embedded-hal
Releases · rust-embedded/embedded-hal
embedded-hal-async release 0.2.0-alpha.2
Added
- spi: added
Operation::DelayUs(u32)
.
Changed
- Updated
embedded-hal
to version1.0.0-alpha.11
. - spi: removed redundant lifetime annotations. Note that recent nightlies care about them and require impls to match, so you might have to adjust them.
Removed
- spi: removed read-only and write-only traits.
Release 1.0.0-alpha.10
*** This is (also) an alpha release with breaking changes (sorry) ***
Added
- Added
pwm::SetDutyCycle
trait.
Changed
- gpio: add
ErrorKind
enum for consistency with other traits and for future extensibility. No kinds are defined for now. - delay: make infallible.
- i2c: remove
_iter()
methods. - i2c: add default implementations for all methods based on
transaction()
. - i2c: document guidelines for shared bus usage.
- spi: SpiDevice transaction now takes an operation slice instead of a closure.
embedded-hal-nb release 1.0.0-alpha.2
Changed
- Updated
embedded-hal
to version1.0.0-alpha.10
.
embedded-hal-bus release 0.1.0-alpha.2
Changed
- Updated
embedded-hal
to version1.0.0-alpha.10
.
Added
- i2c: add bus sharing implementations.
- spi: add bus sharing implementations.
embedded-hal-async release 0.2.0-alpha.1
Added
- Added a
serial::Write
trait.
Changed
- Updated
embedded-hal
to version1.0.0-alpha.10
. - delay: make infallible.
- i2c: remove
_iter()
methods. - i2c: add default implementations for all methods based on
transaction()
. - spi: SpiDevice transaction now takes an operation slice instead of a closure
embedded-hal-async release 0.2.0-alpha.0
- Switch all traits to use
async_fn_in_trait
(AFIT). Requiresnightly-2022-11-22
or newer.
embedded-hal-async release 0.1.0-alpha.3
- Fix build on newer Rust nightlies.
Release 1.0.0-alpha.9
*** This is (also) an alpha release with breaking changes (sorry) ***
Changed
- The
embedded-hal
crate now contains blocking traits only. Import paths no longer contain::blocking
.
Added
- Implement
PartialOrd
,Ord
,Hash
forcan::StandardId
,can::ExtendedId
andcan::Id
according to CAN bus arbitration rules - Implement
Eq
fori2c::Operaiton
- Implement
PartialOrd
,Ord
,Hash
forcan::StandardId
,can::ExtendedId
andcan::Id
according to CAN bus arbitration rules.
Fixed
- Fixed documentation for
wait_for_rising_edge
.
Removed
digital::blocking::IoPin
traits. See: #340, #397.nb
traits are now available in a separateembedded-hal-nb
crate.spi::blocking::ExclusiveDevice
andspi::blocking::ExclusiveDeviceError
. These have been moved to a separateembedded-hal-bus
crate.- Moved CAN traits to a separate
embedded-can
crate.
embedded-hal-nb release 1.0.0-alpha.1
Changed
- Updated
embedded-hal
to version1.0.0-alpha.9
.
embedded-hal-bus release 0.1.0-alpha.1
Changed
- Updated
embedded-hal
to version1.0.0-alpha.9
.