Crate esp32c2_hal

source ·

Re-exports

pub use embedded_hal as ehal;
pub use self::gpio::IO;

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
GPIO Types
I2C Driver
Interrupt handling - RISCV
LEDC (LED PWM Controller) peripheral control
Peripheral access API for ESP32-C2 microcontrollers (generated using svd2rust v0.27.2 ( ))
The prelude
UART driver
Serial Peripheral Interface
System
General-purpose timers

Structs

Uses the SYSTIMER peripheral for counting clock cycles, as unfortunately the ESP32-C3 does NOT implement the mcycle 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.