My Project  v0.0.16
SI570Node.hpp
Go to the documentation of this file.
1 
9 #ifndef MP7_SI570NODE_HPP
10 #define MP7_SI570NODE_HPP
11 
12 #include "mp7/OpenCoresI2C.hpp"
13 #include "mp7/I2CMasterNode.hpp"
14 
15 namespace mp7 {
16 
17 class SI570Node : public OpenCoresI2C {
19 public:
20  SI570Node( const uhal::Node& aNode );
21  SI570Node( const uhal::Node& aNode, uint8_t aAddr );
22  virtual ~SI570Node();
23 
24  void configure(const std::string& aFilename) const;
25 
26 private:
27 
28 };
29 
30 
31 class SI570Slave : public opencores::I2CSlave {
32 public:
33  SI570Slave( const opencores::I2CBaseNode* aMaster, uint8_t aSlaveAddress );
34  virtual ~SI570Slave();
35 
36  void configure(const std::string& aFilename) const;
37 };
38 
39 
40 
41 class SI570Node2g : public opencores::I2CBaseNode, public SI570Slave {
42  UHAL_DERIVEDNODE( SI570Node2g );
43 public:
44  SI570Node2g( const uhal::Node& aNode );
45  SI570Node2g( const SI570Node2g& aOther );
46  virtual ~SI570Node2g();
47 
48 };
49 }
50 #endif /* MP7_SI570NODE_HPP */
51 
-test-ipbusaccess
Definition: AlignmentNode.hpp:15
SI570Node( const uhal::Node& aNode )
Definition: SI570Node.cpp:16
Brief description.
UHAL_DERIVEDNODE( SI570Node )
void configure(const std::string& aFilename) const
Definition: SI570Node.cpp:28
virtual ~SI570Node()
Definition: SI570Node.cpp:24