2021-01-27 12:42 PM
Hi all, i saw someone use a different way to write instructions in keil IDE , where they would write something similar to what i tried to do in the photo.i usually would write which workis just fine , any ideas how to write what im trying to ?
2021-01-27 12:45 PM
my bad, photos didnt upload , this is the way that works RCC->APB2ENR = 0x5 ; //B0 = AFIOEN B1/7/8/13/15=0 B2=IOPAEN B9=ADC1EN B11=TIM1EN B12= SPI1EN B14=USART1EN
and this is the one that gave a warning (implicit declaration of function'RCC_APB2ENR' is invalid in C99
RCC_APB2ENR (0x5) ;
the MCU is the stm32 bluepill