Function esp_idf_hal::sys::ets_timer_setfn

source ยท
pub unsafe extern "C" fn ets_timer_setfn(
    ptimer: *mut _ETSTIMER_,
    pfunction: Option<unsafe extern "C" fn(_: *mut c_void)>,
    parg: *mut c_void,
)
Expand description

@brief Set timer callback and argument. In FreeRTOS, please call FreeRTOS apis, never call this api.

@param ETSTimer *timer : Timer struct pointer.

@param ETSTimerFunc *pfunction : Timer callback.

@param void *parg : Timer callback argument.

@return None