stmhal: Fix problem when passing callback= to timer init function.
In particular, make sure that the globals are all initialized before enabling the interrupt, and also make sure that the timer interrupt has been initialied before enabling the NVIC.
Please register or sign in to comment