摘要: 说明:最近学习C语言寄存器操作,读到了代码 #define STOREG(x) (*((uint16_t*)&x) 起初不理解什么意思,现在解释记录一下。 数据类型转换 int a = 1; int *p = &a; float *p1 = (float*)p; 指针强制类型转换 int a; in 阅读全文
posted @ 2021-04-30 15:48 硕果磊磊 阅读(388) 评论(2) 推荐(0)