#define A ((a *)b) 是什么意思uCon = GPIO->rGPIOMCON;#define GPIO ((volatile oGPIO_REGS *)GPIO_BASE)

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/08 01:19:10
#define A ((a *)b) 是什么意思uCon = GPIO->rGPIOMCON;#define GPIO ((volatile oGPIO_REGS *)GPIO_BASE)

#define A ((a *)b) 是什么意思uCon = GPIO->rGPIOMCON;#define GPIO ((volatile oGPIO_REGS *)GPIO_BASE)
#define A ((a *)b) 是什么意思
uCon = GPIO->rGPIOMCON;
#define GPIO ((volatile oGPIO_REGS *)GPIO_BASE)

#define A ((a *)b) 是什么意思uCon = GPIO->rGPIOMCON;#define GPIO ((volatile oGPIO_REGS *)GPIO_BASE)
宏定义替换,定义强制类型转换,
#define GPIO 对应 (volatile oGPIO_REGS *)//指针类型
将GPIO_BASE 强制转换成 (volatile oGPIO_REGS *)