Skip to main content

Crate esp32c5

Crate esp32c5 

Source
Expand description

Peripheral access API for ESP32-C5 microcontrollers (generated using svd2rust v0.37.1 (f74f0b3 2026-04-17))

You can find an overview of the generated API here.

API features to be included in the next svd2rust release can be generated by cloning the svd2rust repository, checking out the above commit, and running cargo doc --open.

Re-exports§

pub use self::timg0 as timg1;
pub use self::twai0 as twai1;
pub use self::uart0 as uart1;

Modules§

aes
AES (Advanced Encryption Standard) Accelerator
apb_saradc
SAR (Successive Approximation Register) Analog-to-Digital Converter
assist_debug
ASSIST_DEBUG (BUS_MONITOR) Peripheral
bitscrambler
BITSCRAMBLER Peripheral
cache
Cache controller, preload/sync, and performance counters
clic
Core Local Interrupt Controller
clint
Core Local Interrupts
dma
AHB_DMA Peripheral
ds
Digital Signature
ecc
ECC (ECC Hardware Accelerator)
ecdsa
ECDSA (Elliptic Curve Digital Signature Algorithm) Accelerator
efuse
eFuse Controller
generic
Common register and bit access and modify traits
gpio
General Purpose Input/Output
gpio_ext
GPIO_EXT Peripheral
hinf
HINF
hmac
HMAC (Hash-based Message Authentication Code) Accelerator
hp_apm
HP_APM Peripheral
hp_sys
HP_SYSTEM Peripheral
huk
HUK Peripheral
i2c0
I2C (Inter-Integrated Circuit) Controller 0
i2c_ana_mst
I2C_ANA_MST Peripheral
i2s0
I2S (Inter-IC Sound) Controller 0
ieee802154
IEEE802154 Peripheral
interrupt_core0
Interrupt Controller (Core 0)
intpri
INTPRI Peripheral
io_mux
Input/Output Multiplexer
keymng
KEYMNG Peripheral
ledc
LED Control PWM (Pulse Width Modulation)
lp_ana
LP_ANA Peripheral
lp_aon
LP_AON Peripheral
lp_apm
LP_APM Peripheral
lp_apm0
LP_APM0 Peripheral
lp_clkrst
LP_CLKRST Peripheral
lp_i2c0
Low-power I2C (Inter-Integrated Circuit) Controller 0
lp_i2c_ana_mst
LP_I2C_ANA_MST Peripheral
lp_io
LP_IO Peripheral
lp_io_mux
Low-power Input/Output Multiplexer
lp_tee
Low-power Trusted Execution Environment
lp_timer
Low-power Timer
lp_uart
Low-power UART (Universal Asynchronous Receiver-Transmitter) Controller
lp_wdt
Low-power Watchdog Timer
lpperi
LPPERI Peripheral
mcpwm0
Motor Control Pulse-Width Modulation 0
mem_monitor
MEM_MONITOR Peripheral
modem_lpcon
MODEM_LPCON
modem_syscon
MODEM_SYSCON
parl_io
Parallel IO Controller
pau
PAU Peripheral
pcnt
Pulse Count Controller
pcr
PCR Peripheral
pmu
PMU Peripheral
pvt
PVT Peripheral
rmt
Remote Control
rng
Hardware Random Number Generator
rsa
RSA (Rivest Shamir Adleman) Accelerator
sha
SHA (Secure Hash Algorithm) Accelerator
slc
SDIO SLC
soc_etm
Event Task Matrix
spi0
SPI (Serial Peripheral Interface) Controller 0
spi1
SPI (Serial Peripheral Interface) Controller 1
spi2
SPI (Serial Peripheral Interface) Controller 2
systimer
System Timer
tee
TEE Peripheral
timg0
Timer Group 0
trace
RISC-V Trace Encoder
twai0
Two-Wire Automotive Interface
uart0
UART (Universal Asynchronous Receiver-Transmitter) Controller 0
uhci0
Universal Host Controller Interface 0
usb_device
Full-speed USB Serial/JTAG Controller

