RTEMS  5.0.0
Functions
termios_num2baud.c File Reference

Converts the Integral Baud to Termios Control Flag Representation. More...

#include <rtems/termiostypes.h>

Functions

tcflag_t rtems_termios_number_to_baud (rtems_termios_baud_t baud)
 Converts the Integral Baud value baud to the Termios Control Flag Representation. More...
 

Detailed Description

Converts the Integral Baud to Termios Control Flag Representation.

Function Documentation

◆ rtems_termios_number_to_baud()

tcflag_t rtems_termios_number_to_baud ( rtems_termios_baud_t  baud)

Converts the Integral Baud value baud to the Termios Control Flag Representation.

Return values
B0Invalid baud value or a baud value of 0.
otherBaud constant according to baud.