getSPIfd method

int getSPIfd()

Returns the file descriptor (for the underlying spidev device) of the SPI handle.

Implementation

int getSPIfd() {
  _checkStatus();
  return _checkError(_nativeSPIfd(_spiHandle));
}