{"id":26610548,"url":"https://github.com/oxplot/go-typec","last_synced_at":"2025-03-24T01:48:35.631Z","repository":{"id":56854750,"uuid":"520099327","full_name":"oxplot/go-typec","owner":"oxplot","description":"USB Type-C Libraries for Go","archived":false,"fork":false,"pushed_at":"2023-07-04T09:04:45.000Z","size":47,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-07-27T22:27:13.676Z","etag":null,"topics":["fusb302","power-delivery","usb-pd"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oxplot.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}},"created_at":"2022-08-01T12:23:11.000Z","updated_at":"2023-07-27T22:27:13.677Z","dependencies_parsed_at":"2022-09-21T13:01:04.278Z","dependency_job_id":null,"html_url":"https://github.com/oxplot/go-typec","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxplot%2Fgo-typec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxplot%2Fgo-typec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxplot%2Fgo-typec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oxplot%2Fgo-typec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oxplot","download_url":"https://codeload.github.com/oxplot/go-typec/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245195914,"owners_count":20575937,"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":["fusb302","power-delivery","usb-pd"],"created_at":"2025-03-24T01:48:35.248Z","updated_at":"2025-03-24T01:48:35.623Z","avatar_url":"https://github.com/oxplot.png","language":"Go","readme":"[![Go\nReference](https://pkg.go.dev/badge/github.com/oxplot/go-typec.svg)](https://pkg.go.dev/github.com/oxplot/go-typec)\n\n**USB Type-C Power Delivery Module for Go**\n\nAt the moment, only sink functionality is implemented. Sink refers to a\npower consumer. You can use the module to request specific voltage and\ncurrent from USB-C power source such as wall adapters, power banks and\nmore.\n\nGoals:\n\n - Easy to use, understand and modify.\n - Familiar to Go programmers.\n - Efficient resource utilization so it can run on microcontrollers and\n   in embedded environments.\n - Compatibility with various port controller hardware.\n\nNon-goals:\n\n - Following standard word for word.\n - Implementing all PD functionality.\n\nThere are examples in the [examples](./examples) directory to get you\nstarted.\n\n*Note that the timing requirements of PD messaging is rather strict. As\nsuch, in environments where communication latency is high, it may not be\npossible to implement a working program. For example, on a linux desktop\nusing the MCP2221 I2C bridge to communicate with FUSB302 PD port\ncontroller, each I2C transaction latency is too high (~10ms) for things\nto work. Your mileage may vary.*\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxplot%2Fgo-typec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foxplot%2Fgo-typec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxplot%2Fgo-typec/lists"}