Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- ppList :: (a -> Doc AnsiStyle) -> [a] -> Doc AnsiStyle
- displayPretty :: Doc AnsiStyle -> String
- displayCompact :: Doc AnsiStyle -> String
- displayDevice :: Device -> String
- displayDeviceInfo :: Device -> String
- displayPeripheral :: Peripheral -> String
- displayRegister :: Register -> String
- displayMemMap :: [(String, String)] -> String
- displayMemMapCompact :: [(String, String)] -> String
- displayDevISR :: Device -> String
- displayISRs :: [Interrupt] -> String
- ppDevice :: Device -> Doc AnsiStyle
- ppPeriph :: Peripheral -> Doc AnsiStyle
- ppReg :: Register -> Doc AnsiStyle
- ppHex :: Int -> Doc AnsiStyle
- ppDevISR :: Device -> Doc AnsiStyle
- ppISR :: Interrupt -> Doc AnsiStyle
- ppDeviceInfo :: Device -> Doc AnsiStyle
- ppPeriphName :: Peripheral -> Doc AnsiStyle
- shortField :: Field -> String
- ppMem :: (String, String) -> Doc AnsiStyle
- printSetFields :: (Show a, Eq a, Num a) => [(a, Field)] -> String
- printSetField :: (Show a, Eq a, Num a) => (a, Field) -> String
- showField :: Field -> String
- fieldRange :: Field -> String
- hexFieldVal :: (Integral x, Show x) => Field -> x -> String
Helpers
Shorthand
displayDevice :: Device -> String Source #
displayDeviceInfo :: Device -> String Source #
displayPeripheral :: Peripheral -> String Source #
displayRegister :: Register -> String Source #
displayDevISR :: Device -> String Source #
displayISRs :: [Interrupt] -> String Source #
Pretty printers
Interrupts
Terse output
ppPeriphName :: Peripheral -> Doc AnsiStyle Source #
shortField :: Field -> String Source #
MemMap
Who knows
printSetFields :: (Show a, Eq a, Num a) => [(a, Field)] -> String Source #
Print currently set (non-zero) fields
fieldRange :: Field -> String Source #
Datasheeeet like
hexFieldVal :: (Integral x, Show x) => Field -> x -> String Source #
Format field value in hex, padded according to fieldBitWidth