随笔分类 -  单片机

摘要:iptables -A FORWARD -j NFQUEUE -p tcp --dport 80 -i eth0 iptables -A INPUT -p tcp --dport 80 -m iprange --src-range 0.0.0.0-255.255.255.255 -j NFQUEUE 阅读全文
posted @ 2017-10-27 10:52 未命名blogs 阅读(397) 评论(0) 推荐(0)
摘要:WIN7下Protel99SE添加库文件的新解决方案,献给还在坚守99的人们 https://www.amobbs.com/forum.php?mod=viewthread&tid=5633517&page=1&authorid=17346 阅读全文
posted @ 2017-10-23 09:35 未命名blogs 阅读(871) 评论(0) 推荐(0)
摘要:主要参考:an736.pdf http://files.cnblogs.com/files/tinyos/an736.pdf 详细调试笔记链接 http://files.cnblogs.com/files/tinyos/XIP.pdf 阅读全文
posted @ 2017-02-27 12:37 未命名blogs 阅读(461) 评论(0) 推荐(0)
摘要:STM8S的时钟配置通过:CLK_CKDIVR寄存器,而CLK_CKDIVR一个是配置HSI分频,另一个是配置CPU的分频 static void CLK_Config(void){ CLK_DeInit(); /* Clock divider to HSI/1 */ CLK_HSIPrescale 阅读全文
posted @ 2017-02-12 11:42 未命名blogs 阅读(5876) 评论(0) 推荐(0)
摘要:STM8S上电后的时钟来源: /* Public functions *//** * @addtogroup CLK_Public_Functions * @{ */ /** * @brief Deinitializes the CLK peripheral registers to their d 阅读全文
posted @ 2017-02-12 11:24 未命名blogs 阅读(1092) 评论(0) 推荐(0)