Expand description
§Peripheral instance singletons (ESP32-C6)
§Overview
The Peripherals
module provides singleton instances of various peripherals
and allows users to access and use them in their applications.
These peripherals provide various functionalities and interfaces for
interacting with different hardware components on the ESP32-C6
chip, such
as timers, GPIO
pins, I2C
, SPI
, UART
, and more. Users can access and
utilize these peripherals by importing the respective singleton instances
from this module.
It’s important to note that the module also exports the Interrupt
enum
from the ESP32-C6
PAC (Peripheral Access Crate)
for users to handle
interrupts associated with these peripherals.
⚠️ NOTE: notice that radio
and lp_core
are marked with false
in the
peripherals!
macro. Basically, that means that there’s no real peripheral
(no RADIO
nor LP_CORE
peripheral in the PACs) but we’re
creating “virtual peripherals” for them in order to ensure the uniqueness of
the instances (Singletons).
Structs§
- AES
- APB_
SARADC - ASSIST_
DEBUG - ATOMIC
- BT
- DMA
- DS
- ECC
- EFUSE
- EXTMEM
- GPIO
- GPIO_SD
- HINF
- HMAC
- HP_APM
- HP_SYS
- I2C0
- I2S0
- IEEE802154
- INTERRUPT_
CORE0 - INTPRI
- IO_MUX
- LEDC
- LPWR
- LP_ANA
- LP_AON
- LP_APM
- LP_APM0
- LP_CORE
- LP_I2C0
- LP_
I2C_ ANA_ MST - LP_IO
- LP_PERI
- LP_TEE
- LP_
TIMER - LP_UART
- LP_WDT
- MCPWM0
- MEM_
MONITOR - OTP_
DEBUG - PARL_IO
- PAU
- PCNT
- PMU
- Peripherals
- RMT
- RNG
- RSA
- SHA
- SLCHOST
- SOC_ETM
- SPI0
- SPI1
- SPI2
- SYSTEM
- SYSTIMER
- TEE
- TIMG0
- TIMG1
- TRACE
- TWAI0
- TWAI1
- UART0
- UART1
- UHCI0
- USB_
DEVICE - WIFI
Enums§
- Interrupt
- Enumeration of all the interrupts.