DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
LM75Node.hpp
Go to the documentation of this file.
1
11#ifndef TIMING_INCLUDE_TIMING_LM75NODE_HPP_
12#define TIMING_INCLUDE_TIMING_LM75NODE_HPP_
13
15#include "timing/I2CSlave.hpp"
16
17#include "logging/Logging.hpp" // NOTE: if ISSUES ARE DECLARED BEFORE include logging/Logging.hpp, TLOG_DEBUG<<issue wont work.
18
19#include <map>
20#include <string>
21#include <vector>
22
23namespace dunedaq {
24namespace timing {
25
26class LM75Node : public I2CSlave
27{
28public:
29 LM75Node(const I2CMasterNode* i2c_master, uint8_t i2c_device_address); // NOLINT(build/unsigned)
30 virtual ~LM75Node();
31
36 float read_temperature() const; // NOLINT(build/unsigned)
37};
38
39} // namespace timing
40} // namespace dunedaq
41
42#endif // TIMING_INCLUDE_TIMING_LM75NODE_HPP_
float read_temperature() const
Read temperature [C].
Definition LM75Node.cpp:34
LM75Node(const I2CMasterNode *i2c_master, uint8_t i2c_device_address)
Definition LM75Node.cpp:23
The DUNE-DAQ namespace.
Definition DataStore.hpp:57