摘要:
时钟控制:三种时钟信号:Fclk CPU时钟,1/Fclk 即为cpu时钟 周期Hclk AHB时钟信号 advanced high-performance busPclk APB 时钟信号 advanced peripheral(周边,外围!) bus 阅读全文
摘要:
#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 *) 阅读全文