SPI update, Version bump #22
@ -54,19 +54,7 @@ private:
|
|||||||
|
|
||||||
SpiDeviceMap spiDeviceMap;
|
SpiDeviceMap spiDeviceMap;
|
||||||
|
|
||||||
// /**
|
|
||||||
// * @brief This function opens an SPI device and binds the opened file
|
|
||||||
// * to a specific SPI address.
|
|
||||||
// * @param deviceFile The name of the device file. E.g. spi-0
|
|
||||||
// * @param i2cAddress The address of the SPI slave device.
|
|
||||||
// * @param fileDescriptor Pointer to device descriptor.
|
|
||||||
// * @return RETURN_OK if successful, otherwise RETURN_FAILED.
|
|
||||||
// */
|
|
||||||
// ReturnValue_t openDevice(std::string deviceFile, int* fileDescriptor, bool nonBlocking = false);
|
|
||||||
|
|
||||||
ReturnValue_t getReadBuffer(address_t spiAddress, uint8_t** buffer);
|
ReturnValue_t getReadBuffer(address_t spiAddress, uint8_t** buffer);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* LINUX_SPI_SPICOMIF_H_ */
|
#endif /* LINUX_SPI_SPICOMIF_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user