tca9555 0.1.0

Embedded-HAL driver crate for the TCA9555/TCA9535 16 port I/O expander.
Documentation
  • Coverage
  • 100%
    18 out of 18 items documented1 out of 15 items with examples
  • Size
  • Source code size: 8.35 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 248.83 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 7s Average build duration of successful builds.
  • all releases: 7s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • sciguy16/tca9555
    3 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • sciguy16

tca9555

Embedded-HAL driver crate for the TCA9555/TCA9535 16 port I/O expander.

This crate currently only implements byte-oriented operations - pin operations will be part of a future update.

Read operations have been tested. Write operations have been implemented but not tested.

Examples

There is an example application provided for the Raspberry Pi Pico, developed for the Pimoroni "PIM551" keypad module.

let mut tca = Tca9555::new(i2c, tca9555::DeviceAddr::default());
let inputs: u16 = tca.read_all().unwrap();

License

This crate is distributed under the terms of the Mozilla Public License Version 2.0.