Function flipperzero_sys::furi_timer_alloc

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

Allocate timer

§Arguments

  • func (direction in) - The callback function
  • type (direction in) - The timer type
  • context - The callback context

§Returns

The pointer to FuriTimer instance