RTEMS CPU Kit with SuperCore
Functions
termios_num2baud.c File Reference

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

#include <rtems/termiostypes.h>
Include dependency graph for termios_num2baud.c:

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.

Referenced by rtems_termios_set_initial_baud().