An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : github.com/michalq/periph

Package periph is a peripheral I/O library. Package periph acts as a registry of drivers. It is focused on providing high quality host drivers that provide high-speed access to the hardware on the host computer itself. To learn more about the goals and design, visit https://periph.io/ Every device driver should register itself in its package init() function by calling periph.MustRegister(). User shall call either host.Init() or hostextra.Init() on startup to initialize all the registered drivers. cmd/ contains executable tools to communicate directly with the devices or the buses. cmd/ is allowed to import from conn/, devices/ and host/. conn/ contains interfaces and registries for all the supported protocols and connections (I²C, SPI, GPIO, etc). conn/ is not allowed to import from any other package. devices/ contains devices drivers that are connected to bus, port or connection (i.e I²C, SPI, 1-wire, GPIO) that can be controlled by the host, i.e. ssd1306 (display controller), bm280 (environmental sensor), etc. devices/ is allowed to import from conn/ and host/. experimental/ contains the drivers that are in the experimental area, not yet considered stable. See https://periph.io/project/#driver-lifetime-management for the process to move drivers out of this area. experimental/ is allowed to import from conn/, devices/ and host/. host/ contains all the implementations relating to the host itself, the CPU and buses that are exposed by the host onto which devices can be connected, i.e. I²C, SPI, GPIO, etc. host/ is allowed to import from conn/ only.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/michalq/periph
License: Apache-2.0
Latest release: over 5 years ago
First release: over 7 years ago
Namespace: github.com/michalq
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 28 days ago

    Loading...
    Readme
    Loading...