Function rc_spi_get_fd¶
Defined in File spi.h
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