Enums§

Interrupt
Enumeration of all the interrupts.

Constants§

NVIC_PRIO_BITS
Number available in the NVIC for configuring priority

Type Aliases§

AES
AES (Advanced Encryption Standard) Accelerator
APB_SARADC
SAR (Successive Approximation Register) Analog-to-Digital Converter
ASSIST_DEBUG
ASSIST_DEBUG (BUS_MONITOR) Peripheral
BITSCRAMBLER
BITSCRAMBLER Peripheral
CACHE
Cache controller, preload/sync, and performance counters
CLIC
Core Local Interrupt Controller
CLINT
Core Local Interrupts
DMA
AHB_DMA Peripheral
DS
Digital Signature
ECC
ECC (ECC Hardware Accelerator)
ECDSA
ECDSA (Elliptic Curve Digital Signature Algorithm) Accelerator
EFUSE
eFuse Controller
GPIO
General Purpose Input/Output
GPIO_EXT
GPIO_EXT Peripheral
HINF
HINF
HMAC
HMAC (Hash-based Message Authentication Code) Accelerator
HP_APM
HP_APM Peripheral
HP_SYS
HP_SYSTEM Peripheral
HUK
HUK Peripheral
I2C0
I2C (Inter-Integrated Circuit) Controller 0
I2C_ANA_MST
I2C_ANA_MST Peripheral
I2S0
I2S (Inter-IC Sound) Controller 0
IEEE802154
IEEE802154 Peripheral
INTERRUPT_CORE0
Interrupt Controller (Core 0)
INTPRI
INTPRI Peripheral
IO_MUX
Input/Output Multiplexer
KEYMNG
KEYMNG Peripheral
LEDC
LED Control PWM (Pulse Width Modulation)
LPPERI
LPPERI Peripheral
LP_ANA
LP_ANA Peripheral
LP_AON
LP_AON Peripheral
LP_APM
LP_APM Peripheral
LP_APM0
LP_APM0 Peripheral
LP_CLKRST
LP_CLKRST Peripheral
LP_I2C0
Low-power I2C (Inter-Integrated Circuit) Controller 0
LP_I2C_ANA_MST
LP_I2C_ANA_MST Peripheral
LP_IO
LP_IO Peripheral
LP_IO_MUX
Low-power Input/Output Multiplexer
LP_TEE
Low-power Trusted Execution Environment
LP_TIMER
Low-power Timer
LP_UART
Low-power UART (Universal Asynchronous Receiver-Transmitter) Controller
LP_WDT
Low-power Watchdog Timer
MCPWM0
Motor Control Pulse-Width Modulation 0
MEM_MONITOR
MEM_MONITOR Peripheral
MODEM_LPCON
MODEM_LPCON
MODEM_SYSCON
MODEM_SYSCON
PARL_IO
Parallel IO Controller
PAU
PAU Peripheral
PCNT
Pulse Count Controller
PCR
PCR Peripheral
PMU
PMU Peripheral
PVT
PVT Peripheral
RMT
Remote Control
RNG
Hardware Random Number Generator
RSA
RSA (Rivest Shamir Adleman) Accelerator
SHA
SHA (Secure Hash Algorithm) Accelerator
SLC
SDIO SLC
SOC_ETM
Event Task Matrix
SPI0
SPI (Serial Peripheral Interface) Controller 0
SPI1
SPI (Serial Peripheral Interface) Controller 1
SPI2
SPI (Serial Peripheral Interface) Controller 2
SYSTIMER
System Timer
TEE
TEE Peripheral
TIMG0
Timer Group 0
TIMG1
Timer Group 1
TRACE
RISC-V Trace Encoder
TWAI0
Two-Wire Automotive Interface
TWAI1
Two-Wire Automotive Interface
UART0
UART (Universal Asynchronous Receiver-Transmitter) Controller 0
UART1
UART (Universal Asynchronous Receiver-Transmitter) Controller 1
UHCI0
Universal Host Controller Interface 0
USB_DEVICE
Full-speed USB Serial/JTAG Controller