Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data VGASync dom = VGASync {}
- data VGADriver dom w h = VGADriver {}
- vgaDriver :: (HiddenClockResetEnable dom, KnownNat w, KnownNat h) => DomainPeriod dom ~ ps => VGATimings ps w h -> VGADriver dom w h
- data VGAOut dom r g b = VGAOut {}
- vgaOut :: (HiddenClockResetEnable dom, KnownNat r, KnownNat g, KnownNat b) => VGASync dom -> Signal dom (Unsigned r, Unsigned g, Unsigned b) -> VGAOut dom r g b
- data VGATiming (visible :: Nat) = forall front pulse back. VGATiming {}
- data VGATimings (ps :: Nat) (w :: Nat) (h :: Nat) = VGATimings {
- vgaHorizTiming :: VGATiming w
- vgaVertTiming :: VGATiming h
- vga640x480at60 :: VGATimings (HzToPeriod 25175000) 640 480
- vga800x600at60 :: VGATimings (HzToPeriod 40000000) 800 600
- vga800x600at72 :: VGATimings (HzToPeriod 50000000) 800 600
- vga1024x768at60 :: VGATimings (HzToPeriod 65000000) 1024 768
Documentation
vgaDriver :: (HiddenClockResetEnable dom, KnownNat w, KnownNat h) => DomainPeriod dom ~ ps => VGATimings ps w h -> VGADriver dom w h Source #
vgaOut :: (HiddenClockResetEnable dom, KnownNat r, KnownNat g, KnownNat b) => VGASync dom -> Signal dom (Unsigned r, Unsigned g, Unsigned b) -> VGAOut dom r g b Source #
data VGATimings (ps :: Nat) (w :: Nat) (h :: Nat) Source #
VGATimings | |
|
Instances
Show (VGATimings ps w h) Source # | |
Defined in RetroClash.VGA showsPrec :: Int -> VGATimings ps w h -> ShowS # show :: VGATimings ps w h -> String # showList :: [VGATimings ps w h] -> ShowS # |
vga640x480at60 :: VGATimings (HzToPeriod 25175000) 640 480 Source #
VGA 640*480@60Hz, 25.175 MHz pixel clock
vga800x600at60 :: VGATimings (HzToPeriod 40000000) 800 600 Source #
VGA 800x600@60Hz, 40 MHz pixel clock
vga800x600at72 :: VGATimings (HzToPeriod 50000000) 800 600 Source #
VGA 800x600@72Hz, 50 MHz pixel clock
vga1024x768at60 :: VGATimings (HzToPeriod 65000000) 1024 768 Source #
VGA 1024*768@60Hz, 65 MHz pixel clock