Function flipperzero_sys::timerCalculateTimer
source · pub unsafe extern "C" fn timerCalculateTimer(time: u16) -> u32Expand description
Calculate Timer
This method calculates when the timer will be expired given the amount time in milliseconds /a tOut. Once the timer has been calculated it will then be used to check when it expires.
[timersIsExpired]
Returns:
- u32 : The new timer calculated based on the given time
Arguments
time- [Direction: In] : time/duration in Milliseconds for the timer