STM32 4字節對齊問題

最近一個項目使用STM32,中間涉及到通信協議解析,協議中包含double類型數據傳輸, unsigned char ReceiveBuffer[50];//爲出口接收的數據, 其中Byte0爲命令碼,Byte1-Byte48爲double數據,共計6個double數據,小端格式,Byte49位校驗。 double *StoreDoublePointer; StoreDoublePointer =
相關文章
相關標籤/搜索