typedef struct tagPT_FreqOutStart
{
INT16U usChannel;
INT16U usDivider;
INT16U usFoutSrc;
} PT_FreqOutStart, *LPT_FreqOutStart;
PT_FreqOutStart is used in function DRV_FreqOutStart.
| Name | Direction | Range | Description |
| usChannel | input | Depends on the hardware. | The specified channel number. 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. |
| usDivider | input | Depends on the hardware. | The frequency output divider value (refer to hardware manuals). |
| usFoutSrc | input | 1. PA_FOUT_SRC_ EXTER_CLK 2. PA_FOUT_SRC_ CLK_N 3. PA_FOUT_SRC_ FOUT_M1 4. PA_FOUT_SRC_ CLK_10MHZ 5. PA_FOUT_SRC_ CLK_1MHZ 6. PA_FOUT_SRC_ CLK_100KHZ 7. PA_FOUT_SRC_ CLK_10KHZ 8. PA_FOUT_SRC_ CLK_1KHZ |
The clock source for frequency output: (N
is equal to the usChannel) 1. external clock from pin EXT_CLK 2. clock from pin CLK N 3. clock from pin FOUT N-1 4. Internal 10MHz clock 5. Internal 1 MHz clock 6. Internal 100 Hz clock 7. Internal 10KHz clock 8. Internal 1KHz clock |