Abstraction for I²C port-expanders
APACHE-2.0 License
PCA9554
and PCA9554A
(#36 by @jacobzlogar).Published by Rahix 4 months ago
embedded_hal::{InputPin, OutputPin}
implementations due to a superfluous trait bound. This fix was backported from 0.6.2.Published by Rahix 4 months ago
embedded_hal::{InputPin, OutputPin}
implementations due to a superfluous trait bound (#35). This was a regression in 0.5.0 (Reported by @tomried).Published by Rahix 6 months ago
MCP23017
and MCP23S17
(#31 by @markus-k).Published by Rahix 6 months ago
MCP23017
(I2C variant) and MCP23S17
(SPI variant) (#27 by @markus-k).embedded-hal
digital I/O trait implementations being unusable due to usage of an incompatible error type (#30 by @markus-k).Pin
methods now return a custom error type which wraps the bus error instead of returning the bus error directly (#30 by @markus-k).Published by Rahix 8 months ago
PI4IOE5V6408
(#17 by @t-moe).pin.access_port_driver()
) and the register mask for the pin (pin.pin_mask()
) (#23 by @t-moe).Published by Rahix 10 months ago
Published by Rahix about 1 year ago
shared-bus
0.3.Published by Rahix about 1 year ago
Published by Rahix over 2 years ago
PCF8575
(#1 by @eivindbergem).PCA9538
.into_output_high()
for totem-pole output drivers. In contrast to into_output()
this will immediately put the pin into a HIGH state, thus preventing a short glitch between setting direction and pin value (#3).into_output()
for totem-pole output drivers now puts the pin into a LOW state without a glitch. Previously, it would leave the pin in whatever state it was last in (= most often the HIGH state) (#3).read_multiple()
and write_multiple()
not ensuring that all passed pins actually belong to the same port-expander chip (#4).Published by Rahix over 2 years ago
write_multiple()
and read_multiple()
functions to set/get multiple pin-states in a single bus transaction.PortDriver
trait was redesigned to better fit its requirements.Published by Rahix over 3 years ago
Pin::set_high()
, Pin::set_low()
, and Pin::toggle()
now take &mut self
.Published by Rahix over 3 years ago