.bits Property

Function:

Specifies the number of data bits in a word TXed/RXed by the serial port for the currently selected port (selection is made through ser.num)

Type:

Enum (pl_ser_bits, byte)

Value Range:

  • 0 — PL_SER_BB_7: data word TXed/RXed by the serial port is to contain 7 data bits
  • 1 — PL_SER_BB_8 (default): data word TXed/RXed by the serial port is to contain 8 data bits.

See Also:

UART Mode, Serial Settings


Details

This property is only relevant when the serial port is in the UART mode (ser.mode = 0 — PL_SER_MODE_UART).


.bits Property

Details