Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!
#define GPIOA_BaseAddress 0x5000#define GPIOA ((GPIO_TypeDef *) GPIOA_BaseAddress)typedef struct GPIO_struct{ vu8 ODR; /*!< Output Data Register */ vu8 IDR; /*!< Input Data Register */ vu8 DDR; /*!< Data Direction Register */ vu8 CR1; /*!< Configuration Register 1 */ vu8 CR2; /*!< Configuration Register 2 */}GPIO_TypeDef;void main(){ for(;;) { (*(GPIO_TypeDef *) GPIOA_BaseAddress)-> // at this point, i can see structure member list GPIOA-> // no CC when i use #define }}