Ivan's Blog
项目实践

tca6424-rs

Rust no_std embedded-hal driver for TI TCA6424 I/O expander, supporting async and sync features. Evidence: Cargo.toml, src/.

  • embedded-hal driver
  • I2C

目录

技术栈

运行与交付

CI 工作流
  • build.yml
  • release.yml
能力标记
  • cargo_toml
  • github_actions
JSON

Basics

Rust no_std embedded-hal driver for TI TCA6424 I/O expander, supporting async and sync features. Evidence: Cargo.toml, src/.

Taxonomy

  • Tags: embedded-hal driver, I2C

Architecture

  • Small library crate with feature-based async integration. Evidence: Cargo.toml, src/lib.rs.
  • Designed to compose into larger board-support/firmware repos. Evidence: Cargo.toml.

Conventions

  • no_std + embedded driver metadata. Evidence: Cargo.toml.
  • Testing commonly uses embedded-hal mocks. Evidence: Cargo.toml (dev-dependencies), tests/.

Taste notes

IO expanders are “glue chips”; having a straightforward, mock-testable driver crate makes board bring-up much faster.