【基础】volatile unsigned int * a和 (volatile unsigned int *) a
最新推荐文章于 2023-09-17 10:49:42 发布

种瓜大爷 于 2018-07-04 10:39:04 发布
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
错误: (volatile unsigned int *)pGPFCON = (volatile unsigned int *)0x56000050; (volatile unsigned int *)pGPFDAT = (volatile unsigned int *)0x56000054;12

(int*)a将指针变量a强制类型转换为整型指针,一般不放在等号左边int*a,定义一个整型指针变量a
正确:
volatile unsigned int *pGPFCON = (volatile unsigned int *)0x56000050; volatile unsigned int *pGPFDAT = (volatile unsigned int *)0x56000054;12
相关知识
MySQL数据库——案例:电子商务网站设计
基于51单片机的环境温湿度光强监测系统proteus仿真原理图PCB
【015】一天一道C/C++编程题
基于单片机的智能浇花系统
基于51单片机的智能浇花系统设计
C++字体库开发之freetype vs harfbuzz sfnt表,字体名称,可变轴八
位运算
51单片机
如何在ida里面使用之花指令的操作+python插件进行运行脚本 以[MoeCTF 2022]chicken
51单片机的土壤湿度传感器和ADC0832搭配
网址: 【基础】volatile unsigned int * a和 (volatile unsigned int *) a https://m.huajiangbk.com/newsview1235016.html