大家好,
請問下列這段程式碼裡:後加上數字代表什麼意思呢?
本來以為是宣告初值,
但實際上用DEV C++試著跑一個簡單的code發現不是這樣,
謝謝大家!
typedef struct ch_properties {
unsigned int amplitudeScale :14;
unsigned int :2;
unsigned int amplitudeOffset :14;
unsigned int :2;
uint32_t counterWrap;
uint32_t startOffset;
uint32_t counterStep;
unsigned int :2;
uint32_t buffReadPointer :14;
unsigned int :16;
uint32_t cyclesInOneBurst;
uint32_t burstRepetitions;
uint32_t delayBetweenBurstRepetitions;
} ch_properties_t;