Cat
SpecsSlave.h
Go to the documentation of this file.
1 //$Id: SpecsSlave.h,v 1.5 2006/04/06 17:11:17 fmachefe Exp $
2 //------------------------------------------------------------------------------
3 //
4 // Package : SpecsSlave
5 //
6 // Description:
7 //
8 // Author(s) : F. Machefert -
9 // Date : 12 February 2004
10 //
11 //------------------------------------------------------------------------------
12 
13 #ifndef __SPECSSLAVE_H_
14 #define __SPECSSLAVE_H_
15 
16 #include "SpecsInterface.h"
17 
18 class SpecsI2c;
19 class SpecsParallelBus;
20 
21 class SpecsSlave : public SpecsInterface {
22  private:
23 #ifndef _NODEVICE_
24  SPECSSLAVE specsSlave;
25 #endif
26 
27  protected:
29 
30  public:
31  SpecsSlave();
32  ~SpecsSlave();
33 
34  void addI2c(Hierarchy*);
35 
36  void setAddress(unsigned char);
37 
38 #ifndef _NODEVICE_
39  SPECSSLAVE* specsSlaveDevice();
40 #endif
41 
46  bool detect ();
47 
48  StatusCode init();
49 
51 
55  void resetInternal();
56 
60  void reset();
61 };
62 
63 #endif
void reset()
Definition: SpecsSlave.cpp:204
SpecsI2c * i2c
Definition: SpecsSlave.h:28
void recursiveInitCommunications()
Definition: SpecsSlave.cpp:163
SPECSSLAVE specsSlave
Definition: SpecsSlave.h:24
void resetInternal()
Definition: SpecsSlave.cpp:184
SPECSSLAVE * specsSlaveDevice()
Definition: SpecsSlave.cpp:61
void setAddress(unsigned char)
Definition: SpecsSlave.cpp:50
StatusCode init()
Definition: SpecsSlave.cpp:69
void addI2c(Hierarchy *)
Definition: SpecsSlave.cpp:175
bool detect()
Definition: SpecsSlave.cpp:119