Associate II
March 2, 2021
Question
How to manually enabling NVIC irq for timer6 in STM42F407
- March 2, 2021
- 3 replies
- 1862 views
Hello, i have written the following code for interrupt delay based on timer as shown in the attached file
But Keil shows the error bellow on the line.
Why it gives me such error,how do i manually enable the IRQ of TIM6?
Thanks,
NVIC_EnableIRQ(TIM6_IRQn);../Core/Src/main.c(124): error: #20: identifier "TIM6_IRQn" is undefined"