Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
serialTx :: forall n rate dom. (KnownNat n, KnownNat (ClockDivider dom (HzToPeriod rate)), HiddenClockResetEnable dom) => SNat rate -> Signal dom (Maybe (BitVector n)) -> (Signal dom Bit, Signal dom Bool) Source #
serialTxDyn :: (KnownNat n, HiddenClockResetEnable dom) => Signal dom Word32 -> Signal dom (Maybe (BitVector n)) -> (Signal dom Bit, Signal dom Bool) Source #
fifo :: forall a dom. (NFDataX a, HiddenClockResetEnable dom) => Signal dom (Maybe a) -> Signal dom Bool -> Signal dom (Maybe a) Source #
Instances
KnownNat n => Eq (TxState n) Source # | |
KnownNat n => Show (TxState n) Source # | |
Generic (TxState n) Source # | |
KnownNat n => NFDataX (TxState n) Source # | |
Defined in RetroClash.SerialTx deepErrorX :: String -> TxState n # hasUndefined :: TxState n -> Bool # ensureSpine :: TxState n -> TxState n # | |
type Rep (TxState n) Source # | |
Defined in RetroClash.SerialTx type Rep (TxState n) = D1 ('MetaData "TxState" "RetroClash.SerialTx" "retroclash-lib-0.1.2.1-3QYYIIVHJO83EmrUE6AW6v" 'False) (C1 ('MetaCons "TxIdle" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TxBit" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TxBit n)))) |
Instances
KnownNat n => Eq (TxBit n) Source # | |
KnownNat n => Show (TxBit n) Source # | |
Generic (TxBit n) Source # | |
KnownNat n => NFDataX (TxBit n) Source # | |
Defined in RetroClash.SerialTx deepErrorX :: String -> TxBit n # hasUndefined :: TxBit n -> Bool # ensureSpine :: TxBit n -> TxBit n # | |
type Rep (TxBit n) Source # | |
Defined in RetroClash.SerialTx type Rep (TxBit n) = D1 ('MetaData "TxBit" "RetroClash.SerialTx" "retroclash-lib-0.1.2.1-3QYYIIVHJO83EmrUE6AW6v" 'False) (C1 ('MetaCons "StartBit" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (BitVector n))) :+: (C1 ('MetaCons "DataBit" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (BitVector n)) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Index n))) :+: C1 ('MetaCons "StopBit" 'PrefixI 'False) (U1 :: Type -> Type))) |