细心,专心

来源:互联网 发布:pic 单片机org指令 编辑:程序博客网 时间:2024/04/29 18:18

 今天调试程序又发现了一个致命错误!!!

Reset PTP Clock:
Setting this bit will reset the PTP Clock and associated logic. In addition, the 1588 registers will be reset, with the exception of the PTP_COC and PTP_CLKSRC registers. Unlike other bits in this register, this bit is not self-clearing and must be written to 0 to release the clock and logic from reset.

 

居然没有给这个比特清零!!!!

 

 

狂汗不止!!

记住教训。

原创粉丝点击