pub fn set_timer(
dur_msec: u64,
loop_count: u64,
timer_data: usize,
) -> Option<rsm_timer_id_t>Expand description
set a timer, loop for loop_count times every dur_msec milliseconds. if loop_count is 0, the timer will not stop util application kill the timer