Function flipperzero_sys::furi_timer_alloc
source · pub unsafe extern "C" fn furi_timer_alloc(
func: FuriTimerCallback,
type_: FuriTimerType,
context: *mut c_void
) -> *mut FuriTimerExpand description
Allocate timer
Returns:
- The pointer to FuriTimer instance
Arguments
func- [Direction: In] The callback functiontype- [Direction: In] The timer typecontext- The callback context