Searched refs:mcpwm_clk_hz (Results 1 – 1 of 1) sorted by relevance
49 uint32_t mcpwm_clk_hz; member120 uint32_t timer_clk_hz = data->mcpwm_clk_hz / config->prescale / channel->prescale; in mcpwm_esp32_duty_set()197 uint32_t timer_clk_hz = data->mcpwm_clk_hz / config->prescale / channel->prescale; in mcpwm_esp32_timer_set()221 *cycles = (uint64_t)data->mcpwm_clk_hz / (config->prescale + 1) / 1; in mcpwm_esp32_get_cycles_per_sec()230 (uint64_t)data->mcpwm_clk_hz / (config->prescale + 1) / (channel->prescale + 1); in mcpwm_esp32_get_cycles_per_sec()439 ESP_CLK_TREE_SRC_FREQ_PRECISION_CACHED, &data->mcpwm_clk_hz); in mcpwm_esp32_init()