/// Takes the EventId and executes the corresponding event handler.
Takes the EventId and executes the corresponding event handler.
Takes the EventId and executes the corresponding event handler .
pub fn dispatch_event(&mut self, curr_time: u32) {
        if self.is_enabled {
            if curr_time % self.threshold == 0 {
                (self.handler)();
                #[cfg(feature = "system_logger")] {
                    if logging::get_timer_event() {
                        logging::report(LogEventType::TimerEvent(self.event_id));
                    }
                }
            }
        }
    }
pub fn dispatch_event ( & mut self , curr_time : u32 ) { if self . is_enabled { if curr_time % self . threshold == 0 { ( self . handler ) ( ) ; # [ cfg ( feature " " ) ] { if logging :: get_timer_event ( ) { logging :: report ( LogEventType :: TimerEvent ( self . event_id ) ) ; } } } } }
Takes the EventId and executes the corresponding event handler.
Takes the EventId and executes the corresponding event handler .
&mut self
curr_time
u32