periph_cpu_esp32h2.h File Reference

ESP32-H2 specific peripheral configuration. More...

Detailed Description

ESP32-H2 specific peripheral configuration.

Author
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net

Definition in file periph_cpu_esp32h2.h.

#include "sdkconfig.h"
+ Include dependency graph for periph_cpu_esp32h2.h:

Go to the source code of this file.

#define CLOCK_CORECLOCK   (1000000UL * CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ)
 Mapping configured ESP32-H2 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))
 GPIO0.
 
#define GPIO1   (GPIO_PIN(PORT_GPIO, 1))
 GPIO1.
 
#define GPIO2   (GPIO_PIN(PORT_GPIO, 2))
 GPIO2 MTMS.
 
#define GPIO3   (GPIO_PIN(PORT_GPIO, 3))
 GPIO3 MTDO.
 
#define GPIO4   (GPIO_PIN(PORT_GPIO, 4))
 GPIO4 MTCK.
 
#define GPIO5   (GPIO_PIN(PORT_GPIO, 5))
 GPIO5 MTDI.
 
#define GPIO6   (GPIO_PIN(PORT_GPIO, 6))
 GPIO6 not broken out.
 
#define GPIO7   (GPIO_PIN(PORT_GPIO, 7))
 GPIO7 not broken out.
 
#define GPIO8   (GPIO_PIN(PORT_GPIO, 8))
 GPIO8.
 
#define GPIO9   (GPIO_PIN(PORT_GPIO, 9))
 GPIO9.
 
#define GPIO10   (GPIO_PIN(PORT_GPIO, 10))
 GPIO10.
 
#define GPIO11   (GPIO_PIN(PORT_GPIO, 11))
 GPIO11.
 
#define GPIO12   (GPIO_PIN(PORT_GPIO, 12))
 GPIO12.
 
#define GPIO13   (GPIO_PIN(PORT_GPIO, 13))
 GPIO13 XTAL_32K_P.
 
#define GPIO14   (GPIO_PIN(PORT_GPIO, 14))
 GPIO14 XTAL_32K_N.
 
#define GPIO15   (GPIO_PIN(PORT_GPIO, 15))
 GPIO15 not broken out (internal flash)
 
#define GPIO16   (GPIO_PIN(PORT_GPIO, 16))
 GPIO16 not broken out (internal flash)
 
#define GPIO17   (GPIO_PIN(PORT_GPIO, 17))
 GPIO17 not broken out (internal flash)
 
#define GPIO18   (GPIO_PIN(PORT_GPIO, 18))
 GPIO18 not broken out (internal flash)
 
#define GPIO19   (GPIO_PIN(PORT_GPIO, 19))
 GPIO19 not broken out (internal flash)
 
#define GPIO20   (GPIO_PIN(PORT_GPIO, 20))
 GPIO20 not broken out (internal flash)
 
#define GPIO21   (GPIO_PIN(PORT_GPIO, 21))
 GPIO21 not broken out (internal flash)
 
#define GPIO22   (GPIO_PIN(PORT_GPIO, 22))
 GPIO22.
 
#define GPIO23   (GPIO_PIN(PORT_GPIO, 23))
 GPIO23 U0RXD.
 
#define GPIO24   (GPIO_PIN(PORT_GPIO, 24))
 GPIO24 U0TXD.
 
#define GPIO25   (GPIO_PIN(PORT_GPIO, 25))
 GPIO25.
 
#define GPIO26   (GPIO_PIN(PORT_GPIO, 26))
 GPIO26.
 
#define GPIO27   (GPIO_PIN(PORT_GPIO, 27))
 GPIO27.