pub unsafe extern "C" fn esp_register_freertos_tick_hook_for_cpu(
    new_tick_cb: esp_freertos_tick_cb_t,
    cpuid: UBaseType_t
) -> esp_err_t
Expand description

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

@param[in] new_tick_cb Callback to be called @param[in] cpuid id of the core

@return - ESP_OK: Callback registered to specified core’s tick hook - ESP_ERR_NO_MEM: No more space on the specified core’s tick hook to register the callback - ESP_ERR_INVALID_ARG: cpuid is invalid