Expand description
You might want to browse the esp-lp-hal documentation on the esp-rs website instead.
The documentation here on docs.rs is built for a single chip only (ESP32-C6, in particular), while on the esp-rs website you can select your exact chip from the list of supported devices. Available peripherals and their APIs change depending on the chip.
Bare-metal (no_std) HAL for the low power and ultra-low power cores found
in some Espressif devices. Where applicable, drivers implement the
[embedded-hal] traits.
§Choosing a device
Depending on your target device, you need to enable the chip feature for that device.
§Feature Flags
debug— Enable debug features in the HAL (used for development).
§Trait Implementation Feature Flags
embedded-hal(enabled by default) — Implement the traits defined in the1.0.0releases ofembedded-halandembedded-hal-nbfor the relevant peripherals.embedded-io— Implement the traits defined inembedded-iofor the relevant peripherals.
Re-exports§
pub use esp32c6_lp as pac;
Modules§
- delay
- Delay driver
- gpio
- General Purpose Input/Output
- i2c
- Inter-Integrated Circuit (I2C)
- prelude
- The prelude
- uart
- Universal Asynchronous Receiver/Transmitter (UART)
Functions§
- wake_
hp_ core - Wake up the HP core