摘要: PLL_Vco_in = (外部晶振频率) / PLL_M; PLL_Vco_out = PLL_Vco_in*PLL_N; sysclock = PLL_Vco_out / PLL_P; otherclock = PLL_Vco_out / PLL_Q; (SD卡,usb的时钟) 阅读全文
posted @ 2021-01-07 16:43 阡陌奈何 阅读(524) 评论(0) 推荐(0)
摘要: union IPNode{ unsigned int addr; struct { unsigned char s1; unsigned char s2; unsigned char s3; unsigned char s4; };};char* my_DotDec(unsigned int ip, 阅读全文
posted @ 2021-01-07 15:00 阡陌奈何 阅读(236) 评论(0) 推荐(0)
摘要: double string_to_float(uint8_t *str){ uint8_t i,j,k,negative=0; #define s_temp str double result=0.0,result_1=0.0; for(i=0;i<10;i++) { j=str[i]; if(j= 阅读全文
posted @ 2021-01-07 14:58 阡陌奈何 阅读(1178) 评论(0) 推荐(0)