dm_tty_stop_bits_from_value Function

public function dm_tty_stop_bits_from_value(value, error) result(stop_bits)

Returns stop bits enumerator from numeric value. If the value is invalid, returns 0 by default and sets optional argument error to E_INVALID.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: value

Numeric byte size value.

integer, intent(out), optional :: error

Error code.

Return Value integer