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.

TI寄存器位域定于

typedef struct
{
    UINT16  u16CNT          : 1;   
    UINT16  u16Re             : 6; 
    UINT16  u16Comm      : 1; 
    UINT16  u16Comm      : 8; 
    UINT16  u16SlaveN     : 7; 
    UINT16  u16Protoco    : 6;   
    UINT16  u16AAM          : 1;  
    UINT16  u16AME          : 1;  
    UINT16  u16IDE           : 1;   
    UINT16  u16CommS  : 12;
    UINT16  u16CommE   : 4;  
    UINT16  u16Data1       : 16;
    UINT16  u16Data2       : 16;  
    UINT16  u16Data3       : 16; 
}FRAM;
请问这个类似在TI头文件中定义的位域 应该怎么理解呢?

比如:这个变量 u16CNT       占多大空间?只占1位吗?