- data CommSpeed
- data StopBits
- data Parity
- data FlowControl
- data SerialPortSettings = SerialPortSettings {
- commSpeed :: CommSpeed
- bitsPerWord :: Word8
- stopb :: StopBits
- parity :: Parity
- flowControl :: FlowControl
- timeout :: Int
- data SerialPort = SerialPort {}
- defaultSerialSettings :: SerialPortSettings
Documentation
Supported baudrates
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