This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_uart_get_fd

Function Documentation

int rc_uart_get_fd(int bus)

Fetches the file descriptor to a uart bus after the bus has been initialized.

This is so the user can optionally do additional configuration or IO operations on the bus.


bus[in] The bus number /dev/ttyO{bus}


the file descriptor to /dev/ttyO{bus} or -1 on error