RTEMS  5.1
Functions

Convert Baud Part of Termios control flags to an integral Baud Value. More...

#include <rtems/termiostypes.h>

Functions

rtems_termios_baud_t rtems_termios_baud_to_number (speed_t spd)
 Converts the baud flags to an integral baud value. More...
 

Detailed Description

Convert Baud Part of Termios control flags to an integral Baud Value.

Function Documentation

◆ rtems_termios_baud_to_number()

rtems_termios_baud_t rtems_termios_baud_to_number ( speed_t  baud)

Converts the baud flags to an integral baud value.

Return values
0Invalid baud value or a baud value of B0.
otherIntegral baud value.