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_spi_get_fd

Function Documentation

int rc_spi_get_fd(int bus, int slave)

fetches the file descriptor for a specified slave so the user can do more advanced IO operations than what’s presented here

Parameters
  • bus[in] The bus

  • slave[in] 0 or 1

Returns

fd or -1 on failure