esp_register_freertos_tick_hook_for_cpu() function
Register a callback to be called from the specified core's tick hook.
Arguments
new_tick_cb
Callback to be called
Return value
- 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