pub fn set_alarm_callback(callback: fn())
Register a callback function pointer to invoke when the alarm fires.