Added code for counter source filtering

r1848 | dcl | 2007-04-12 15:54:04 +1000 (Thu, 12 Apr 2007) | 2 lines
This commit is contained in:
Douglas Clowes
2007-04-12 15:54:04 +10:00
parent f95142b219
commit cff3ac6553
7 changed files with 97 additions and 1 deletions

View File

@@ -54,6 +54,22 @@ int hware_read(pHWARE hware, HWARE_VALUE* value);
*/
int hware_source(pHWARE hware, int value);
/**
* Select the filter
*
* \param hware pointer to opaque private data structure
* \param value filter selector
* 0 Input signal unchanged
* 1 Input synchronised to timebase 3 (80Mhz on PCI-6602)
* 2 Digital filter 100 * timebase 1 (2.5-5uS)
* 3 Digital filter 20 * timebase 1 (0.5-1uS)
* 4 Digital filter 10 * timebase 1 (250-500nS)
* 5 Digital filter 2 * timebase 1 ( 50-100nS)
* 6 Digital filter 2 * timebase 3 (12.5-25nS)
* else same as zero
*/
int hware_filter(pHWARE hware, int value);
/**
* Enables external output on designated DIO line
*