Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Network.SLCAN.Types
Documentation
data SLCANMessage Source #
Constructors
SLCANMessage_Control SLCANControl | |
SLCANMessage_Data CANMessage | |
SLCANMessage_State SLCANState SLCANCounters | |
SLCANMessage_Error (Set SLCANError) |
Instances
Arbitrary SLCANMessage Source # | |
Defined in Network.SLCAN.Types | |
Show SLCANMessage Source # | |
Defined in Network.SLCAN.Types Methods showsPrec :: Int -> SLCANMessage -> ShowS # show :: SLCANMessage -> String # showList :: [SLCANMessage] -> ShowS # | |
Eq SLCANMessage Source # | |
Defined in Network.SLCAN.Types | |
Ord SLCANMessage Source # | |
Defined in Network.SLCAN.Types Methods compare :: SLCANMessage -> SLCANMessage -> Ordering # (<) :: SLCANMessage -> SLCANMessage -> Bool # (<=) :: SLCANMessage -> SLCANMessage -> Bool # (>) :: SLCANMessage -> SLCANMessage -> Bool # (>=) :: SLCANMessage -> SLCANMessage -> Bool # max :: SLCANMessage -> SLCANMessage -> SLCANMessage # min :: SLCANMessage -> SLCANMessage -> SLCANMessage # |
data SLCANControl Source #
Constructors
SLCANControl_Open | |
SLCANControl_Close | |
SLCANControl_Bitrate SLCANBitrate | |
SLCANControl_ResetErrors | |
SLCANControl_ListenOnly |
Instances
Arbitrary SLCANControl Source # | |
Defined in Network.SLCAN.Types | |
Show SLCANControl Source # | |
Defined in Network.SLCAN.Types Methods showsPrec :: Int -> SLCANControl -> ShowS # show :: SLCANControl -> String # showList :: [SLCANControl] -> ShowS # | |
Eq SLCANControl Source # | |
Defined in Network.SLCAN.Types | |
Ord SLCANControl Source # | |
Defined in Network.SLCAN.Types Methods compare :: SLCANControl -> SLCANControl -> Ordering # (<) :: SLCANControl -> SLCANControl -> Bool # (<=) :: SLCANControl -> SLCANControl -> Bool # (>) :: SLCANControl -> SLCANControl -> Bool # (>=) :: SLCANControl -> SLCANControl -> Bool # max :: SLCANControl -> SLCANControl -> SLCANControl # min :: SLCANControl -> SLCANControl -> SLCANControl # |
data SLCANBitrate Source #
Constructors
SLCANBitrate_10K | |
SLCANBitrate_20K | |
SLCANBitrate_50K | |
SLCANBitrate_100K | |
SLCANBitrate_125K | |
SLCANBitrate_250K | |
SLCANBitrate_500K | |
SLCANBitrate_800K | |
SLCANBitrate_1M |
Instances
numericBitrate :: SLCANBitrate -> Int Source #
data SLCANState Source #
Instances
data SLCANCounters Source #
Constructors
SLCANCounters | |
Fields |
Instances
Arbitrary SLCANCounters Source # | |
Defined in Network.SLCAN.Types | |
Show SLCANCounters Source # | |
Defined in Network.SLCAN.Types Methods showsPrec :: Int -> SLCANCounters -> ShowS # show :: SLCANCounters -> String # showList :: [SLCANCounters] -> ShowS # | |
Eq SLCANCounters Source # | |
Defined in Network.SLCAN.Types Methods (==) :: SLCANCounters -> SLCANCounters -> Bool # (/=) :: SLCANCounters -> SLCANCounters -> Bool # | |
Ord SLCANCounters Source # | |
Defined in Network.SLCAN.Types Methods compare :: SLCANCounters -> SLCANCounters -> Ordering # (<) :: SLCANCounters -> SLCANCounters -> Bool # (<=) :: SLCANCounters -> SLCANCounters -> Bool # (>) :: SLCANCounters -> SLCANCounters -> Bool # (>=) :: SLCANCounters -> SLCANCounters -> Bool # max :: SLCANCounters -> SLCANCounters -> SLCANCounters # min :: SLCANCounters -> SLCANCounters -> SLCANCounters # |
data SLCANError Source #
Constructors
SLCANError_Ack | |
SLCANError_Bit0 | |
SLCANError_Bit1 | |
SLCANError_CRC | |
SLCANError_Form | |
SLCANError_RxOverrun | |
SLCANError_TxOverrun | |
SLCANError_Stuff |
Instances
data SLCANConfig Source #
Constructors
SLCANConfig | |
Instances
Show SLCANConfig Source # | |
Defined in Network.SLCAN.Types Methods showsPrec :: Int -> SLCANConfig -> ShowS # show :: SLCANConfig -> String # showList :: [SLCANConfig] -> ShowS # | |
Default SLCANConfig Source # | |
Defined in Network.SLCAN.Types Methods def :: SLCANConfig # | |
Eq SLCANConfig Source # | |
Defined in Network.SLCAN.Types | |
Ord SLCANConfig Source # | |
Defined in Network.SLCAN.Types Methods compare :: SLCANConfig -> SLCANConfig -> Ordering # (<) :: SLCANConfig -> SLCANConfig -> Bool # (<=) :: SLCANConfig -> SLCANConfig -> Bool # (>) :: SLCANConfig -> SLCANConfig -> Bool # (>=) :: SLCANConfig -> SLCANConfig -> Bool # max :: SLCANConfig -> SLCANConfig -> SLCANConfig # min :: SLCANConfig -> SLCANConfig -> SLCANConfig # |