typedef struct tagPT_CounterFreqRead
{
INT16U counter;
FP32 *freq;
} PT_CounterFreqRead, * LPT_CounterFreqRead;
PT_CounterFreqRead is used in function DRV_CounterFreqRead.
| Name | Direction | Description |
| counter | input | The channel number of the specified counter. From a minimum of zero for the first channel to the maximum channel number minus one. For example, the range is from 0 to (N-1) on a device with N counter channels. For AMD AM9513 chip, the frequency measurement needs the simultaneous operation of two counters (refer to hardware manual), it should follow specific rules when selecting the channel. For example, as for PCI1780, two adjacent channels operate simultaneously during the frequency measurement, so the target channels can be 0, 2, 4 and 6. |
| freq | output | Pointer to the currently returned frequency. |