This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:Code Composer Studio
大家好、
我想使用 PWM 将 指纹扫描仪模块的时钟设置为24MHz。 我编写了以下代码:
ui32Clock = SysCtlClockFreqSet ((SYSCTL_XTAL_25MHz|SYSCTL_MAIN|SYSCTL_USE_PLL|SYSCTL_CFG_VCO_480)、24000000);
PWMClockSet (PWM0_BASE、PWM_SYSCLK_DIV_16);
clockget = PWMClockGet (PWM0_BASE);
我 得到的时钟频率为259。
应使用哪些参数或 API 将 PWM 频率设置为24MHz。
此致
Rohit