1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
|
| #ifndef __SLP_H_V10__
| #define __SLP_H_V10__
| typedef unsigned char uchar;
|
| enum SLPCmds
| {
| ST_M = 0x49,
| ST_S = 0x69,
| EDsign = 0x0d,
| };
|
| typedef struct tagSLPPacket{
| uchar ST;
| uchar Dst;
| uchar Data;
| uchar BCC;
| // uchar ED;
| }stSLPPacket;
|
| extern uchar bSLPMaster;
| extern uchar nStation;
| extern uchar SLPinputB;
| extern uchar SLPoutputB;
| extern uchar SLPErrSign;
|
| void SLPparsePacket(char * pBuf, uchar len1);
| void SLPMasterSendPacket(void);
| void SLPProcess(void);
|
| #endif /* __SLP_H_V10__ */
|
|