ESP32-C3 specific peripheral configuration. More...
ESP32-C3 specific peripheral configuration.
Definition in file periph_cpu_esp32c3.h.
#include "sdkconfig.h"
Go to the source code of this file.
#define | CLOCK_CORECLOCK (1000000UL * CONFIG_ESP32C3_DEFAULT_CPU_FREQ_MHZ) |
Mapping configured ESP32-C3 default clock to CLOCK_CORECLOCK define. | |
#define | CPU_CYCLES_PER_LOOP (4) |
CPU cycles per busy wait loop. | |
Predefined GPIO names | |
#define | GPIO0 (GPIO_PIN(PORT_GPIO, 0)) |
#define | GPIO1 (GPIO_PIN(PORT_GPIO, 1)) |
#define | GPIO2 (GPIO_PIN(PORT_GPIO, 2)) |
#define | GPIO3 (GPIO_PIN(PORT_GPIO, 3)) |
#define | GPIO4 (GPIO_PIN(PORT_GPIO, 4)) |
#define | GPIO5 (GPIO_PIN(PORT_GPIO, 5)) |
#define | GPIO6 (GPIO_PIN(PORT_GPIO, 6)) |
#define | GPIO7 (GPIO_PIN(PORT_GPIO, 7)) |
#define | GPIO8 (GPIO_PIN(PORT_GPIO, 8)) |
#define | GPIO9 (GPIO_PIN(PORT_GPIO, 9)) |
#define | GPIO10 (GPIO_PIN(PORT_GPIO, 10)) |
#define | GPIO11 (GPIO_PIN(PORT_GPIO, 11)) |
#define | GPIO12 (GPIO_PIN(PORT_GPIO, 12)) |
#define | GPIO13 (GPIO_PIN(PORT_GPIO, 13)) |
#define | GPIO14 (GPIO_PIN(PORT_GPIO, 14)) |
#define | GPIO15 (GPIO_PIN(PORT_GPIO, 15)) |
#define | GPIO16 (GPIO_PIN(PORT_GPIO, 16)) |
#define | GPIO17 (GPIO_PIN(PORT_GPIO, 17)) |
#define | GPIO18 (GPIO_PIN(PORT_GPIO, 18)) |
#define | GPIO19 (GPIO_PIN(PORT_GPIO, 19)) |
#define | GPIO20 (GPIO_PIN(PORT_GPIO, 20)) |
#define | GPIO21 (GPIO_PIN(PORT_GPIO, 21)) |
#define CLOCK_CORECLOCK (1000000UL * CONFIG_ESP32C3_DEFAULT_CPU_FREQ_MHZ) |
Mapping configured ESP32-C3 default clock to CLOCK_CORECLOCK define.
Definition at line 29 of file periph_cpu_esp32c3.h.
#define CPU_CYCLES_PER_LOOP (4) |
CPU cycles per busy wait loop.
Definition at line 34 of file periph_cpu_esp32c3.h.
Definition at line 40 of file periph_cpu_esp32c3.h.
Definition at line 41 of file periph_cpu_esp32c3.h.
Definition at line 50 of file periph_cpu_esp32c3.h.
Definition at line 51 of file periph_cpu_esp32c3.h.
Definition at line 52 of file periph_cpu_esp32c3.h.
Definition at line 53 of file periph_cpu_esp32c3.h.
Definition at line 54 of file periph_cpu_esp32c3.h.
Definition at line 55 of file periph_cpu_esp32c3.h.
Definition at line 56 of file periph_cpu_esp32c3.h.
Definition at line 57 of file periph_cpu_esp32c3.h.
Definition at line 58 of file periph_cpu_esp32c3.h.
Definition at line 59 of file periph_cpu_esp32c3.h.
Definition at line 42 of file periph_cpu_esp32c3.h.
Definition at line 60 of file periph_cpu_esp32c3.h.
Definition at line 61 of file periph_cpu_esp32c3.h.
Definition at line 43 of file periph_cpu_esp32c3.h.
Definition at line 44 of file periph_cpu_esp32c3.h.
Definition at line 45 of file periph_cpu_esp32c3.h.
Definition at line 46 of file periph_cpu_esp32c3.h.
Definition at line 47 of file periph_cpu_esp32c3.h.
Definition at line 48 of file periph_cpu_esp32c3.h.
Definition at line 49 of file periph_cpu_esp32c3.h.