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