Releases: TeyKey1/pca9535
Releases · TeyKey1/pca9535
v2.0.0
Breaking changes!
- Updated to embedded-hal v1.0
- Added
destroy()
functions to expander impls which allows driver users to retrieve the I2C bus and interrupt pin - Fixed some documentation examples + typos
Migration
As a general migration guideline to embedded-hal v1 consult the migration guide
For users of PCA9535 most things should work out of the box. Only change required is that due to the InputPin
trait now taking &mut self
you need to modify the interrupt pin provided to the cached expander struct to be mutable.
In cases you have previously used shared-bus for I2C bus sharing it is now recommended to switch to embedded-hal-bus instead.
v1.2.0
1.2.0
Breaking changes!
- Updated to embedded hal 1.0.0-alpha.9 (@MajorArkwolf)
- Removed IOPin (currently not supported in embedded hal 1.0.0-alpha.9, will be readded once it is supported again) (@MajorArkwolf)
Thanks to @MajorArkwolf :)
v1.1.0
v1.0.0
Breaking changes!
- Refactored error types and generics. The whole error handling is now simpler and should make more sense in general, as underlying embedded-hal errors are directly passed to the
ExpanderError
enum. Due to those changes certain types need an additional generic for I2C interface. Generics have been refactored as well so some generics are not on the same position like they used to be. Migrating to 1.0 should be relatively simple by adding those missing generics or rearranging them. - Added
std::error::Error
trait implementation forExapnderError
. This is automatically enabled by using the cratesstd
feature. The change should allow for easier error handling with existing std solutions and libraries. - Updated crate to rust 2021 edition
v0.1.0
- moved the special implementation of writes to any polarity register to the Expander Trait implementation instead of overwriting StandardExpanderInterface Trait functions
- Bumped version from 0.0.1 to 0.1.0 to comply with Rust/Semver recommendations. This update does not break the API!
Initial release
v0.0.1 added gitignore for .cargo directory