刚开始学149的片子,但是有一句话不太明白
#define XTOFF 0x40;这个宏定义是啥意思,还请大虾们指教
在此谢谢
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.
刚开始学149的片子,但是有一句话不太明白
#define XTOFF 0x40;这个宏定义是啥意思,还请大虾们指教
在此谢谢
就是一个普通的宏定义,根据需要定义的宏,取的名字。XTOFF根据这个名字看来,某个寄存器的值的第六位清零或者置1后XT会关闭,至于XT代表的是什么,你得根据具体的芯片手册看看了。或者你把它名字改为其它如ABC都行