diff options
author | jim <jim@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-12-22 04:44:26 +0000 |
---|---|---|
committer | jim <jim@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-12-22 04:44:26 +0000 |
commit | 5ccad649b6fbb917cecf9530ba64814459dfe565 (patch) | |
tree | d4290c0877018d339fda18f5323952c88239b157 /zaptel.h | |
parent | 35c0c5037ea5cb43b560d93137e4fef09fd1f3da (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-x | zaptel.h | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -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 */ |