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_write

Function Documentation

int rc_uart_write(int bus, uint8_t *data, size_t bytes)

Sends data out the uart port.

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

  • data[in] data pointer

  • bytes[in] number of bytes to send

Returns

returns number of bytes sent or -1 on error