eive-obsw/bsp_q7s/comIF/cookies/I2cCookie.cpp
2021-01-08 09:34:43 +01:00

22 lines
457 B
C++

#include <bsp_q7s/comIF/cookies/I2cCookie.h>
I2cCookie::I2cCookie(address_t i2cAddress_, size_t maxReplyLen_,
std::string deviceFile_) :
i2cAddress(i2cAddress_), maxReplyLen(maxReplyLen_), deviceFile(
deviceFile_) {
}
address_t I2cCookie::getAddress() const {
return i2cAddress;
}
size_t I2cCookie::getMaxReplyLen() const {
return maxReplyLen;
}
std::string I2cCookie::getDeviceFile() const {
return deviceFile;
}
I2cCookie::~I2cCookie() {}