This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

F2812 位域与结构体对齐



各位好

          我用F2812 开发CANOPEN协议,有个问题,F2812的unsigned char 是16BIT的,但是CANOPEN 最小单位是8BIT,

咨询一下各位,F2812 有什么预编译指令,能让unsigned char 按8BIT对齐吗?