hpio-0.9.0.6: Monads for GPIO in Haskell
This package provides an embedded DSL for writing cross-platform
GPIO programs in Haskell. Currently only Linux is supported (via the
sysfs
filesystem), but other Unix GPIO platforms will be supported
in the future.
Monads and low-level actions are also provided for each supported platform's native GPIO API, if you want to program directly to the platform API.
Example programs are provided in the examples
directory of the
source code distribution. There is also a System.GPIO.Tutorial
module, which explains how to use the cross-platform DSL.
Signatures
Modules
- System
- System.GPIO Top-level re-exports for writing GPIO programs
- System.GPIO.Linux Linux GPIO
- System.GPIO.Linux.Sysfs GPIO in Linux via the
sysfs
filesystem- System.GPIO.Linux.Sysfs.IO Linux
sysfs
GPIO operations in IO - System.GPIO.Linux.Sysfs.Mock A mock MonadSysfs instance.
- System.GPIO.Linux.Sysfs.Mock.Internal Functions used by the mock MonadSysfs instance.
- System.GPIO.Linux.Sysfs.Monad Monads for Linux
sysfs
GPIO operations - System.GPIO.Linux.Sysfs.Types Types for Linux
sysfs
GPIO - System.GPIO.Linux.Sysfs.Util Useful low-level Linux
sysfs
functions
- System.GPIO.Linux.Sysfs.IO Linux
- System.GPIO.Linux.Sysfs GPIO in Linux via the
- System.GPIO.Monad A monad for GPIO computations
- System.GPIO.Tutorial
- System.GPIO.Types Basic GPIO types
- System.GPIO.Linux Linux GPIO
- System.GPIO Top-level re-exports for writing GPIO programs