- fromBaudToInt :: BaudRate -> Int
- fromIntToBaud :: Int -> BaudRate
- data StopBits
- data Parity
- data FlowControl
- data SerialPortSettings = SerialPortSettings {
- baudRate :: BaudRate
- bitsPerWord :: Word8
- stopb :: StopBits
- parity :: Parity
- flowControl :: FlowControl
- timeout :: Int
- data SerialPort = SerialPort {}
- defaultSerialSettings :: SerialPortSettings
Documentation
fromBaudToInt :: BaudRate -> IntSource
fromIntToBaud :: Int -> BaudRateSource
data SerialPortSettings Source
SerialPortSettings | |
|
data SerialPort Source
defaultSerialSettings :: SerialPortSettingsSource
Most commonly used configuration
- 9600 baud
- 8 data bits
- 1 stop bit
- no parity
- no flow control
- 0.1 millisecond receive timeout