summaryrefslogtreecommitdiff
path: root/zaptel.h
diff options
context:
space:
mode:
authorjim <jim@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-12-22 04:44:26 +0000
committerjim <jim@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-12-22 04:44:26 +0000
commit5ccad649b6fbb917cecf9530ba64814459dfe565 (patch)
treed4290c0877018d339fda18f5323952c88239b157 /zaptel.h
parent35c0c5037ea5cb43b560d93137e4fef09fd1f3da (diff)
Changed out VHDL code so that interrupt handling would be much more efficient
and fully handle all functions git-svn-id: http://svn.digium.com/svn/zaptel/trunk@513 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zaptel.h')
-rwxr-xr-xzaptel.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/zaptel.h b/zaptel.h
index 8616169..4bbf2b7 100755
--- a/zaptel.h
+++ b/zaptel.h
@@ -1473,7 +1473,8 @@ struct zt_radio_stat {
struct zt_radio_param {
unsigned short radpar; /* param identifier */
unsigned short index; /* tone number */
- int data; /* pointer to param */
+ int data; /* param */
+ int data2; /* param 2 */
};
@@ -1522,9 +1523,6 @@ struct zt_radio_param {
#define ZT_RADPAR_BURSTTIME 13 /* end of transmit with no CT tone in
milliseconds (0-999) */
-#if 0
-The following are not implemented in the prototype version of the card:
-(UIO will always be an input for external CTCSS decode input)
#define ZT_RADPAR_UIODATA 14 /* read/write UIOA and UIOB data. Bit 0 is
UIOA, bit 1 is UIOB */
@@ -1535,12 +1533,11 @@ The following are not implemented in the prototype version of the card:
mode for UIOA is overridden when in
EXTRXTONE mode. */
-#define ZT_RADPAR_EXTDATA 16 /* read/write external byte, set index also
- (0-2) */
-#define ZT_RADPAR_EXTMODE 17 /* set mode for external byte, bitwise a 1
- means write, and 0 means read, set index
- also (0-2) */
+#define ZT_RADPAR_REMMODE 16 /* Remote control data mode */
+ #define ZT_RADPAR_REM_NONE 0 /* no remote control data mode */
+ #define ZT_RADPAR_REM_RBI1 1 /* Doug Hall RBI-1 data mode */
+
+#define ZT_RADPAR_REMCOMMAND 17 /* Remote conrtol write data block & do cmd */
-#endif
#endif /* _LINUX_ZAPTEL_H */