-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevparam.h
46 lines (37 loc) · 1.04 KB
/
devparam.h
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef _DEVPARAM_H
#define _DEVPARAM_H
#ifndef _GLOBAL_H
#include "global.h"
#endif
/* device parameter control */
#define PARAM_DATA 0
#define PARAM_TXDELAY 1
#define PARAM_PERSIST 2
#define PARAM_SLOTTIME 3
#define PARAM_TXTAIL 4
#define PARAM_FULLDUP 5
#define PARAM_HW 6
#define PARAM_MUTE 7
#define PARAM_DTR 8
#define PARAM_RTS 9
#define PARAM_SPEED 10
#define PARAM_ENDDELAY 11
#define PARAM_GROUP 12
#define PARAM_IDLE 13
#define PARAM_CRCREQ 0x0c
#define PARAM_POLL 0x0e
#define PARAM_MIN 14
#define PARAM_MAXKEY 15
#define PARAM_WAIT 16
#define PARAM_DOWN 0x81
#define PARAM_UP 0x82
#define PARAM_BLIND 0x83 /* should be vertigo, can't tell down/up? */
#define PARAM_RCV_MODE 0xfd
#define PARAM_RETURN2 0xfe
#define PARAM_RETURN 0xff
#define PARAM_PACTOR 17 /* 03Mar2006, Maiko, Time to do this right */
#define PARAM_MAXOPT 17 /* replaces previously hardcoded value in main.c */
/* In devparam.c: */
int devparam __ARGS((char *s));
char *parmname __ARGS((int n));
#endif /* _DEVPARAM_H */