gpt4 book ai didi

c++ - C 和 C++ 奇怪的语法 "unsigned int :32;"

转载 作者:行者123 更新时间:2023-11-28 05:42:12 25 4
gpt4 key购买 nike

<分区>

这行代码是什么意思:

    unsigned int                   :32       ;

它来自:

      typedef struct avr32_pwm_channel_t {
union {
unsigned long cmr ;//0x0000
avr32_pwm_cmr_t CMR ;
};
unsigned long cdty ;//0x0004
unsigned long cprd ;//0x0008
const unsigned long ccnt ;//0x000c
unsigned long cupd ;//0x0010
unsigned int :32 ;//0x0014
unsigned int :32 ;//0x0018
unsigned int :32 ;//0x001c
} avr32_pwm_channel_t;

我尝试用谷歌搜索它,但什么也没找到

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com