在hk32f030m_gpio.h中:
typedef struct
{
uint32_t GPIO_Pin; /*!< Specifies the GPIO pins to be configured.
This parameter can be any value of @ref GPIO_pins_define */
GPIOMode_TypeDef GPIO_Mode; /*!< Specifies the operating mode for the selected pins.
This parameter can be a value of @ref GPIOMode_TypeDef */
GPIOSpeed_TypeDef GPIO_Speed; /*!< Specifies the speed for the selected pins.
This parameter can be a value of @ref GPIOSpeed_TypeDef */
GPIOOType_TypeDef GPIO_OType; /*!< Specifies the operating output type for the selected pins.
This parameter can be a value of @ref GPIOOType_TypeDef */
GPIOPuPd_TypeDef GPIO_PuPd; /*!< Specifies the operating Pull-up/Pull down for the selected pins.
This parameter can be a value of @ref GPIOPuPd_TypeDef */
GPIOSchmit_TypeDef GPIO_Schmit; /*!<GPIO Schmitt>*/
}GPIO_InitTypeDef;
在编译的时候提示如下:
../../HK32F030M/HK32F030M_Lib/inc\hk32f030m_gpio.h(119): warning: padding size of 'GPIO_InitTypeDef' with 3 bytes to alignment boundary [-Wpadded]
请问怎么消除啊?
|