永发信息网

Keil5 union错误提示 如何修改

答案:1  悬赏:0  手机版
解决时间 2021-03-30 19:46
  • 提问者网友:夢醒日落
  • 2021-03-30 07:26
Keil5 union错误提示 如何修改
最佳答案
  • 五星知识达人网友:不甚了了
  • 2021-03-30 08:54
typedef struct __attribute__ ((packed)) //darf im EEPROM nur 7 Bytes belegen
{
unsigned char Opcode;
unsigned char Type;
unsigned char Motor;
unsigned int Error;
__packed union
{
int Int32;
unsigned char Byte[4];
} Value;
}TTMCLCommand;
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