From 5ccad649b6fbb917cecf9530ba64814459dfe565 Mon Sep 17 00:00:00 2001 From: jim Date: Wed, 22 Dec 2004 04:44:26 +0000 Subject: 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 --- zaptel.h | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'zaptel.h') 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 */ -- cgit v1.2.3