02 2017 档案
摘要:主要参考:an736.pdf http://files.cnblogs.com/files/tinyos/an736.pdf 详细调试笔记链接 http://files.cnblogs.com/files/tinyos/XIP.pdf
阅读全文
摘要:1 #if !defined(__PRIMITIVESOCKET_H__) 2 #define __PRIMITIVESOCKET_H__ 3 4 #include 5 6 #define WM_SOCKET (WM_USER + 100) 7 8 int CommonLib_IsValidIP(char* pstr ); 9 char* Common...
阅读全文
摘要:#include "tim4.h"#include "stm8s_tim4.h" #define TIM4_PERIOD 124 void Dely1ms(void){ TIM4_DeInit(); /* Time base configuration */ // 8M/64=125000HZ //
阅读全文
摘要:STM8S的时钟配置通过:CLK_CKDIVR寄存器,而CLK_CKDIVR一个是配置HSI分频,另一个是配置CPU的分频 static void CLK_Config(void){ CLK_DeInit(); /* Clock divider to HSI/1 */ CLK_HSIPrescale
阅读全文
摘要:STM8S上电后的时钟来源: /* Public functions *//** * @addtogroup CLK_Public_Functions * @{ */ /** * @brief Deinitializes the CLK peripheral registers to their d
阅读全文
浙公网安备 33010602011771号