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_manual_select

Function Documentation

int rc_spi_manual_select(int bus, int slave, int select)

Manually selects or deselects a slave.

Only works if slave was initialized with SPI_SLAVE_MODE_MANUAL. If SPI_SLAVE_MODE_AUTO was selected then the SPI driver will handle this automatically when reading or writing.

  • bus[in] SPI bus to use

  • slave[in] slave id

  • select[in] 0 to deselect, otherwise selects


0 on succcess or -1 on failure