Zephyr API Documentation
4.1.99
A Scalable Open Source RTOS
4.1.99
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
Zephyr API Documentation
►
Introduction
Deprecated List
►
Topics
►
Data Structures
▼
Files
▼
File List
►
doc
►
kernel
►
lib
►
subsys
▼
zephyr
►
acpi
►
app_memory
►
arch
►
audio
►
bluetooth
►
canbus
►
console
►
crypto
►
data
►
debug
►
devicetree
►
dfu
►
display
►
drivers
►
dsp
▼
dt-bindings
►
acpi
►
adc
►
battery
▼
clock
►
silabs
►
adi_max32_clock.h
►
ast10x0_clock.h
►
atmel_sam_pmc.h
►
ch32v00x-clocks.h
►
esp32_clock.h
►
esp32c2_clock.h
►
esp32c3_clock.h
►
esp32c6_clock.h
►
esp32s2_clock.h
►
esp32s3_clock.h
►
gd32-clocks-common.h
►
gd32a50x-clocks.h
►
gd32e10x-clocks.h
►
gd32e50x-clocks.h
►
gd32f3x0-clocks.h
►
gd32f403-clocks.h
►
gd32f4xx-clocks.h
►
gd32l23x-clocks.h
►
gd32vf103-clocks.h
►
imx8ulp_clock.h
►
imx95_clock.h
►
imx_ccm.h
►
imx_ccm_rev2.h
►
intel_socfpga_clock.h
►
kinetis_mcg.h
►
kinetis_pcc.h
►
kinetis_scg.h
►
kinetis_sim.h
►
lpc11u6x_clock.h
►
mchp_xec_pcr.h
►
mcux_lpc_syscon_clock.h
►
npcm_clock.h
►
npcx_clock.h
►
numaker_m2l31x_clock.h
►
numaker_m46x_clock.h
►
numaker_m55m1x_clock.h
►
nxp_s32k146_clock.h
►
nxp_s32k344_clock.h
►
nxp_s32z2_clock.h
r7fa4m1xxxxxx-clock.h
►
r8a7795_cpg_mssr.h
►
r8a779f0_cpg_mssr.h
►
ra_clock.h
►
renesas_cpg_mssr.h
►
renesas_rzg_clock.h
►
rpi_pico_clock_common.h
►
rpi_pico_rp2040_clock.h
►
rpi_pico_rp2350_clock.h
►
rts5912_clock.h
►
scg_k4.h
►
stm32_clock.h
►
stm32_common_clocks.h
►
stm32c0_clock.h
►
stm32f0_clock.h
►
stm32f10x_clock.h
►
stm32f1_clock.h
►
stm32f3_clock.h
►
stm32f410_clock.h
►
stm32f427_clock.h
►
stm32f4_clock.h
►
stm32f7_clock.h
►
stm32g0_clock.h
►
stm32g4_clock.h
►
stm32h5_clock.h
►
stm32h7_clock.h
►
stm32h7rs_clock.h
►
stm32l0_clock.h
►
stm32l1_clock.h
►
stm32l4_clock.h
►
stm32n6_clock.h
►
stm32u0_clock.h
►
stm32u5_clock.h
►
stm32wb0_clock.h
►
stm32wb_clock.h
►
stm32wba_clock.h
►
stm32wl_clock.h
►
comparator
►
dac
►
dai
►
display
►
dma
►
espi
►
ethernet
►
flash_controller
►
gnss
►
gpio
►
i2c
►
input
►
inputmux
►
interrupt-controller
►
ipc_service
►
led
►
lora
►
lvgl
►
memory-attr
►
memory-controller
►
mfd
►
mipi_dbi
►
mipi_dsi
►
misc
►
pcie
►
pinctrl
►
power
►
pwm
►
qspi
►
rdc
►
regulator
►
reserved-memory
►
reset
►
sensor
►
spi
►
timer
►
usb
►
usb-c
►
video
dt-util.h
►
fs
►
input
►
internal
►
ipc
►
kernel
►
linker
►
llext
►
logging
►
lorawan
►
math
►
mctp
►
mem_mgmt
►
mgmt
►
misc
►
modbus
►
modem
►
multi_heap
►
net
►
platform
►
pm
►
portability
►
posix
►
psa
►
random
►
retention
►
rtio
►
sd
►
sensing
►
settings
►
shell
►
sip_svc
►
stats
►
storage
►
sys
►
task_wdt
►
timing
►
toolchain
►
tracing
►
usb
►
usb_c
►
xen
►
zbus
►
zvfs
►
bindesc.h
►
cache.h
►
device.h
►
devicetree.h
►
fatal.h
►
fatal_types.h
►
init.h
►
irq.h
►
irq_multilevel.h
►
irq_nextlevel.h
►
irq_offload.h
►
kernel.h
kernel_includes.h
►
kernel_structs.h
►
kernel_version.h
►
net_buf.h
►
shared_irq.h
►
smf.h
►
spinlock.h
►
sw_isr_table.h
►
sys_clock.h
►
syscall.h
►
toolchain.h
types.h
►
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
esp32c6_clock.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_ESP32C6_H_
8
#define ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_ESP32C6_H_
9
10
/* Supported CPU clock Sources */
11
#define ESP32_CPU_CLK_SRC_XTAL 0U
12
#define ESP32_CPU_CLK_SRC_PLL 1U
13
#define ESP32_CLK_SRC_RC_FAST 2U
14
15
/* Supported CPU frequencies */
16
#define ESP32_CLK_CPU_PLL_80M 80000000
17
#define ESP32_CLK_CPU_PLL_160M 160000000
18
#define ESP32_CLK_CPU_RC_FAST_FREQ 17500000
19
20
/* Supported XTAL Frequencies */
21
#define ESP32_CLK_XTAL_32M 32000000
22
#define ESP32_CLK_XTAL_40M 40000000
23
24
/* Supported RTC fast clock sources */
25
#define ESP32_RTC_FAST_CLK_SRC_RC_FAST 0
26
#define ESP32_RTC_FAST_CLK_SRC_XTAL_D2 1
27
28
/* Supported RTC slow clock frequencies */
29
#define ESP32_RTC_SLOW_CLK_SRC_RC_SLOW 0
30
#define ESP32_RTC_SLOW_CLK_SRC_XTAL32K 1
31
#define ESP32_RTC_SLOW_CLK_SRC_RC32K 2
32
#define ESP32_RTC_SLOW_CLK_32K_EXT_OSC 9
33
34
/* RTC slow clock frequencies */
35
#define ESP32_RTC_SLOW_CLK_SRC_RC_SLOW_FREQ 136000
36
#define ESP32_RTC_SLOW_CLK_SRC_XTAL32K_FREQ 32768
37
#define ESP32_RTC_SLOW_CLK_SRC_RC32K_FREQ 32768
38
39
/* Modules IDs
40
* These IDs are actually offsets in CLK and RST Control registers.
41
* These IDs shouldn't be changed unless there is a Hardware change
42
* from Espressif.
43
*
44
* Basic Modules
45
* Registers: DPORT_PERIP_CLK_EN_REG, DPORT_PERIP_RST_EN_REG
46
*/
47
#define ESP32_LEDC_MODULE 0
48
#define ESP32_UART0_MODULE 1
49
#define ESP32_UART1_MODULE 2
50
#define ESP32_USB_MODULE 3
51
#define ESP32_I2C0_MODULE 4
52
#define ESP32_I2S1_MODULE 5
53
#define ESP32_TIMG0_MODULE 6
54
#define ESP32_TIMG1_MODULE 7
55
#define ESP32_UHCI0_MODULE 8
56
#define ESP32_RMT_MODULE 9
57
#define ESP32_PCNT_MODULE 10
58
#define ESP32_SPI_MODULE 11
59
#define ESP32_SPI2_MODULE 12
60
#define ESP32_TWAI0_MODULE 13
61
#define ESP32_TWAI1_MODULE 14
62
#define ESP32_RNG_MODULE 15
63
#define ESP32_RSA_MODULE 16
64
#define ESP32_AES_MODULE 17
65
#define ESP32_SHA_MODULE 18
66
#define ESP32_ECC_MODULE 19
67
#define ESP32_HMAC_MODULE 20
68
#define ESP32_DS_MODULE 21
69
#define ESP32_SDIO_SLAVE_MODULE 22
70
#define ESP32_GDMA_MODULE 23
71
#define ESP32_MCPWM0_MODULE 24
72
#define ESP32_ETM_MODULE 25
73
#define ESP32_PARLIO_MODULE 26
74
#define ESP32_SYSTIMER_MODULE 27
75
#define ESP32_SARADC_MODULE 28
76
#define ESP32_TEMPSENSOR_MODULE 29
77
#define ESP32_REGDMA_MODULE 30
78
#define ESP32_LP_I2C0_MODULE 31
79
/* Peripherals clock managed by the modem_clock driver must be listed last */
80
#define ESP32_WIFI_MODULE 32
81
#define ESP32_BT_MODULE 33
82
#define ESP32_IEEE802154_MODULE 34
83
#define ESP32_COEX_MODULE 35
84
#define ESP32_PHY_MODULE 36
85
#define ESP32_MODULE_MAX 37
86
87
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_CLOCK_ESP32C6_H_ */
zephyr
dt-bindings
clock
esp32c6_clock.h
Generated on Fri Mar 14 2025 12:05:19 for Zephyr API Documentation by
1.12.0