{"id":19195229,"url":"https://github.com/quartiq/tca9539","last_synced_at":"2025-08-09T20:16:49.497Z","repository":{"id":177620878,"uuid":"660673007","full_name":"quartiq/tca9539","owner":"quartiq","description":"TCA9539/PCA9539 16-bit I/O expander with I2C interface","archived":false,"fork":false,"pushed_at":"2024-05-05T20:31:23.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T19:01:50.546Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quartiq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-30T14:51:00.000Z","updated_at":"2024-05-05T20:31:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"ffd69928-699e-45c4-9e3f-782c26dca236","html_url":"https://github.com/quartiq/tca9539","commit_stats":null,"previous_names":["quartiq/tca9539"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quartiq%2Ftca9539","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quartiq%2Ftca9539/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quartiq%2Ftca9539/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quartiq%2Ftca9539/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quartiq","download_url":"https://codeload.github.com/quartiq/tca9539/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240271526,"owners_count":19774859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T12:09:11.422Z","updated_at":"2025-02-23T04:38:43.205Z","avatar_url":"https://github.com/quartiq.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `tca9539`\n\nThis crate is a `no_std` driver for the\n[TCA9539](https://www.ti.com/product/TCA9539) and\n[PCA9539](https://www.nxp.com/docs/en/data-sheet/PCA9539_PCA9539R.pdf)\n16-Bit/8-Bit I2C I/O Expanders.\n\n[![Build Status](https://github.com/quartiq/tca9539/actions/workflows/ci.yml/badge.svg)](https://github.com/quartiq/tca9539/actions?query=workflow%3Aci)\n[![crates.io](https://img.shields.io/crates/v/tca9539.svg)](https://crates.io/crates/tca9539)\n[![Docs](https://docs.rs/tca9539/badge.svg)](https://docs.rs/tca9539)\n\n## Basic usage\n\nInclude this [library](https://crates.io/crates/tca9539) as a dependency in your `Cargo.toml`:\n\n```rust\n[dependencies]\ntca9539 = \"0.1\"\n```\n\nUse [embedded-hal](https://github.com/rust-embedded/embedded-hal) implementation to get I2C handle and then create chip handle:\n\n```rust\nuse tca9539::*;\n\nlet pin = Pin::P13;\nlet mut u = Tca9539\u003cI2C\u003e::default(i2c).unwrap();\nu.set_direction(pin, Direction::Output).unwrap();\nu.set_level(pin, Level::High).unwrap();\nassert!(u.gpio(pin).unwrap());\n```\n\n## Documentation\n\nAPI Docs available on [docs.rs](https://docs.rs/tca9539)\n\nMinimum supported Rust version (MSRV) is 1.62.0.\n\n## License\n\n[MIT license](http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquartiq%2Ftca9539","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquartiq%2Ftca9539","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquartiq%2Ftca9539/lists"}