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

13 lines
445 B
C++
Raw Normal View History

2021-08-02 20:58:56 +02:00
#include "fsfw_hal/linux/i2c/I2cCookie.h"
2021-07-13 19:19:25 +02:00
2022-02-02 10:29:30 +01:00
I2cCookie::I2cCookie(address_t i2cAddress_, size_t maxReplyLen_, std::string deviceFile_)
: i2cAddress(i2cAddress_), maxReplyLen(maxReplyLen_), deviceFile(deviceFile_) {}
2021-07-13 19:19:25 +02:00
2022-02-02 10:29:30 +01:00
address_t I2cCookie::getAddress() const { return i2cAddress; }
2021-07-13 19:19:25 +02:00
2022-02-02 10:29:30 +01:00
size_t I2cCookie::getMaxReplyLen() const { return maxReplyLen; }
2021-07-13 19:19:25 +02:00
2022-02-02 10:29:30 +01:00
std::string I2cCookie::getDeviceFile() const { return deviceFile; }
2021-07-13 19:19:25 +02:00
I2cCookie::~I2cCookie() {}