[Solution] Code was moved around and then it compiled correctly. Misinterpretation of the problem.IOC Configuration: Pin PB9 - External Interrupt with Rising/Falling Edge trigger detectionPull-DownNVIC EXTI line [9:5] Enabled Preemption Priority 1 Su...