Ashet OS

struct: ashet.io.serial.SoftwareControlFlow

Fields

x_on: u32 = 17

The data word which will turn on the transmitter.

Note:

This is usually the ASCII DC1 character which is encoded as the value 0x11.

Lore:

Serial ports usually support 5 to 8 data bits, but some serial ports can also use much higher word sizes.

This is allows a future expansion to support word sizes up to 32 bits without breaking existing code.

x_off: u32 = 19

The data word which will turn off the transmitter.

Note:

This is usually the ASCII DC3 character which is encoded as the value 0x13.

Lore:

Serial ports usually support 5 to 8 data bits, but some serial ports can also use much higher word sizes.

This is allows a future expansion to support word sizes up to 32 bits without breaking existing code.