Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
esp32_clock_control.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_ESP32_CLOCK_CONTROL_H_
8#define ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_ESP32_CLOCK_CONTROL_H_
9
10#if defined(CONFIG_SOC_SERIES_ESP32)
12#elif defined(CONFIG_SOC_SERIES_ESP32S2)
14#elif defined(CONFIG_SOC_SERIES_ESP32S3)
16#elif defined(CONFIG_SOC_SERIES_ESP32C3)
18#elif defined(CONFIG_SOC_SERIES_ESP32C6)
20#endif /* CONFIG_SOC_SERIES_ESP32xx */
21
22#define ESP32_CLOCK_CONTROL_SUBSYS_CPU 50
23#define ESP32_CLOCK_CONTROL_SUBSYS_RTC_FAST 51
24#define ESP32_CLOCK_CONTROL_SUBSYS_RTC_SLOW 52
25
31
36
41
42#endif /* ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_ESP32_CLOCK_CONTROL_H_ */
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Definition esp32_clock_control.h:37
struct esp32_cpu_clock_config cpu
Definition esp32_clock_control.h:38
struct esp32_rtc_clock_config rtc
Definition esp32_clock_control.h:39
Definition esp32_clock_control.h:26
uint32_t cpu_freq
Definition esp32_clock_control.h:28
uint32_t xtal_freq
Definition esp32_clock_control.h:29
int clk_src
Definition esp32_clock_control.h:27
Definition esp32_clock_control.h:32
uint32_t rtc_fast_clock_src
Definition esp32_clock_control.h:33
uint32_t rtc_slow_clock_src
Definition esp32_clock_control.h:34