日期:2014-05-16  浏览次数:20577 次

关于十六进制数的疑惑
#define STM8S_START_ANS 0x01
#define STM8S_BROADCAST_ANS 0x02
#define STM8S_485_ANS 0x03
#define STM8S_KNOB_REQ 0x04
#define STM8S_ADCKEY_REQ 0x05
#define STM8S_HFP_REQ 0x06
#define STM8S_GPIO_ANS 0x07
#define STM8S_UPDATE_ANS_REQ 0x08
#define STM8S_LOG_REQ 0x0a
#define STM8S_KJ_INFO_ANS 0x0b
#define STM8S_START_REQ 0x81
#define STM8S_BROADCAST_REQ 0x82
#define STM8S_485_REQ 0x83
#define STM8S_GPIO_REQ 0x87
#define STM8S_UPDATE_REQ_ANS 0x88
#define STM8S_ALARM_REQ 0x89
#define STM8S_KJ_INFO_REQ 0x8b、


工程文件中这些都是什么意思啊?请指导

------解决方案--------------------
就是一串数值,什么意思要看用在什么场合。
------解决方案--------------------
这完全是一种定义嘛。自己想怎么定义就怎么定义啊。
------解决方案--------------------
这些是宏定义吧