pub fn register_callback<F>(func: F)where F: Fn() + Sync + Send + 'static,
Registers a function that will be executed during the system timer interruption.