Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Data.SVD.Pretty
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
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 #