pub unsafe extern "C" fn esp_register_freertos_tick_hook(
    new_tick_cb: Option<unsafe extern "C" fn()>
) -> i32
Expand description

@brief Register a callback to be called from the calling core’s tick hook.

@param[in] new_tick_cb Callback to be called

@return - ESP_OK: Callback registered to the calling core’s tick hook - ESP_ERR_NO_MEM: No more space on the calling core’s tick hook to register the callback