RTEMS: cpukit/libcsupport/src/termios_num2baud.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Functions
termios_num2baud.c File Reference
Internal » Standard C Library Support » RTEMS Termios Device Support

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.

## 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

  B0 | Invalid baud value or a baud value of 0.
  other | Baud constant according to baud.