Crate esp32c2_hal
source ·Expand description
no_std
HAL for the ESP32-C2/ESP8684 from Espressif.
Implements a number of the traits defined by the various packages in the embedded-hal repository.
Modules
- Analog to digital (ADC) conversion support.
- Common module for analog functions
- Debug Assistant
- Clock Control
- Direct Memory Access Commons
- Reading of eFuses
- Minimal startup / runtime for RISC-V CPUs from Espressif
- General Purpose I/Os
- I2C Driver
- Interrupt support
- LEDC (LED PWM Controller) peripheral control
- Procedural macros for placing statics and functions into RAM, and for marking interrupt handlers.
- Exclusive peripheral access
- Peripheral instance singletons
- The prelude
- Wireless communication peripheral implementations
- Hardware and Software Reset
- Random number generator driver
- ESP ROM libraries
- Low-power Management
- Secure Hash Algorithm peripheral driver
- Serial Peripheral Interface
- System Control
- System Timer peripheral driver
- General-purpose timers
- State of the CPU saved when entering exception or interrupt
- UART driver
Structs
- Delay driver
- General Purpose Input/Output driver
- Random Number Generator
- Low-power Management
- RTC Watchdog Timer
- SPI peripheral driver
- General-purpose Timer driver
- UART driver
Enums
- Available CPU cores
Functions
- Which core the application is currently executing on
Attribute Macros
- Attribute to declare the entry point of the program