Function rc_spi_close

Function Documentation

int rc_spi_close(int bus)

Closes and cleans up the bus for specified slave.

Parameters:

bus[in] SPI bus to close

Returns:

0 on succcess or -1 on failure