(*(volatile unsigned *)0x56000010)解释。
来源:互联网 发布:淘宝买发票 编辑:程序博客网 时间:2024/06/05 16:06
(*(volatile unsigned *)0x56000010)中的(unsigned *)0x56000010表示地址为0x56000010的RAM单元的地址,(*(volatile unsigned *)0x56000010)就是地址为0x56000010的RAM单元内容了。
0x56000010如果其本身为一个int 型常量,则(unsigned *)0x56000010将0x56000010强制转换成一个unsigned 型的指针,变为一个地址了,在RAM中对应的地址上存放着数据。
volatile表示程序运行用到这个变量时每次都从RAM中重新读取,而不从CPU中的寄存器读取,以防寄存器中的数据和RAM中的数据不一至的情况。
- (*(volatile unsigned *)0x56000010)解释。
- (*(volatile unsigned char *)0x56000010)
- #define GPBCON (*(volatile unsigned *)0x56000010) 的理解
- #define GPBCON (*(volatile unsigned *)0x56000010) 的理解
- #define GPBCON (*(volatile unsigned *)0x56000010) 的理解
- #define GPBCON (*(volatile unsigned *)0x56000010) 的理解
- #define GPBCON (*(volatile unsigned *)0x56000010) 的理解:
- 对#define GPBCON (*(volatile unsigned long*)0x56000010)的理解
- ARM寄存器地址定义——#define rGPBCON (*(volatile unsigned *)0x56000010)
- (*(volatile unsigned long *) 详细解释
- 嵌入式中的 *(volatile unsigned int *)0x500 解释
- (*((volatile unsigned short *) 0x83200000))
- (*(volatile unsigned *)0x20)讲解
- ((unsigned char volatile xxxx *) 0)
- (*(volatile unsigned *)
- 理解(*(volatile unsigned char *)0x5F[转]
- 理解(*(volatile unsigned char *)0x5F[转]
- 理解(*(volatile unsigned char *)0x5F[转]
- 编译时、运行时调通过指针将用到哪个虚函数、非虚函数、成员变量
- 开发过程中两种项目管理方式
- 论对PHD实时数据库的看法
- Windows网络编程经验小结
- 在Domino中使用LOG4J遇到java.security.AccessControlException的解决办法
- (*(volatile unsigned *)0x56000010)解释。
- kobject之kobject_uevent.c文件分析
- 使用grub4dos引导Linux
- NSImage的缓存
- new是怎么用的?
- 我为什么写博客
- 一起来做NES开发(2)-反汇编
- 实习的时候拿C++写的游戏《星际夺宝》
- web应用每晚12点定时执行程序代码实例