fsfw/hal/src/fsfw_hal/linux/i2c/I2cCookie.cpp

21 lines
449 B
C++
Raw Normal View History

2021-08-02 15:47:12 +02:00
#include "fsfw-hal/linux/i2c/I2cCookie.h"
2021-07-13 19:19:25 +02:00
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() {}