在使用c8051f的pca,demo程序有个说明如下,这个4K-1m是如何算出来的
我的外部晶振是22.1184,倍频到88.476M,单周期0.0113us,想精准计算
如果我想使用倍频后的晶振做PCA时钟,输出10K-1HZ如何设置?pwm输出
/ The PCA time base in this example is configured to use SYSCLK / 12.
// The frequency range that can be generated using this example is ~4 kHz to
// ~1 MHz when the processor clock is 24.5 MHz. Using different PCA clock
// sources or a different processor clock will generate different frequency
// ranges. |