lxdm163 發表于 2024-2-28 10:05
u8 :2; //空數據, bit4~bit5
我的理解應該是為了數據字節對齊,不知道對不對,
...
Hephaestus 發表于 2024-2-29 12:50
首先這個東西叫位域,其次不要用Keil C這么業余的說法,要么是C51要么是MDK,這是兩種完全不一樣的編譯器。
RobbieCheng 發表于 2024-3-1 09:39
typedef struct { u8 DLC; //數據長度, bit0~bit3 u8 RTR; ...
歡迎光臨 (http://m.zg4o1577.cn/bbs/) | Powered by Discuz! X3.1 |