Function esp_idf_sys::ets_timer_setfn

source ยท
pub unsafe extern "C" fn ets_timer_setfn(
    ptimer: *mut ETSTimer,
    pfunction: ETSTimerFunc,
    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