msP430F5438基本时钟模块寄存器UCSCTL8的中几位是什么作用
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.
msP430F5438基本时钟模块寄存器UCSCTL8的中几位是什么作用
UCSCTL8的SMCLKREQEN,MCLKREQEN,ACLKREQEN是外设对系统时钟的请求位。 比如说,TimerA需要SMCLK的时钟,那么通过设置SMCLKREQEN=1就可以让SMCLK保持Active状态。(不管当前MCU是否处于低功耗状态。)
MSP430F5xx中对系统时钟有控制权的还有SR寄存器的SCG0,SCG1,OSCOFF,CPUOFF等位。
SR寄存器与UCSCTL8寄存器对系统时钟的请求是逻辑或的关系。详细请参考MSP430F5xx user‘s Guide的Table 4-1,如下图