pub unsafe extern "C" fn furi_timer_alloc(
    func: FuriTimerCallback,
    type_: FuriTimerType,
    context: *mut c_void
) -> *mut FuriTimer
Expand description

Allocate timer

Returns:

  • The pointer to FuriTimer instance

Arguments

  • func - [Direction: In] The callback function
  • type - [Direction: In] The timer type
  • context - The callback context