2012年3月23日
摘要: 时钟控制:三种时钟信号:Fclk CPU时钟,1/Fclk 即为cpu时钟 周期Hclk AHB时钟信号 advanced high-performance busPclk APB 时钟信号 advanced peripheral(周边,外围!) bus 阅读全文
posted @ 2012-03-23 16:21 肯定;爱 阅读(188) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h>intmain(){inti=0x1122;char*p;p=(char *)&i;if(*p==0x22){printf("little!!!!!!\n");}elseprintf("big!\n");}warning: assignment from incompatible pointer type分配 不匹配的指针类型所以要加强制类型转换:(char *) 阅读全文
posted @ 2012-03-23 10:45 肯定;爱 阅读(172) 评论(0) 推荐(0) 编辑