Crate esp32c2_hal
source ·Re-exports
pub use embedded_hal as ehal;
Modules
- Analog to digital (ADC) conversion support.
- Common module for analog functions
- Clock Control
- Direct Memory Access Commons
- Reading of eFuses
- Direct Memory Access
- General Purpose I/Os
- I2C Driver
- Interrupt handling - RISCV
- LEDC (LED PWM Controller) peripheral control
- The prelude
- Low level access to RISC-V processors
- Serial Peripheral Interface
- System
- General-purpose timers
- State of the CPU saved when entering exception or interrupt
- UART driver
Macros
Structs
- Uses the
SYSTIMER
peripheral for counting clock cycles, as unfortunately the ESP32-C3 does NOT implement themcycle
CSR, which is how we would normally do this. - Random Number Generator
- RTC Watchdog Timer
- UART driver
Enums
- Enumeration of CPU cores The actual number of available cores depends on the target.
Attribute Macros
- Attribute to declare the entry point of the program