git-svn-id: svn://db.shs.com.ru/pip@585 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2017-12-22 10:41:52 +00:00
parent 8fc0da9fc4
commit 50be539140
2 changed files with 30 additions and 1 deletions

View File

@@ -42,6 +42,11 @@ protected:
int readDevice(void * read_to, int max_size);
int writeDevice(const void * data, int max_size);
PIString fullPathPrefix() const {return PIStringAscii("spi");}
PIString constructFullPathDevice() const;
void configureFromFullPathDevice(const PIString & full_path);
DeviceInfoFlags deviceInfoFlags() const {return PIIODevice::Sequential;}
private:
uint spi_speed;
uchar spi_mode;