I am trying to use callback registers in STM32. I am writing most of the interfaces in C++ in hope of being completely independent of HAL one day, but I am kind of using it curr