{"id":13423326,"url":"https://github.com/fmckeogh/usb-pd-rs","last_synced_at":"2025-03-04T00:53:41.195Z","repository":{"id":150308071,"uuid":"620937847","full_name":"fmckeogh/usb-pd-rs","owner":"fmckeogh","description":"USB-PD and associated hardware driver libraries in Rust","archived":false,"fork":false,"pushed_at":"2024-05-21T18:44:10.000Z","size":185,"stargazers_count":12,"open_issues_count":4,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-05-22T13:05:22.959Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/fmckeogh.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-03-29T17:03:35.000Z","updated_at":"2024-05-29T22:37:04.118Z","dependencies_parsed_at":"2024-01-11T19:17:48.436Z","dependency_job_id":"453d6703-d19a-42df-ac91-e9fe55557ab9","html_url":"https://github.com/fmckeogh/usb-pd-rs","commit_stats":{"total_commits":68,"total_committers":3,"mean_commits":"22.666666666666668","dds":0.05882352941176472,"last_synced_commit":"6a9d148e6cbe3bc9b8d3ff9710fc518792841615"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmckeogh%2Fusb-pd-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmckeogh%2Fusb-pd-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmckeogh%2Fusb-pd-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmckeogh%2Fusb-pd-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fmckeogh","download_url":"https://codeload.github.com/fmckeogh/usb-pd-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241763724,"owners_count":20016162,"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-07-31T00:00:30.932Z","updated_at":"2025-03-04T00:53:41.189Z","avatar_url":"https://github.com/fmckeogh.png","language":"Rust","funding_links":[],"categories":["no-std crates"],"sub_categories":["WIP"],"readme":"# usb-pd-rs\n\n## *Archived*: use https://github.com/elagil/usbpd instead:)\n\n[![CI](https://github.com/fmckeogh/usb-pd-rs/actions/workflows/ci.yml/badge.svg)](https://github.com/fmckeogh/usb-pd-rs/actions/workflows/ci.yml)\n[![usb_pd docs](https://img.shields.io/badge/docs(HEAD)-usb_pd-blue)](https://fmckeogh.github.io/usb-pd-rs/usb_pd/)\n![usb-pd](https://img.shields.io/crates/v/usb-pd.svg)\n[![fusb302b docs](https://img.shields.io/badge/docs(HEAD)-fusb302b-blue)](https://fmckeogh.github.io/usb-pd-rs/fusb302b/)\n![fusb302b](https://img.shields.io/crates/v/fusb302b.svg)\n\nRust USB-PD library, driver for the FUSB302B, and firmware for the ZY12PDN USB-PD trigger board (ported from [manuelbl/zy12pdn-oss](https://github.com/manuelbl/zy12pdn-oss)).\n\n## Structure\n\nThe `usb-pd` library implements the USB-PD logic. A `Source` or `Sink` have corresponding `Driver` traits which are implemented by USB hardware drivers, such as `fusb302b`.\n\n## Usage\n\n```\n$ DEFMT_LOG=trace DEFMT_RTT_BUFFER_SIZE=128 cargo r -r\n```\n\nThe MCU on the ZY12PDN board has limited flash so it will not fit without the release profile and a reduced RTT buffer size of 128 bytes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmckeogh%2Fusb-pd-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffmckeogh%2Fusb-pd-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmckeogh%2Fusb-pd-rs/lists"}