Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
periph_cpu_esp32c6.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2025 Gunar Schorcht
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
18
#include "
sdkconfig.h
"
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
25
#define CLOCK_CORECLOCK (1000000UL * CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ)
26
30
#define CPU_CYCLES_PER_LOOP (4)
31
36
#define GPIO0 (GPIO_PIN(PORT_GPIO, 0))
37
#define GPIO1 (GPIO_PIN(PORT_GPIO, 1))
38
#define GPIO2 (GPIO_PIN(PORT_GPIO, 2))
39
#define GPIO3 (GPIO_PIN(PORT_GPIO, 3))
40
#define GPIO4 (GPIO_PIN(PORT_GPIO, 4))
41
#define GPIO5 (GPIO_PIN(PORT_GPIO, 5))
42
#define GPIO6 (GPIO_PIN(PORT_GPIO, 6))
43
#define GPIO7 (GPIO_PIN(PORT_GPIO, 7))
44
#define GPIO8 (GPIO_PIN(PORT_GPIO, 8))
45
#define GPIO9 (GPIO_PIN(PORT_GPIO, 9))
46
#define GPIO10 (GPIO_PIN(PORT_GPIO, 10))
47
#define GPIO11 (GPIO_PIN(PORT_GPIO, 11))
48
#define GPIO12 (GPIO_PIN(PORT_GPIO, 12))
49
#define GPIO13 (GPIO_PIN(PORT_GPIO, 13))
50
#define GPIO14 (GPIO_PIN(PORT_GPIO, 14))
51
#define GPIO15 (GPIO_PIN(PORT_GPIO, 15))
52
#define GPIO16 (GPIO_PIN(PORT_GPIO, 16))
53
#define GPIO17 (GPIO_PIN(PORT_GPIO, 17))
54
#define GPIO18 (GPIO_PIN(PORT_GPIO, 18))
55
#define GPIO19 (GPIO_PIN(PORT_GPIO, 19))
56
#define GPIO20 (GPIO_PIN(PORT_GPIO, 20))
57
#define GPIO21 (GPIO_PIN(PORT_GPIO, 21))
58
#define GPIO22 (GPIO_PIN(PORT_GPIO, 22))
59
#define GPIO23 (GPIO_PIN(PORT_GPIO, 23))
60
#define GPIO24 (GPIO_PIN(PORT_GPIO, 24))
61
#define GPIO25 (GPIO_PIN(PORT_GPIO, 25))
62
#define GPIO26 (GPIO_PIN(PORT_GPIO, 26))
63
#define GPIO27 (GPIO_PIN(PORT_GPIO, 27))
64
#define GPIO28 (GPIO_PIN(PORT_GPIO, 28))
65
#define GPIO29 (GPIO_PIN(PORT_GPIO, 29))
66
#define GPIO30 (GPIO_PIN(PORT_GPIO, 30))
149
#ifdef MODULE_ESP_HW_COUNTER
150
# error "Counter based timers are not supported by ESP32-C6"
151
#endif
152
176
#ifdef __cplusplus
177
}
178
#endif
179
sdkconfig.h
RIOT-OS modification of the bootloader SDK configuration.
Generated on Sat Sep 6 2025 20:14:01 by
1.9.1