bus-pirate-0.6.2: Haskell interface to the Bus Pirate binary interface

Safe HaskellNone
LanguageHaskell2010

System.Hardware.BusPirate

Contents

Synopsis

General

runBusPirate :: FilePath -> BusPirateM a -> IO (Either String a) Source

Open a Bus Pirate device and run the given action

I2C mode

runI2c :: FilePath -> I2cM a -> IO (Either String a) Source

Convenient way to run an I2C action

SPI mode

runSpi :: FilePath -> SpiM a -> IO (Either String a) Source

Convenient way to run an I2C action