CFG_CntrClockFrequency gets or sets the current counters' clock frequency of the device.
| Type | FP32 array |
| Length | 4 bytes for one counter channel |
| Access type | Read/Write |
| Value | Each element in the array represents one channel's clock
frequency. For example, for a 2-channel counter, the size of array is 2; when the set/returned value is [1000000,4000000], which means counter0's current clock frequency is 1MHz, and counter1's current clock frequency is 4MHz. SAMPLE_CLOCK_1M: 1000000Hz SAMPLE_CLOCK_2M: 2000000Hz SAMPLE_CLOCK_4M: 4000000Hz SAMPLE_CLOCK_8M: 8000000Hz TIMER_BASE_CLOCK5: timer base clock 5Hz TIMER_BASE_CLOCK50: timer base clock 50Hz TIMER_BASE_CLOCK500: timer base clock 500Hz TIMER_BASE_CLOCK5K: timer base clock 5000Hz
TIMER_BASE_CLOCK50K: timer base clock 50000Hz |