i2c-bus: Typed I2C communication
Library for I2C communication with utilities for working with registers, etc.
Just import the module I2C, and you will typically get everything you need.
Features
Connections to chips on I2C buses.
An exception type
I2CErrA module I2C.Raw to perform direct write and read using
Storabletypes.A module I2C.Register to work with chips that use registers.
Types for binary serialization between host architecture and chip hardware.
Handy utilities through Template Haskell to define chips, registers and (sub)fields of registers.
Settings to control the code generation by Template Haskell.
An API specification for backend implementations. Currently, only a Linux backend is implemented.
[Skip to Readme]
Modules
[Index] [Quick Jump]
Downloads
- i2c-bus-0.1.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4.20 && <4.23), data-default (>=0.8 && <0.9), relude (>=1.2 && <1.3), template-haskell (>=2.22 && <2.25), unix (>=2.8 && <2.9) [details] |
| License | MIT |
| Copyright | karamellpelle@hotmail.com |
| Author | karamellpelle@hotmail.com |
| Maintainer | karamellpelle@hotmail.com |
| Uploaded | by unsafePerformIO at 2026-10-17T12:20:13Z |
| Revised | Revision 1 made by unsafePerformIO at 2026-10-17T13:06:01Z |
| Category | hardware, chip, i2c, raspberrypi |
| Home page | https://github.com/karamellpelle/i2c-bus |
| Bug tracker | https://github.com/karamellpelle/i2c-bus/issues |
| Source repo | head: git clone https://github.com/karamellpelle/i2c-bus |
| Distributions | |
| Downloads | 3 total (3 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user [build log] All reported builds failed as of 2026-10-17 [all 2 reports] |
