pub type __mss_timer_mode = c_uint;Expand description
This enumeration selects between the two possible timer modes of operation: Periodic and One-shot mode. It is used as an argument to the MSS_TIM1_init(), MSS_TIM2_init(), and MSS_TIM64_init() function.
MSS_TIMER_PERIODIC_MODE: The timer generates interrupts at constant intervals. On reaching zero, the counter of the timer is reloaded with a value held in a register and begins counting down again.
MSS_TIMER_ONE_SHOT_MODE: The timer generates a single interrupt in this mode. On reaching zero, the counter of the timer halts until reprogrammed by the user.