20#include "esp_idf_version.h"
22#if defined(__XTENSA__) || defined(__riscv)
23#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 0)
75#if defined(__XTENSA__) || defined(__riscv)
76#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5, 0, 0)
77#define dsp_get_cpu_cycle_count esp_cpu_get_cycle_count
79#if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 1, 0)
80#define dsp_get_cpu_cycle_count esp_cpu_get_ccount
82#define dsp_get_cpu_cycle_count xthal_get_ccount
88#define dsp_get_cpu_cycle_count __rdtsc
bool dsp_is_power_of_two(int x)
check power of two The function check if the argument is power of 2. The implementation use ANSI C an...
int dsp_power_of_two(int x)
Power of two The function return power of 2 for values 2^N. The implementation use ANSI C and could b...
esp_err_t tie_log(int n_regs,...)
Logginng for esp32s3 TIE core Registers covered q0 to q7, ACCX and SAR_BYTE.