struct { unsigned test1:1; unsigned test2:3; } bit;
我得到一个错误,谁知道是什么问题?
在此先感谢您的回答!
回答:
在XC中不支持Bitfields,但是在C中应该能工作。