Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data BitDataReg d = BitDataReg {}
- bdrComment :: BitDataReg d -> String -> String -> Ivory eff ()
- mkBitDataReg :: IvoryIOReg (BitDataRep d) => Integer -> BitDataReg d
- mkBitDataRegNamed :: IvoryIOReg (BitDataRep d) => Integer -> String -> BitDataReg d
- getReg :: (BitData d, IvoryIOReg (BitDataRep d)) => BitDataReg d -> Ivory eff d
- setReg :: (BitData d, IvoryIOReg (BitDataRep d)) => BitDataReg d -> BitDataM d a -> Ivory eff a
- modifyReg :: (BitData d, IvoryIOReg (BitDataRep d)) => BitDataReg d -> BitDataM d a -> Ivory eff a
Documentation
bdrComment :: BitDataReg d -> String -> String -> Ivory eff () Source #
mkBitDataReg :: IvoryIOReg (BitDataRep d) => Integer -> BitDataReg d Source #
Create a bit data register given its address.
mkBitDataRegNamed :: IvoryIOReg (BitDataRep d) => Integer -> String -> BitDataReg d Source #
Create a bit data register given its address and name.
getReg :: (BitData d, IvoryIOReg (BitDataRep d)) => BitDataReg d -> Ivory eff d Source #
setReg :: (BitData d, IvoryIOReg (BitDataRep d)) => BitDataReg d -> BitDataM d a -> Ivory eff a Source #
Set a register to a value taken from a block of bit modifications. The previous value is discarded.
modifyReg :: (BitData d, IvoryIOReg (BitDataRep d)) => BitDataReg d -> BitDataM d a -> Ivory eff a Source #
Modify a register by a set of bit modification actions.