本帖最后由 zjswuyunbo 于 2011-3-15 11:07 编辑
typedef struct ErrbitDef{
u32 Errbit_Motor1Fault:1;
u32 Errbit_Motor2Fault:1;
u32 Errbit_Motor3Fault:1;
u32 Errbit_Motor4Fault:1;
u32 Errbit_Head1BrokenFault:1;
u32 Errbit_Head2BrokenFault:1;
u32 Errbit_ComebackFault:1;
u32 Errbit_DoorOpenFault:1;
} ErrbitDef;
ErrorBit.Errbit_Motor1Fault= 4;
ErrorBit.Errbit_Motor1Fault的值为多少呢?0还是1?
? |