Hubo Library

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
CSC5262.h
Go to the documentation of this file.
1 #ifndef CSC5262_H_
2 #define CSC5262_H_
3
4
5 class CSC5262
6 {
7
8 public:
9 CSC5262 (int pulseLength, int pin);
10 virtual ~CSC5262 ();
11 bool SwitchSocket (unsigned char SystemCode, unsigned char Receiver, bool bTurnOn, int repeatedSuccess, int totalTransmittion);
12 bool Switch (unsigned char SystemCode, unsigned char Receiver, bool bTurnOn);
13
14 protected:
15 enum TriSTateBit
16 {
17 Zero = 0,
18 One,
19 Floating,
20 Sync
21 };
22
23 //bool Switch (unsigned char SystemCode, unsigned char Receiver, bool bTurnOn);
24 void SendLogicalBit (unsigned short bit);
25 void SendPysicalBit (TriSTateBit bit);
26 void SendCommand (bool bTurnOn);
27 void SendSync ();
28
29 int m_PulseLength;
30 int m_Pin;
31
32 };
33
34 #endif /* CSC5262_H_ */
CSC5262::One
Definition: CSC5262.h:18
CSC5262::Sync
Definition: CSC5262.h:20
CSC5262::Floating
Definition: CSC5262.h:19
CSC5262
Definition: CSC5262.h:5
CSC5262::~CSC5262
virtual ~CSC5262()
Definition: CSC5262.cpp:22
CSC5262::SendLogicalBit
void SendLogicalBit(unsigned short bit)
Definition: CSC5262.cpp:68
CSC5262::CSC5262
CSC5262(int pulseLength, int pin)
Definition: CSC5262.cpp:10
CSC5262::SendSync
void SendSync()
Definition: CSC5262.cpp:91
CSC5262::SendCommand
void SendCommand(bool bTurnOn)
Definition: CSC5262.cpp:77
CSC5262::SendPysicalBit
void SendPysicalBit(TriSTateBit bit)
Definition: CSC5262.cpp:27
CSC5262::m_Pin
int m_Pin
Definition: CSC5262.h:30
CSC5262::m_PulseLength
int m_PulseLength
Definition: CSC5262.h:29
CSC5262::SwitchSocket
bool SwitchSocket(unsigned char SystemCode, unsigned char Receiver, bool bTurnOn, int repeatedSuccess, int totalTransmittion)
Definition: CSC5262.cpp:126
CSC5262::Zero
Definition: CSC5262.h:17
CSC5262::TriSTateBit
TriSTateBit
Definition: CSC5262.h:15
CSC5262::Switch
bool Switch(unsigned char SystemCode, unsigned char Receiver, bool bTurnOn)
Definition: CSC5262.cpp:97