esp-hal/esp-hal-common
liebman 37466fd9c7
deep sleep api for esp32 (#574)
* deep sleep api for esp32

* move to list of wakeup sources

* improve Ext0WakeupSource - still WIP

* add deep sleep with timer wakeup example
add Ext0 wakeup source (WIP/Non-working)

* removed alloc (using heapless now)

* Sleep: ext0 wakeup working

* add sleep_timer_ext0 example

* API change: move sleep into RTC as sleep, sleep_deep, sleep_light

* fix sleep examples for new API

* sleep only implemented for esp32 at this time

* sleep only implemented for esp32 at this time

* Implement a simple RTCPin trait to support sleep

* implement RTCPin for all xtensa SOC

* cargo fmt & update changelog

* fix change log order (accidentally swaped during rebase)

* implement Drop for Ext0WakeupSource

* added Ext1 wakeup source

* cargo fmt

* healpess was unused, removed

* fix pase macro usage
2023-07-14 15:44:13 +00:00
..
devices Bare-bones support to run code on ULP-RV/LP core (#631) 2023-07-03 16:15:34 +02:00
ld Avoid overlapping .data / .rwtext 2023-06-23 14:16:50 +02:00
src deep sleep api for esp32 (#574) 2023-07-14 15:44:13 +00:00
.gitignore Add SHA accelerator implementation (#257) 2022-11-28 14:20:31 -08:00
build.rs If the embassy feature is enabled, ensure that a time driver implementation is available (#608) 2023-06-21 14:16:07 +01:00
Cargo.toml deep sleep api for esp32 (#574) 2023-07-14 15:44:13 +00:00
README.md Started adding ESP32-H2 support (#482) 2023-05-08 08:03:08 -07:00

esp-hal-common

Crates.io docs.rs Crates.io Matrix

no_std HAL implementations for the peripherals which are common among Espressif devices. Implements a number of the traits defined by embedded-hal.

This crate should not be used directly; you should use one of the device-specific HAL crates instead:

Documentation

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.