typedef struct
{
__IO uint32_t KR;
__IO uint32_t PR;
__IO uint32_t RLR;
__IO uint32_t SR;
} IWDG_TypeDef;
#define IWDG_BASE (APB1PERIPH_BASE + 0x3000)
这种头文件的,就不会提示
struct mystr
{
__IO uint32_t a0;
__IO uint32_t a1;
__IO uint32_t a2;
__IO uint32_t a3;
__IO uint32_t a4;
__IO uint32_t a5;
}
这样的才会提示,麻烦帮分析一下呢?属于哪类问题?有解决的办法吗?
{
__IO uint32_t KR;
__IO uint32_t PR;
__IO uint32_t RLR;
__IO uint32_t SR;
} IWDG_TypeDef;
#define IWDG_BASE (APB1PERIPH_BASE + 0x3000)
这种头文件的,就不会提示
struct mystr
{
__IO uint32_t a0;
__IO uint32_t a1;
__IO uint32_t a2;
__IO uint32_t a3;
__IO uint32_t a4;
__IO uint32_t a5;
}
这样的才会提示,麻烦帮分析一下呢?属于哪类问题?有解决的办法吗?
