RTEMS CPU Kit with SuperCore
Functions
termios_setbestbaud.c File Reference
#include <rtems/termiostypes.h>
Include dependency graph for termios_setbestbaud.c:

Functions

void rtems_termios_set_best_baud (struct termios *term, uint32_t baud)
 Sets the best baud value in the Termios control. More...
 

Function Documentation

◆ rtems_termios_set_best_baud()

void rtems_termios_set_best_baud ( struct termios term,
uint32_t  baud 
)

Sets the best baud value in the Termios control.

The valid Termios baud values are between 0 and 460800. The Termios baud value is chosen which minimizes the difference to the value specified.

Parameters
[in]termThe Termios attributes.
[in]baudThe current baud setting of the device.

References rtems_termios_baud_table.

Referenced by rtems_termios_device_lock_release().