I'm trying to use a
__set_BASEPRI() function in Keil to set up interrupts in STM32F407 but it doesn't work when I compile the code and the IDE shows warning "implicit declaration of function '__set_BASEPRI' is invalid in C99". Functions
__disable_irq() work fine. How do I make it work?
Also weird, when I click on "Go to definition" on all these functions, the IDE cannot find the source file for them even though cmsis_armcc.h is included in the project.