const classstuds::UartConfig

sys::Obj
  studs::UartConfig

UartConfig models configuration for a Uart port.

data

const Int data := 8

Number of data bits to use (5..8)

flow

const Str flow := "none"

Flow control mode: none, hw, or sw

make

new make(|This f)

It-block constructor.

parity

const Str parity := "none"

Parity mode: none, even, odd

speed

const Int speed := 9600

Baud rate (ex: 9600, 38400, 115200)

stop

const Int stop := 1

Number of stop bits to use (1.2)