Zephyr API 3.6.99
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_ESP32C2)
18#elif defined(CONFIG_SOC_SERIES_ESP32C3)
20#elif defined(CONFIG_SOC_SERIES_ESP32C6)
22#endif /* CONFIG_SOC_SERIES_ESP32xx */
23
24#define ESP32_CLOCK_CONTROL_SUBSYS_CPU 50
25#define ESP32_CLOCK_CONTROL_SUBSYS_RTC_FAST 51
26#define ESP32_CLOCK_CONTROL_SUBSYS_RTC_SLOW 52
27
33
38
43
44#endif /* ZEPHYR_INCLUDE_DRIVERS_CLOCK_CONTROL_ESP32_CLOCK_CONTROL_H_ */
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Definition esp32_clock_control.h:39
struct esp32_cpu_clock_config cpu
Definition esp32_clock_control.h:40
struct esp32_rtc_clock_config rtc
Definition esp32_clock_control.h:41
Definition esp32_clock_control.h:28
uint32_t cpu_freq
Definition esp32_clock_control.h:30
uint32_t xtal_freq
Definition esp32_clock_control.h:31
int clk_src
Definition esp32_clock_control.h:29
Definition esp32_clock_control.h:34
uint32_t rtc_fast_clock_src
Definition esp32_clock_control.h:35
uint32_t rtc_slow_clock_src
Definition esp32_clock_control.h:36