代码还没有调试,只是看了一下driver中的代码,好像不和谐,如附图
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.
我下载的也是#define UCS_CLOCK_DIVIDER_12 DIVM__32
库里的代码是没有错的,验证了一下
printf("%d",DIVM__1);
printf("%d",DIVM__2);
printf("%d",DIVM__4);
printf("%d",DIVM__8);
// printf("%d",DIVM__12);
printf("%d",DIVM__16);
printf("%d",DIVM__32);
DIVM__X为编译器预定的宏,没有DIVM_12这个宏,且从源代码参考slau208m.pdf第176页的UCSCTL3的描述来看是对的!!附图只能传一个,大家讲究一下